argos::CCI_EyeBotLightSensor Class Reference

#include <ci_eyebot_light_sensor.h>

Inheritance diagram for argos::CCI_EyeBotLightSensor:
Collaboration diagram for argos::CCI_EyeBotLightSensor:

Classes

struct  SReading
 The DTO of the light sensor. More...
 

Public Types

typedef std::vector< SReadingTReadings
 
- Public Types inherited from argos::CCI_Sensor
typedef std::map< std::string, CCI_Sensor *, std::less< std::string > > TMap
 

Public Member Functions

 CCI_EyeBotLightSensor ()
 
virtual ~CCI_EyeBotLightSensor ()
 
const TReadingsGetReadings () const
 Returns the readings of this sensor. More...
 
- Public Member Functions inherited from argos::CCI_Sensor
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 void Enable ()
 Enables updating of sensor information in the event loop. More...
 
virtual void Disable ()
 Disables updating of sensor information in the event loop. More...
 
bool IsEnabled () const
 
bool IsDisabled () const
 
- Public Member Functions inherited from argos::CBaseConfigurableResource
virtual ~CBaseConfigurableResource ()
 Class destructor. More...
 

Protected Attributes

TReadings m_tReadings
 

Detailed Description

Definition at line 45 of file ci_eyebot_light_sensor.h.

Member Typedef Documentation

◆ TReadings

Definition at line 66 of file ci_eyebot_light_sensor.h.

Constructor & Destructor Documentation

◆ CCI_EyeBotLightSensor()

argos::CCI_EyeBotLightSensor::CCI_EyeBotLightSensor ( )

Definition at line 24 of file ci_eyebot_light_sensor.cpp.

◆ ~CCI_EyeBotLightSensor()

virtual argos::CCI_EyeBotLightSensor::~CCI_EyeBotLightSensor ( )
inlinevirtual

Definition at line 71 of file ci_eyebot_light_sensor.h.

Member Function Documentation

◆ GetReadings()

const CCI_EyeBotLightSensor::TReadings & argos::CCI_EyeBotLightSensor::GetReadings ( ) const

Returns the readings of this sensor.

Definition at line 35 of file ci_eyebot_light_sensor.cpp.

Member Data Documentation

◆ m_tReadings

TReadings argos::CCI_EyeBotLightSensor::m_tReadings
protected

Definition at line 86 of file ci_eyebot_light_sensor.h.