ARGoS
3
A parallel, multi-engine simulator for swarm robotics
|
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. | |
virtual void | Init (TConfigurationNode &t_node) |
Initializes the sensor from the XML configuration tree. | |
virtual void | Reset () |
Resets the sensor to the state it had just after Init(). | |
virtual void | Destroy () |
Destroys the sensor. |
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.
virtual argos::CCI_Sensor::~CCI_Sensor | ( | ) | [inline, virtual] |
Class destructor.
Definition at line 45 of file ci_sensor.h.
virtual void argos::CCI_Sensor::Destroy | ( | ) | [inline, virtual] |
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, and argos::CColoredBlobOmnidirectionalCameraRotZOnlySensor.
Definition at line 71 of file ci_sensor.h.
virtual void argos::CCI_Sensor::Init | ( | TConfigurationNode & | t_node | ) | [inline, virtual] |
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::CFootBotDistanceScannerRotZOnlySensor, argos::CFootBotBaseGroundRotZOnlySensor, argos::CFootBotMotorGroundRotZOnlySensor, argos::CGroundRotZOnlySensor, argos::CFootBotLightRotZOnlySensor, argos::CDifferentialSteeringDefaultSensor, argos::CLightDefaultSensor, argos::CPositioningDefaultSensor, argos::CProximityDefaultSensor, argos::CRangeAndBearingMediumSensor, argos::CFootBotProximityDefaultSensor, and argos::CColoredBlobOmnidirectionalCameraRotZOnlySensor.
Definition at line 54 of file ci_sensor.h.
virtual void argos::CCI_Sensor::Reset | ( | ) | [inline, virtual] |
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::CFootBotDistanceScannerRotZOnlySensor, argos::CFootBotBaseGroundRotZOnlySensor, argos::CFootBotMotorGroundRotZOnlySensor, argos::CGroundRotZOnlySensor, argos::CFootBotLightRotZOnlySensor, argos::CDifferentialSteeringDefaultSensor, argos::CLightDefaultSensor, argos::CPositioningDefaultSensor, argos::CProximityDefaultSensor, argos::CFootBotProximityDefaultSensor, argos::CFootBotTurretEncoderDefaultSensor, argos::CRangeAndBearingMediumSensor, and argos::CColoredBlobOmnidirectionalCameraRotZOnlySensor.
Definition at line 62 of file ci_sensor.h.