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 4811 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 4892 of file Karto.h.

Get all custom data objects assigned to sensor data

Returns:
CustomDataVector&

Definition at line 4901 of file Karto.h.

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

Get the sensor that created this sensor data

Returns:
sensor

Definition at line 4883 of file Karto.h.

Gets sensor data id

Returns:
sensor id

Definition at line 4829 of file Karto.h.

Gets sensor data time

Returns:
time

Definition at line 4865 of file Karto.h.

Gets sensor unique id

Returns:
unique id

Definition at line 4847 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 4838 of file Karto.h.

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

Sets sensor data time

Parameters:
time

Definition at line 4874 of file Karto.h.

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

Sets sensor unique id

Parameters:
uniqueId

Definition at line 4856 of file Karto.h.


Member Data Documentation

Definition at line 4944 of file Karto.h.

Sensor that created this sensor data

Definition at line 4937 of file Karto.h.

ID unique to individual sensor

Definition at line 4927 of file Karto.h.

Time the sensor data was created

Definition at line 4942 of file Karto.h.

ID unique across all sensor data

Definition at line 4932 of file Karto.h.


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


open_karto
Author(s):
autogenerated on Tue May 2 2017 02:41:15