#include <Karto.h>
Public Member Functions | |
void | AddCustomData (CustomData *pCustomData) |
const CustomDataVector & | GetCustomData () const |
const Name & | GetSensorName () const |
kt_int32s | GetStateId () const |
kt_double | GetTime () const |
kt_int32s | GetUniqueId () const |
void | SetStateId (kt_int32s stateId) |
void | SetTime (kt_double time) |
void | SetUniqueId (kt_int32u uniqueId) |
virtual | ~SensorData () |
Protected Member Functions | |
SensorData (const Name &rSensorName) | |
Private Member Functions | |
const SensorData & | operator= (const SensorData &) |
SensorData (const SensorData &) | |
Private Attributes | |
CustomDataVector | m_CustomData |
Name | m_SensorName |
kt_int32s | m_StateId |
kt_double | m_Time |
kt_int32s | m_UniqueId |
SensorData is a base class for all sensor data
karto::SensorData::~SensorData | ( | ) | [virtual] |
karto::SensorData::SensorData | ( | const Name & | rSensorName | ) | [protected] |
Construct a SensorData object with a sensor name
karto::SensorData::SensorData | ( | const SensorData & | ) | [private] |
Restrict the copy constructor
void karto::SensorData::AddCustomData | ( | CustomData * | pCustomData | ) | [inline] |
Add a CustomData object to sensor data
pCustomData |
const CustomDataVector& karto::SensorData::GetCustomData | ( | ) | const [inline] |
const Name& karto::SensorData::GetSensorName | ( | ) | const [inline] |
kt_int32s karto::SensorData::GetStateId | ( | ) | const [inline] |
kt_double karto::SensorData::GetTime | ( | ) | const [inline] |
kt_int32s karto::SensorData::GetUniqueId | ( | ) | const [inline] |
const SensorData& karto::SensorData::operator= | ( | const SensorData & | ) | [private] |
Restrict the assignment operator
void karto::SensorData::SetStateId | ( | kt_int32s | stateId | ) | [inline] |
void karto::SensorData::SetTime | ( | kt_double | time | ) | [inline] |
void karto::SensorData::SetUniqueId | ( | kt_int32u | uniqueId | ) | [inline] |
Name karto::SensorData::m_SensorName [private] |
kt_int32s karto::SensorData::m_StateId [private] |
kt_double karto::SensorData::m_Time [private] |
kt_int32s karto::SensorData::m_UniqueId [private] |