Public Types | Public Member Functions | Private Attributes | List of all members
rtabmap::EnvSensor Class Reference

#include <EnvSensor.h>

Public Types

enum  Type {
  kUndefined = 0, kWifiSignalStrength, kAmbientTemperature, kAmbientAirPressure,
  kAmbientLight, kAmbientRelativeHumidity, kCustomSensor1 = 100, kCustomSensor2,
  kCustomSensor3, kCustomSensor4, kCustomSensor5, kCustomSensor6,
  kCustomSensor7, kCustomSensor8, kCustomSensor9
}
 

Public Member Functions

 EnvSensor ()
 
 EnvSensor (const Type &type, const double &value, const double &stamp=0)
 
const double & stamp () const
 
const Typetype () const
 
const double & value () const
 
virtual ~EnvSensor ()
 

Private Attributes

double stamp_
 
Type type_
 
double value_
 

Detailed Description

Definition at line 33 of file EnvSensor.h.

Member Enumeration Documentation

◆ Type

Enumerator
kUndefined 
kWifiSignalStrength 
kAmbientTemperature 
kAmbientAirPressure 
kAmbientLight 
kAmbientRelativeHumidity 
kCustomSensor1 
kCustomSensor2 
kCustomSensor3 
kCustomSensor4 
kCustomSensor5 
kCustomSensor6 
kCustomSensor7 
kCustomSensor8 
kCustomSensor9 

Definition at line 36 of file EnvSensor.h.

Constructor & Destructor Documentation

◆ EnvSensor() [1/2]

rtabmap::EnvSensor::EnvSensor ( )
inline

Definition at line 58 of file EnvSensor.h.

◆ EnvSensor() [2/2]

rtabmap::EnvSensor::EnvSensor ( const Type type,
const double &  value,
const double &  stamp = 0 
)
inline

Definition at line 63 of file EnvSensor.h.

◆ ~EnvSensor()

virtual rtabmap::EnvSensor::~EnvSensor ( )
inlinevirtual

Definition at line 69 of file EnvSensor.h.

Member Function Documentation

◆ stamp()

const double& rtabmap::EnvSensor::stamp ( ) const
inline

Definition at line 73 of file EnvSensor.h.

◆ type()

const Type& rtabmap::EnvSensor::type ( ) const
inline

Definition at line 71 of file EnvSensor.h.

◆ value()

const double& rtabmap::EnvSensor::value ( ) const
inline

Definition at line 72 of file EnvSensor.h.

Member Data Documentation

◆ stamp_

double rtabmap::EnvSensor::stamp_
private

Definition at line 78 of file EnvSensor.h.

◆ type_

Type rtabmap::EnvSensor::type_
private

Definition at line 76 of file EnvSensor.h.

◆ value_

double rtabmap::EnvSensor::value_
private

Definition at line 77 of file EnvSensor.h.


The documentation for this class was generated from the following file:


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Jan 23 2023 03:39:00