| |
libFAUDES
Sections
Index
|
faudes::AttributeTimedTrans Class Reference |
Public Member Functions | |
AttributeTimedTrans (void) | |
Constructor. | |
virtual AttributeTimedTrans * | New (void) const |
Construct on heap. | |
virtual bool | IsDefault (void) const |
Test for default value (ie empty constraint and default flags). | |
Public Attributes | |
TimeConstraint | mGuard |
Guard. | |
ClockSet | mResets |
Resets. | |
Protected Member Functions | |
virtual void | DoRead (TokenReader &rTr, const std::string &rLabel="", const Type *pContext=0) |
Reads the attribute from TokenReader, see AttributeVoid for public wrappers. | |
virtual void | DoWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
Writes the attribute to TokenWriter, see AttributeVoid for public wrappers. |
faudes::AttributeTimedTrans::AttributeTimedTrans | ( | void | ) | [inline] |
Constructor.
virtual AttributeTimedTrans* faudes::AttributeTimedTrans::New | ( | void | ) | const [inline, virtual] |
Construct on heap.
Technically not a constructor, this function creates an object with the same type AttributeVoid. It is the callers reponsabilty to delete the object when no longer needed. Derived attribute classes must reimplement this function for container based token io to operate properly.
Reimplemented from faudes::AttributeFlags.
virtual bool faudes::AttributeTimedTrans::IsDefault | ( | void | ) | const [inline, virtual] |
Test for default value (ie empty constraint and default flags).
Reimplemented from faudes::AttributeFlags.
void faudes::AttributeTimedTrans::DoRead | ( | TokenReader & | rTr, | |
const std::string & | rLabel = "" , |
|||
const Type * | pContext = 0 | |||
) | [protected, virtual] |
Reads the attribute from TokenReader, see AttributeVoid for public wrappers.
If the current token indicates a timing section, the method reads the guard and reset timing data from that section. Else it does nothing. Exceptions may only be thrown on invalid data within the timing section. The context argument is ignored, the label argument can be used to override the default section name Timing.
rTr | TokenReader to read from | |
rLabel | Section to read | |
pContext | Read context to provide contextual information |
Exception |
|
Reimplemented from faudes::AttributeFlags.
void faudes::AttributeTimedTrans::DoWrite | ( | TokenWriter & | rTw, | |
const std::string & | rLabel = "" , |
|||
const Type * | pContext = 0 | |||
) | const [protected, virtual] |
Writes the attribute to TokenWriter, see AttributeVoid for public wrappers.
Writes a Timing section to include data on the guard and resets. The label argument can be used to set a section label different the the default Timing. Th context argument is ignored.
rTw | TokenWriter to write to | |
rLabel | Section to write | |
pContext | Write context to provide contextual information |
Exception |
|
Reimplemented from faudes::AttributeFlags.
libFAUDES 2.13a c++ source docu by doxygen 1.5.6