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
 KARTO_Object (SensorData)
void SetStateId (kt_int32s id)
void SetTime (kt_double time)
void SetUniqueId (kt_int32u id)
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 4600 of file Karto.h.


Constructor & Destructor Documentation

karto::SensorData::~SensorData (  )  [virtual]

Destructor

Definition at line 102 of file Karto.cpp.

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

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

const CustomDataVector& karto::SensorData::GetCustomData (  )  const [inline]

Get all custom data objects assigned to sensor data

Returns:
CustomDataVector&

Definition at line 4688 of file Karto.h.

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

Get the sensor that created this sensor data

Returns:
sensor

Definition at line 4670 of file Karto.h.

kt_int32s karto::SensorData::GetStateId (  )  const [inline]

Gets sensor data id

Returns:
sensor id

Definition at line 4616 of file Karto.h.

kt_double karto::SensorData::GetTime (  )  const [inline]

Gets sensor data time

Returns:
time

Definition at line 4652 of file Karto.h.

kt_int32s karto::SensorData::GetUniqueId (  )  const [inline]

Gets sensor unique id

Returns:
unique id

Definition at line 4634 of file Karto.h.

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

Restrict the assignment operator

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

Sets sensor data id

Parameters:
sensor id

Definition at line 4625 of file Karto.h.

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

Sets sensor data time

Parameters:
time 

Definition at line 4661 of file Karto.h.

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

Sets sensor unique id

Parameters:
unique id

Definition at line 4643 of file Karto.h.


Member Data Documentation

Definition at line 4728 of file Karto.h.

Sensor that created this sensor data

Definition at line 4721 of file Karto.h.

ID unique to individual sensor

Definition at line 4711 of file Karto.h.

Time the sensor data was created

Definition at line 4726 of file Karto.h.

ID unique across all sensor data

Definition at line 4716 of file Karto.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


karto
Author(s): SRI International (package maintained by Brian Gerkey)
autogenerated on Fri Jan 11 10:07:06 2013