#include <SensorData.h>

Public Member Functions | |
| void | AddCustomItem (CustomItem *pCustomItem) |
| const CustomItemList & | GetCustomItems () const |
| const Identifier & | GetSensorIdentifier () const |
| kt_int32s | GetStateId () const |
| kt_int64s | GetTime () const |
| kt_int32s | GetUniqueId () const |
| kt_bool | HasCustomItem () |
| void | SetSensorIdentifier (const Identifier &rSensorIdentifier) |
| void | SetStateId (kt_int32s stateId) |
| void | SetTime (kt_int64s time) |
| void | SetUniqueId (kt_int32u uniqueId) |
Protected Member Functions | |
| SensorData (const Identifier &rSensorIdentifier) | |
Private Member Functions | |
| KARTO_RTTI () | |
| const SensorData & | operator= (const SensorData &) |
| SensorData (const SensorData &) | |
Private Attributes | |
| SensorDataPrivate * | m_pSensorDataPrivate |
| Identifier | m_SensorIdentifier |
| kt_int32s | m_StateId |
| kt_int64s | m_Time |
| kt_int32s | m_UniqueId |
Base class for all sensor data
Definition at line 64 of file SensorData.h.
| karto::SensorData::SensorData | ( | const Identifier & | rSensorIdentifier | ) | [protected] |
Sensor data from the sensor with the given identifier
| rSensorIdentifier | sensor identifier |
Definition at line 35 of file SensorData.cpp.
| karto::SensorData::SensorData | ( | const SensorData & | ) | [private] |
| void karto::SensorData::AddCustomItem | ( | CustomItem * | pCustomItem | ) |
Adds a custom item to this sensor data
| pCustomItem | custom item |
Definition at line 53 of file SensorData.cpp.
| const CustomItemList & karto::SensorData::GetCustomItems | ( | ) | const |
Gets all custom items assigned to this sensor data
Definition at line 58 of file SensorData.cpp.
| const Identifier& karto::SensorData::GetSensorIdentifier | ( | ) | const [inline] |
Gets the sensor identifier of the sensor that created this sensor data
Definition at line 141 of file SensorData.h.
| kt_int32s karto::SensorData::GetStateId | ( | ) | const [inline] |
| kt_int64s karto::SensorData::GetTime | ( | ) | const [inline] |
| kt_int32s karto::SensorData::GetUniqueId | ( | ) | const [inline] |
Checks if there is a custom item attached to this sensor data
Definition at line 63 of file SensorData.cpp.
| karto::SensorData::KARTO_RTTI | ( | ) | [private] |
Reimplemented from karto::Object.
Reimplemented in karto::LocalizedRangeScan, karto::LocalizedPointScan, karto::LocalizedLaserScan, karto::LocalizedObject, karto::DrivePose, and karto::LaserRangeScan.
| const SensorData& karto::SensorData::operator= | ( | const SensorData & | ) | [private] |
| void karto::SensorData::SetSensorIdentifier | ( | const Identifier & | rSensorIdentifier | ) | [inline] |
Sets the name of the sensor that created this sensor data
| rSensorIdentifier | sensor identifier |
Definition at line 150 of file SensorData.h.
| void karto::SensorData::SetStateId | ( | kt_int32s | stateId | ) | [inline] |
| void karto::SensorData::SetTime | ( | kt_int64s | time | ) | [inline] |
| void karto::SensorData::SetUniqueId | ( | kt_int32u | uniqueId | ) | [inline] |
Sets sensor data unique id
| uniqueId | new unique id |
Definition at line 114 of file SensorData.h.
Definition at line 179 of file SensorData.h.
Name of sensor that created this sensor data
Reimplemented in karto::LocalizedLaserScan.
Definition at line 194 of file SensorData.h.
kt_int32s karto::SensorData::m_StateId [private] |
ID unique to individual sensor
Definition at line 184 of file SensorData.h.
kt_int64s karto::SensorData::m_Time [private] |
Time the sensor data was created
Definition at line 199 of file SensorData.h.
kt_int32s karto::SensorData::m_UniqueId [private] |
ID unique across all sensor data
Definition at line 189 of file SensorData.h.