| |
libFAUDES
Sections
Index
|
faudes::AttributeSignalEvent Class Reference#include <iop_sdevice.h>
Inherits faudes::AttributeDeviceEvent.
Detailed DescriptionConfiguration of a signal based sensor or actuator.This class is derived from the AttributeDeviceEvent to specialise for signal based sensor and actuator mapping. Definition at line 221 of file iop_sdevice.h.
Constructor & Destructor Documentation
Member Function Documentation
Construct on heap. Technically not a constructor, this function creates an object with the same type Type. New() is defined as a virtual function and derived classes are meant to re-implement with the appropiate constructor. This can be done via the provided macros FAUDES_TYPE_DECLARATION and FAUDES_TYPE_IMPLEMENTATION. As with new, it is the callers reponsabilty to delete the object when no longer needed.
Reimplemented from faudes::AttributeDeviceEvent. Definition at line 238 of file iop_sdevice.cpp.
Construct on heap. Technically not a constructor, this function creates an object with the same type Type and the same configuration. Copy() is defined as a virtual function and derived classes are meant to re-implement with the appropiate copy constructor. This can be done via the provided macros FAUDES_TYPE_DECLARATION and FAUDES_TYPE_IMPLEMENTATION. As with new, it is the callers reponsabilty to delete the object when no longer needed.
Reimplemented from faudes::AttributeDeviceEvent. Definition at line 238 of file iop_sdevice.cpp.
Cast other object to this type. Enables the run-time interface to test whether pObject is derived from this object. This feature is used e.g. in the faudes container classes to test attributes. Derived classes must reimplement this function using the appropriate dynamic cast. Re-implementation can be done via the convenience macros FAUDES_TYPE_DECLARATION and FAUDES_TYPE_IMPLEMENTATION.
Reimplemented from faudes::AttributeDeviceEvent. Definition at line 238 of file iop_sdevice.cpp.
Assign configuration data from other object. Derived classes should reimplement this method to first try to cast the source to the respective class. If successful, the protected function DoAssign is invoked to perform the actual assignment. If the cast fails, the Assign method of the parent class is called. Thus, faudes objects are up- and downcatsted for assignment, maintaining as much of the source data as digestable by the destination object. On the downside, there is no sensible typechecking at compile-time. Re-implementation can be done via the convenience macros FAUDES_TYPE_DECLARATION and FAUDES_TYPE_IMPLEMENTATION.
Reimplemented from faudes::AttributeDeviceEvent. Definition at line 238 of file iop_sdevice.cpp.
Test equality of configuration data. Derived classes should reimplement this method to return true if both actual types and configuration data match. The object name is not consired in the test. This method calls the virtual method DoEqual(). Re-implementation can be done via the convenience macros FAUDES_TYPE_DECLARATION and FAUDES_TYPE_IMPLEMENTATION.
Reimplemented from faudes::AttributeDeviceEvent. Definition at line 238 of file iop_sdevice.cpp.
Definition at line 238 of file iop_sdevice.cpp.
Definition at line 238 of file iop_sdevice.cpp.
Definition at line 238 of file iop_sdevice.cpp.
Test for default value (never).
Reimplemented from faudes::AttributeDeviceEvent. Definition at line 234 of file iop_sdevice.h.
Clear.
Reimplemented from faudes::AttributeDeviceEvent. Definition at line 237 of file iop_sdevice.h.
Get actuator mapping.
Reimplemented from faudes::AttributeDeviceEvent. Definition at line 240 of file iop_sdevice.h.
Get sensor mapping.
Reimplemented from faudes::AttributeDeviceEvent. Definition at line 244 of file iop_sdevice.h.
Member Data Documentation
The documentation for this class was generated from the following files: |
libFAUDES 2.14g --- 2009-12-3 --- c++ source docu by doxygen 1.5.6