argos::CCI_AltitudeSensor Class Reference

#include <ci_altitude_sensor.h>

Inheritance diagram for argos::CCI_AltitudeSensor:
Collaboration diagram for argos::CCI_AltitudeSensor:

Public Member Functions

 CCI_AltitudeSensor ()
 
virtual ~CCI_AltitudeSensor ()
 
Real GetReading () const
 Returns the current altitude. 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

Real m_fReading
 

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_altitude_sensor.h.

Constructor & Destructor Documentation

◆ CCI_AltitudeSensor()

argos::CCI_AltitudeSensor::CCI_AltitudeSensor ( )

◆ ~CCI_AltitudeSensor()

virtual argos::CCI_AltitudeSensor::~CCI_AltitudeSensor ( )
inlinevirtual

Definition at line 25 of file ci_altitude_sensor.h.

Member Function Documentation

◆ GetReading()

Real argos::CCI_AltitudeSensor::GetReading ( ) const

Returns the current altitude.

Definition at line 38 of file ci_altitude_sensor.cpp.

Member Data Documentation

◆ m_fReading

Real argos::CCI_AltitudeSensor::m_fReading
protected

Definition at line 39 of file ci_altitude_sensor.h.