argos::CCI_FootBotLightSensor Class Reference

#include <ci_footbot_light_sensor.h>

Inheritance diagram for argos::CCI_FootBotLightSensor:
Collaboration diagram for argos::CCI_FootBotLightSensor:

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_FootBotLightSensor ()
 
virtual ~CCI_FootBotLightSensor ()
 
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_footbot_light_sensor.h.

Member Typedef Documentation

◆ TReadings

Definition at line 66 of file ci_footbot_light_sensor.h.

Constructor & Destructor Documentation

◆ CCI_FootBotLightSensor()

argos::CCI_FootBotLightSensor::CCI_FootBotLightSensor ( )

Definition at line 24 of file ci_footbot_light_sensor.cpp.

◆ ~CCI_FootBotLightSensor()

virtual argos::CCI_FootBotLightSensor::~CCI_FootBotLightSensor ( )
inlinevirtual

Definition at line 71 of file ci_footbot_light_sensor.h.

Member Function Documentation

◆ GetReadings()

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

Returns the readings of this sensor.

Definition at line 35 of file ci_footbot_light_sensor.cpp.

Member Data Documentation

◆ m_tReadings

TReadings argos::CCI_FootBotLightSensor::m_tReadings
protected

Definition at line 86 of file ci_footbot_light_sensor.h.