Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
karto::SensorData Class Reference

#include <Karto.h>

Inheritance diagram for karto::SensorData:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void AddCustomData (CustomData *pCustomData)
const CustomDataVectorGetCustomData () const
const NameGetSensorName () 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 SensorDataoperator= (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

Detailed Description

SensorData is a base class for all sensor data

Definition at line 4800 of file Karto.h.


Constructor & Destructor Documentation

Destructor

Definition at line 102 of file Karto.cpp.

karto::SensorData::SensorData ( const Name rSensorName) [protected]

Construct a SensorData object with a sensor name

Definition at line 93 of file Karto.cpp.

karto::SensorData::SensorData ( const SensorData ) [private]

Restrict the copy constructor


Member Function Documentation

void karto::SensorData::AddCustomData ( CustomData pCustomData) [inline]

Add a CustomData object to sensor data

Parameters:
pCustomData

Definition at line 4881 of file Karto.h.

Get all custom data objects assigned to sensor data

Returns:
CustomDataVector&

Definition at line 4890 of file Karto.h.

const Name& karto::SensorData::GetSensorName ( ) const [inline]

Get the sensor that created this sensor data

Returns:
sensor

Definition at line 4872 of file Karto.h.

Gets sensor data id

Returns:
sensor id

Definition at line 4818 of file Karto.h.

Gets sensor data time

Returns:
time

Definition at line 4854 of file Karto.h.

Gets sensor unique id

Returns:
unique id

Definition at line 4836 of file Karto.h.

const SensorData& karto::SensorData::operator= ( const SensorData ) [private]

Restrict the assignment operator

void karto::SensorData::SetStateId ( kt_int32s  stateId) [inline]

Sets sensor data id

Parameters:
stateIdid

Definition at line 4827 of file Karto.h.

void karto::SensorData::SetTime ( kt_double  time) [inline]

Sets sensor data time

Parameters:
time

Definition at line 4863 of file Karto.h.

void karto::SensorData::SetUniqueId ( kt_int32u  uniqueId) [inline]

Sets sensor unique id

Parameters:
uniqueId

Definition at line 4845 of file Karto.h.


Member Data Documentation

Definition at line 4933 of file Karto.h.

Sensor that created this sensor data

Definition at line 4926 of file Karto.h.

ID unique to individual sensor

Definition at line 4916 of file Karto.h.

Time the sensor data was created

Definition at line 4931 of file Karto.h.

ID unique across all sensor data

Definition at line 4921 of file Karto.h.


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


open_karto
Author(s):
autogenerated on Thu Aug 27 2015 14:14:06