The basic interface for all sensors. More...
#include <ci_sensor.h>
Public Types | |
typedef std::map< std::string, CCI_Sensor *, std::less< std::string > > | TMap |
Public Member Functions | |
virtual | ~CCI_Sensor () |
Class destructor. More... | |
virtual void | Init (TConfigurationNode &t_node) |
Initializes the sensor from the XML configuration tree. More... | |
virtual void | Reset () |
Resets the sensor to the state it had just after Init(). More... | |
virtual void | Destroy () |
Destroys the sensor. More... | |
![]() | |
virtual | ~CBaseConfigurableResource () |
Class destructor. More... | |
The basic interface for all sensors.
Definition at line 34 of file ci_sensor.h.
typedef std::map<std::string, CCI_Sensor*, std::less<std::string> > argos::CCI_Sensor::TMap |
Definition at line 38 of file ci_sensor.h.
|
inlinevirtual |
Class destructor.
Definition at line 45 of file ci_sensor.h.
|
inlinevirtual |
Destroys the sensor.
This method is supposed to undo whatever was done in Init(). The default implementation of this method does nothing.
Implements argos::CBaseConfigurableResource.
Reimplemented in argos::CRangeAndBearingMediumSensor, argos::CColoredBlobOmnidirectionalCameraRotZOnlySensor, and argos::CColoredBlobPerspectiveCameraDefaultSensor.
Definition at line 71 of file ci_sensor.h.
|
inlinevirtual |
Initializes the sensor from the XML configuration tree.
The default implementation of this method does nothing.
t_node | The XML configuration tree relative to this sensor. |
Implements argos::CBaseConfigurableResource.
Reimplemented in argos::CCameraDefaultSensor, argos::CPrototypeJointsDefaultSensor, argos::CFootBotDistanceScannerRotZOnlySensor, argos::CFootBotBaseGroundRotZOnlySensor, argos::CFootBotMotorGroundRotZOnlySensor, argos::CBatteryDefaultSensor, argos::CGroundRotZOnlySensor, argos::CEyeBotLightRotZOnlySensor, argos::CFootBotLightRotZOnlySensor, argos::CDifferentialSteeringDefaultSensor, argos::CLightDefaultSensor, argos::CPositioningDefaultSensor, argos::CProximityDefaultSensor, argos::CRangeAndBearingMediumSensor, argos::CEyeBotProximityDefaultSensor, argos::CFootBotProximityDefaultSensor, argos::CRadiosDefaultSensor, argos::CColoredBlobOmnidirectionalCameraRotZOnlySensor, and argos::CColoredBlobPerspectiveCameraDefaultSensor.
Definition at line 54 of file ci_sensor.h.
|
inlinevirtual |
Resets the sensor to the state it had just after Init().
The default implementation of this method does nothing.
Implements argos::CBaseConfigurableResource.
Reimplemented in argos::CPrototypeJointsDefaultSensor, argos::CFootBotDistanceScannerRotZOnlySensor, argos::CFootBotBaseGroundRotZOnlySensor, argos::CFootBotMotorGroundRotZOnlySensor, argos::CBatteryDefaultSensor, argos::CGroundRotZOnlySensor, argos::CEyeBotLightRotZOnlySensor, argos::CFootBotLightRotZOnlySensor, argos::CDifferentialSteeringDefaultSensor, argos::CLightDefaultSensor, argos::CPositioningDefaultSensor, argos::CProximityDefaultSensor, argos::CEyeBotProximityDefaultSensor, argos::CFootBotProximityDefaultSensor, argos::CFootBotTurretEncoderDefaultSensor, argos::CRangeAndBearingMediumSensor, argos::CRadiosDefaultSensor, argos::CColoredBlobOmnidirectionalCameraRotZOnlySensor, and argos::CColoredBlobPerspectiveCameraDefaultSensor.
Definition at line 62 of file ci_sensor.h.