#include <Karto.h>
SensorData is a base class for all sensor data
Definition at line 5125 of file Karto.h.
◆ SensorData() [1/3]
karto::SensorData::SensorData |
( |
| ) |
|
|
inline |
◆ ~SensorData()
karto::SensorData::~SensorData |
( |
| ) |
|
|
virtual |
◆ SensorData() [2/3]
karto::SensorData::SensorData |
( |
const Name & |
rSensorName | ) |
|
|
protected |
◆ SensorData() [3/3]
karto::SensorData::SensorData |
( |
const SensorData & |
| ) |
|
|
private |
Restrict the copy constructor
◆ AddCustomData()
void karto::SensorData::AddCustomData |
( |
CustomData * |
pCustomData | ) |
|
|
inline |
◆ GetCustomData()
Get all custom data objects assigned to sensor data
- Returns
- CustomDataVector&
Definition at line 5217 of file Karto.h.
◆ GetSensorName()
const Name& karto::SensorData::GetSensorName |
( |
| ) |
const |
|
inline |
Get the sensor that created this sensor data
- Returns
- sensor
Definition at line 5199 of file Karto.h.
◆ GetStateId()
kt_int32s karto::SensorData::GetStateId |
( |
| ) |
const |
|
inline |
Gets sensor data id
- Returns
- sensor id
Definition at line 5145 of file Karto.h.
◆ GetTime()
kt_double karto::SensorData::GetTime |
( |
| ) |
const |
|
inline |
Gets sensor data time
- Returns
- time
Definition at line 5181 of file Karto.h.
◆ GetUniqueId()
kt_int32s karto::SensorData::GetUniqueId |
( |
| ) |
const |
|
inline |
Gets sensor unique id
- Returns
- unique id
Definition at line 5163 of file Karto.h.
◆ operator=()
Restrict the assignment operator
◆ serialize()
template<class Archive >
void karto::SensorData::serialize |
( |
Archive & |
ar, |
|
|
const unsigned int |
version |
|
) |
| |
|
inlineprivate |
◆ SetStateId()
void karto::SensorData::SetStateId |
( |
kt_int32s |
stateId | ) |
|
|
inline |
Sets sensor data id
- Parameters
-
Definition at line 5154 of file Karto.h.
◆ SetTime()
void karto::SensorData::SetTime |
( |
kt_double |
time | ) |
|
|
inline |
Sets sensor data time
- Parameters
-
Definition at line 5190 of file Karto.h.
◆ SetUniqueId()
void karto::SensorData::SetUniqueId |
( |
kt_int32u |
uniqueId | ) |
|
|
inline |
Sets sensor unique id
- Parameters
-
Definition at line 5172 of file Karto.h.
◆ boost::serialization::access
friend class boost::serialization::access |
|
friend |
◆ m_CustomData
◆ m_SensorName
Name karto::SensorData::m_SensorName |
|
private |
◆ m_StateId
ID unique to individual sensor
Definition at line 5243 of file Karto.h.
◆ m_Time
Time the sensor data was created
Definition at line 5258 of file Karto.h.
◆ m_UniqueId
ID unique across all sensor data
Definition at line 5248 of file Karto.h.
The documentation for this class was generated from the following files: