#include <SensorData.h>
Base class for all sensor data
Definition at line 64 of file SensorData.h.
◆ SensorData() [1/2]
karto::SensorData::SensorData |
( |
const Identifier & |
rSensorIdentifier | ) |
|
|
protected |
Sensor data from the sensor with the given identifier
- Parameters
-
rSensorIdentifier | sensor identifier |
Definition at line 35 of file SensorData.cpp.
◆ SensorData() [2/2]
karto::SensorData::SensorData |
( |
const SensorData & |
| ) |
|
|
private |
◆ AddCustomItem()
void karto::SensorData::AddCustomItem |
( |
CustomItem * |
pCustomItem | ) |
|
|
protected |
Adds a custom item to this sensor data
- Parameters
-
Definition at line 53 of file SensorData.cpp.
◆ GetCustomItems()
const CustomItemList & karto::SensorData::GetCustomItems |
( |
| ) |
const |
|
protected |
Gets all custom items assigned to this sensor data
- Returns
- list of custom items
Definition at line 58 of file SensorData.cpp.
◆ GetSensorIdentifier()
const Identifier& karto::SensorData::GetSensorIdentifier |
( |
| ) |
const |
|
inlineprotected |
Gets the sensor identifier of the sensor that created this sensor data
- Returns
- sensor identifier
Definition at line 141 of file SensorData.h.
◆ GetStateId()
kt_int32s karto::SensorData::GetStateId |
( |
| ) |
const |
|
inlineprotected |
public: /** Gets sensor data id
- Returns
- sensor id
Definition at line 87 of file SensorData.h.
◆ GetTime()
kt_int64s karto::SensorData::GetTime |
( |
| ) |
const |
|
inlineprotected |
Gets sensor data time
- Returns
- time
Definition at line 123 of file SensorData.h.
◆ GetUniqueId()
kt_int32s karto::SensorData::GetUniqueId |
( |
| ) |
const |
|
inlineprotected |
Gets sensor data unique id
- Returns
- unique id
Definition at line 105 of file SensorData.h.
◆ HasCustomItem()
kt_bool karto::SensorData::HasCustomItem |
( |
| ) |
|
|
protected |
Checks if there is a custom item attached to this sensor data
- Returns
- true if there is one or more items attached, false otherwise
Definition at line 63 of file SensorData.cpp.
◆ KARTO_RTTI()
karto::SensorData::KARTO_RTTI |
( |
| ) |
|
|
private |
◆ operator=()
◆ SetSensorIdentifier()
void karto::SensorData::SetSensorIdentifier |
( |
const Identifier & |
rSensorIdentifier | ) |
|
|
inlineprotected |
Sets the name of the sensor that created this sensor data
- Parameters
-
rSensorIdentifier | sensor identifier |
Definition at line 150 of file SensorData.h.
◆ SetStateId()
void karto::SensorData::SetStateId |
( |
kt_int32s |
stateId | ) |
|
|
inlineprotected |
Sets sensor data id
- Parameters
-
Definition at line 96 of file SensorData.h.
◆ SetTime()
void karto::SensorData::SetTime |
( |
kt_int64s |
time | ) |
|
|
inlineprotected |
Sets sensor data time
- Parameters
-
Definition at line 132 of file SensorData.h.
◆ SetUniqueId()
void karto::SensorData::SetUniqueId |
( |
kt_int32u |
uniqueId | ) |
|
|
inlineprotected |
Sets sensor data unique id
- Parameters
-
Definition at line 114 of file SensorData.h.
◆ m_pSensorDataPrivate
◆ m_SensorIdentifier
Name of sensor that created this sensor data
Definition at line 194 of file SensorData.h.
◆ m_StateId
ID unique to individual sensor
Definition at line 184 of file SensorData.h.
◆ m_Time
Time the sensor data was created
Definition at line 199 of file SensorData.h.
◆ m_UniqueId
ID unique across all sensor data
Definition at line 189 of file SensorData.h.
The documentation for this class was generated from the following files: