Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
SensorInfo Struct ReferenceBase class for sensor descriptions, actual subclass name stored in sensorType. More...
Inheritance diagram for SensorInfo:
Detailed DescriptionBase class for sensor descriptions, actual subclass name stored in sensorType. Definition at line 10 of file SensorInfo.h.
Constructor & Destructor Documentation
Constructor, pass the name of the subclass, minus the "Sensor" prefix — this is used to recreate the subtype via a factory (so you should also do the autoRegister thing and pass that here). Definition at line 25 of file SensorInfo.h.
Copy constructor for cloning. Definition at line 27 of file SensorInfo.h. Member Function Documentation
clone implementation for Dictionary implements the clone function for dictionary Reimplemented from plist::DictionaryOf< PO, Alloc >. Implemented in SensorRangeFinder, SensorContact, SensorFeedback, GPSSensor, and OdometrySensor.
Subclass should add name/value pairs to the dictionary to allow variable number of values per Sensor, as well as fast filtering and serialization to subscribers. A reference to a permanent plist::Primitive<float> instance should be added, this is how values are extracted from the sensor via this shared value. Implemented in SensorRangeFinder, SensorContact, SensorFeedback, GPSSensor, and OdometrySensor.
performs common initialization Reimplemented in SensorRangeFinder, SensorContact, SensorFeedback, GPSSensor, and OdometrySensor. Definition at line 29 of file SensorInfo.h. Referenced by SensorInfo().
Subclass should remove values added via previous declareValues(). Implemented in SensorRangeFinder, SensorContact, SensorFeedback, GPSSensor, and OdometrySensor. Member Data Documentation
Name of sensor class, with "Sensor" prefix removed; see KinematicJoint::SensorInfo subclasses. Definition at line 19 of file SensorInfo.h. Referenced by init(). The documentation for this struct was generated from the following file: |
Tekkotsu v5.1CVS |
Generated Mon May 9 04:59:16 2016 by Doxygen 1.6.3 |