The basic interface for a simulated sensor. More...
#include <sensor.h>

Public Member Functions | |
| virtual | ~CSimulatedSensor () | 
| Class destructor.  More... | |
| virtual void | SetRobot (CComposableEntity &c_entity)=0 | 
| Sets the entity associated to this sensor.  More... | |
| virtual void | Update ()=0 | 
| Updates the state of the entity associated to this sensor.  More... | |
The basic interface for a simulated sensor.
To implement the simulated model of an sensor, you must define a class that inherits from both the control interface and this class.
      
  | 
  inlinevirtual | 
      
  | 
  pure virtual | 
Sets the entity associated to this sensor.
When a controller is created, all the sensors and actuators are created, too. This function is called right before the Init() method of the sensor is called. 
| c_entity | The entity to associate to this sensor. | 
Implemented 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::CFootBotTurretEncoderDefaultSensor, argos::CEyeBotProximityDefaultSensor, argos::CFootBotProximityDefaultSensor, argos::CRadiosDefaultSensor, argos::CColoredBlobOmnidirectionalCameraRotZOnlySensor, and argos::CColoredBlobPerspectiveCameraDefaultSensor.
      
  | 
  pure virtual | 
Updates the state of the entity associated to this sensor.
Implemented 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::CFootBotTurretEncoderDefaultSensor, argos::CRadiosDefaultSensor, argos::CColoredBlobOmnidirectionalCameraRotZOnlySensor, and argos::CColoredBlobPerspectiveCameraDefaultSensor.