Configuration of a networked input or output.
This class is derived from the AttributeDeviceEvent to specialise for networked input and output mapping.
Definition at line 251 of file iop_simplenet.h.
|
| AttributeSimplenetEvent (void) |
| Default constructor (no mapping at all) More...
|
|
| AttributeSimplenetEvent (const AttributeSimplenetEvent &rOtherAttr) |
| Copy constructor. More...
|
|
virtual bool | IsDefault (void) const |
| Test for default value (never) More...
|
|
virtual void | Clear (void) |
| Clear. More...
|
|
const AttributeSimplenetOutput * | Outputp (void) const |
| Get output mapping. More...
|
|
const AttributeSimplenetInput * | Inputp (void) const |
| Get input mapping. More...
|
|
| AttributeDeviceEvent (void) |
| Default constructor (no attributes, aka undefined) More...
|
|
| AttributeDeviceEvent (const AttributeDeviceEvent &rOtherAttr) |
| Copy constructor. More...
|
|
virtual | ~AttributeDeviceEvent (void) |
| Destructor. More...
|
|
bool | IsOutput (void) const |
| Does this attribute define an output mapping? More...
|
|
bool | IsInput (void) const |
| Does this attribute define a input mapping? More...
|
|
void | DefaultOutput (void) |
| Set to default output attribute. More...
|
|
void | DefaultInput (void) |
| Set to default input attribute. More...
|
|
virtual void | Output (const AttributeVoid &rOutputAttribute) |
| Set output attribute. More...
|
|
virtual void | Input (const AttributeVoid &rInputAttribute) |
| Set input attribute. More...
|
|
virtual void | ReadOutput (TokenReader &rTr) |
| Read output attribute. More...
|
|
virtual void | ReadInput (TokenReader &rTr) |
| Read input attribute. More...
|
|
const AttributeVoid * | Outputp (void) const |
| Get output mapping (return 0 if its not an output) More...
|
|
const AttributeVoid * | Inputp (void) const |
| Get input mapping (return 0 if its not a input) More...
|
|
| AttributeVoid (void) |
| Constructor. More...
|
|
| AttributeVoid (const AttributeVoid &rSrcAttr) |
| Copy Constructor. More...
|
|
virtual | ~AttributeVoid (void) |
| Destructor. More...
|
|
virtual void | SetDefault (void) |
| Set to default value. More...
|
|
| Type (void) |
| Constructor. More...
|
|
| Type (const Type &rType) |
| Copy constructor. More...
|
|
virtual | ~Type (void) |
| Destructor. More...
|
|
virtual Type * | New (void) const |
| Construct on heap. More...
|
|
virtual Type * | Copy (void) const |
| Construct on heap. More...
|
|
virtual const Type * | Cast (const Type *pOther) const |
| Cast other object to this type. More...
|
|
virtual Type & | Assign (const Type &rSrc) |
| Assign configuration data from other object. More...
|
|
virtual Type & | operator= (const Type &rSrc) |
| Assign configurationdata from other object. More...
|
|
virtual bool | Equal (const Type &rOther) const |
| Test equality of configuration data. More...
|
|
virtual bool | operator== (const Type &rOther) const |
| Test equality of configuration data. More...
|
|
virtual bool | operator!= (const Type &rOther) const |
| Test equality of configuration data. More...
|
|
virtual void | Name (const std::string &rName) |
| Set the objects's name. More...
|
|
virtual const std::string & | Name (void) const |
| Get objects's name. More...
|
|
virtual const std::string & | TypeName (void) const |
| Get objects's type name. More...
|
|
void | Write (const Type *pContext=0) const |
| Write configuration data to console. More...
|
|
void | Write (const std::string &pFileName, const std::string &rLabel="", const Type *pContext=0, std::ios::openmode openmode=std::ios::out|std::ios::trunc) const |
| Write configuration data to a file. More...
|
|
void | Write (const std::string &pFileName, std::ios::openmode openmode) const |
| Write configuration data to a file. More...
|
|
void | Write (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
| Write configuration data to TokenWriter. More...
|
|
virtual void | XWrite (const std::string &pFileName, const std::string &rLabel="", const Type *pContext=0) const |
| Write configuration data to an XML file. More...
|
|
void | XWrite (const Type *pContext=0) const |
| Write configuration data in XML format to concole Note: this write function uses the virtual function DoXWrite(), to be reimplemented by derived classes. More...
|
|
void | XWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
| Write configuration data in XML format to TokenWriter. More...
|
|
std::string | ToString (const std::string &rLabel="", const Type *pContext=0) const |
| Write configuration data to a string. More...
|
|
std::string | ToText (const std::string &rLabel="", const Type *pContext=0) const |
| Write configuration data to a formated string. More...
|
|
void | DWrite (const Type *pContext=0) const |
| Write configuration data to console, debugging format. More...
|
|
void | DWrite (const std::string &pFileName, const std::string &rLabel="", const Type *pContext=0, std::ios::openmode openmode=std::ios::out|std::ios::trunc) const |
| Write configuration data to a file, debugging format. More...
|
|
void | DWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
| Write configuration data in debug format to TokenWriter. More...
|
|
void | SWrite (TokenWriter &rTw) const |
| Write statistics comment to TokenWriter. More...
|
|
void | SWrite (void) const |
| Write statistics comment to console. More...
|
|
std::string | ToSText (void) const |
| Write statistics to a string. More...
|
|
void | Read (const std::string &rFileName, const std::string &rLabel="", const Type *pContext=0) |
| Read configuration data from file with label specified. More...
|
|
void | FromString (const std::string &rString, const std::string &rLabel="", const Type *pContext=0) |
| Read configuration data from a string. More...
|
|
void | Read (TokenReader &rTr, const std::string &rLabel="", const Type *pContext=0) |
| Read configuration data from TokenReader with label sepcified. More...
|
|
|
void | DoAssign (const AttributeSimplenetEvent &rSrc) |
| DoAssign. More...
|
|
void | DoAssign (const AttributeDeviceEvent &rSrcAttr) |
| Assignment. More...
|
|
virtual void | DoRead (TokenReader &rTr, const std::string &rLabel="", const Type *pContext=0) |
| Reads the attribute from TokenReader, see AttributeVoid for public wrappers. More...
|
|
virtual void | DoWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
| Writes the attribute to TokenWriter, see AttributeVoid for public wrappers. More...
|
|
void | DoAssign (const AttributeVoid &rSrcAttr) |
| Assign attribute members. More...
|
|
bool | DoEqual (const AttributeVoid &rOther) const |
| Test equality of configuration data. More...
|
|
virtual void | DoDWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
| Actual write method to write the attribute to a TokenWriter. More...
|
|
void | DoAssign (const Type &rSrc) |
| Assign configuration data from other object. More...
|
|
bool | DoEqual (const Type &rOther) const |
| Test equality of configuration data. More...
|
|
virtual void | DoXWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
| Write configuration data of this object to TokenWriter in XML format. More...
|
|
virtual void | DoSWrite (TokenWriter &rTw) const |
| Write statistical data as a comment to TokenWriter. More...
|
|
virtual const TypeDefinition * | TypeDefinitionp (void) const |
| Get objects's type definition. More...
|
|
virtual Token | XBeginTag (const std::string &rLabel="", const std::string &rFallbackLabel="") const |
|