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

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

Definition at line 25 of file ci_altitude_sensor.h.

Member Function Documentation

Real argos::CCI_AltitudeSensor::GetReading ( ) const

Returns the current altitude.

Definition at line 38 of file ci_altitude_sensor.cpp.

Member Data Documentation

Real argos::CCI_AltitudeSensor::m_fReading
protected

Definition at line 39 of file ci_altitude_sensor.h.