|
libFAUDES
Sections
Index
|
faudes::AttributeDeviceEvent Class ReferenceAttribute for the configuration of a sensor or actuator mapping. More...
Detailed DescriptionAttribute for the configuration of a sensor or actuator mapping. The base class for all device event attributes only distinguishes between actuator and sensor events. The actual attribute is of type AttributeVoid. Derived classes are meant to override this type in order to provide the defining data for the actual mapping of physical and logical events. Definition at line 66 of file iop_vdevice.h. Constructor & Destructor Documentation
Default constructor (no attributes, aka undefined). Definition at line 47 of file iop_vdevice.cpp.
Copy constructor. Definition at line 58 of file iop_vdevice.cpp.
Destructor. Definition at line 70 of file iop_vdevice.cpp. Member Function Documentation
Set actuator attribute. Definition at line 105 of file iop_vdevice.h.
Get actuator mapping (return 0 if its not an actuator). Reimplemented in faudes::AttributeSignalEvent, and faudes::AttributeSimplenetEvent. Definition at line 117 of file iop_vdevice.h.
Clear. Reimplemented from faudes::AttributeVoid. Reimplemented in faudes::AttributeSignalEvent, and faudes::AttributeSimplenetEvent. Definition at line 76 of file iop_vdevice.cpp.
Set to default actuator attribute. Definition at line 93 of file iop_vdevice.h.
Set to default sensor attribute. Definition at line 99 of file iop_vdevice.h.
Copy method.
Definition at line 84 of file iop_vdevice.cpp.
Reads the attribute from TokenReader, see AttributeVoid for public wrappers. If the current token indicates a "Sensor" or "Actuator" section, the method reads that section. Else it does nothing. Exceptions may only be thrown on invalid data within the section. The label argument is ignored. The context argument is ignored.
Reimplemented from faudes::AttributeVoid. Definition at line 103 of file iop_vdevice.cpp.
Writes the attribute to TokenWriter, see AttributeVoid for public wrappers. Writes all present device event attributes to include the defining data. The label argument is ignored, we use hardcoded lebels "Sensor" or "Actuator". The context argument is ignored.
Reimplemented from faudes::AttributeVoid. Definition at line 96 of file iop_vdevice.cpp.
Does this attribute define an actuator mapping? Definition at line 87 of file iop_vdevice.h.
Test for default value (undefined). Reimplemented from faudes::AttributeVoid. Reimplemented in faudes::AttributeSignalEvent, and faudes::AttributeSimplenetEvent. Definition at line 84 of file iop_vdevice.h.
Does this attribute define a sensor mapping? Definition at line 90 of file iop_vdevice.h.
Set sensor attribute. Definition at line 111 of file iop_vdevice.h.
Get sensor mapping (return 0 if its not a sensor). Reimplemented in faudes::AttributeSignalEvent, and faudes::AttributeSimplenetEvent. Definition at line 120 of file iop_vdevice.h. Member Data DocumentationActuator Attribute (use cast in derived classes). Definition at line 120 of file iop_vdevice.h. Sensor Attribute (use cast in derived classes). Definition at line 129 of file iop_vdevice.h. Actuator Prototype (set to nontrivial attribute in derived classes). Definition at line 132 of file iop_vdevice.h. Sensor Prototype (set to nontrivial attribute in derived classes). Definition at line 135 of file iop_vdevice.h.
Fallback attribute type. Definition at line 138 of file iop_vdevice.h. The documentation for this class was generated from the following files: |
libFAUDES 2.16b --- 2010-9-8 --- c++ source docu by doxygen 1.6.3