argos::CCI_BatterySensor Class Reference

#include <ci_battery_sensor.h>

Inheritance diagram for argos::CCI_BatterySensor:
Collaboration diagram for argos::CCI_BatterySensor:

Classes

struct  SReading
 

Public Member Functions

virtual ~CCI_BatterySensor ()
 
const SReadingGetReading () const
 
- 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

SReading m_sReading
 

Additional Inherited Members

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

Detailed Description

Definition at line 19 of file ci_battery_sensor.h.

Constructor & Destructor Documentation

◆ ~CCI_BatterySensor()

virtual argos::CCI_BatterySensor::~CCI_BatterySensor ( )
inlinevirtual

Definition at line 36 of file ci_battery_sensor.h.

Member Function Documentation

◆ GetReading()

const CCI_BatterySensor::SReading & argos::CCI_BatterySensor::GetReading ( ) const

Definition at line 18 of file ci_battery_sensor.cpp.

Member Data Documentation

◆ m_sReading

SReading argos::CCI_BatterySensor::m_sReading
protected

Definition at line 48 of file ci_battery_sensor.h.