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

#include <SensorData.h>

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

List of all members.

Public Member Functions

void AddCustomItem (CustomItem *pCustomItem)
const CustomItemListGetCustomItems () const
const IdentifierGetSensorIdentifier () 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 SensorDataoperator= (const SensorData &)
 SensorData (const SensorData &)

Private Attributes

SensorDataPrivatem_pSensorDataPrivate
Identifier m_SensorIdentifier
kt_int32s m_StateId
kt_int64s m_Time
kt_int32s m_UniqueId

Detailed Description

Base class for all sensor data

Definition at line 64 of file SensorData.h.


Constructor & Destructor Documentation

karto::SensorData::SensorData ( const Identifier rSensorIdentifier) [protected]

Sensor data from the sensor with the given identifier

Parameters:
rSensorIdentifiersensor identifier

Definition at line 35 of file SensorData.cpp.

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

Member Function Documentation

Adds a custom item to this sensor data

Parameters:
pCustomItemcustom item

Definition at line 53 of file SensorData.cpp.

Gets all custom items assigned to this sensor data

Returns:
list of custom items

Definition at line 58 of file SensorData.cpp.

Gets the sensor identifier of the sensor that created this sensor data

Returns:
sensor identifier

Definition at line 141 of file SensorData.h.

Gets sensor data id

Returns:
sensor id

Definition at line 87 of file SensorData.h.

Gets sensor data time

Returns:
time

Definition at line 123 of file SensorData.h.

Gets sensor data unique id

Returns:
unique id

Definition at line 105 of file SensorData.h.

Checks if there is a custom item attached to this sensor data

Returns:
true if there is one or more items attached, false otherwise

Definition at line 63 of file SensorData.cpp.

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

Parameters:
rSensorIdentifiersensor identifier

Definition at line 150 of file SensorData.h.

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

Sets sensor data id

Parameters:
stateIdnew id

Definition at line 96 of file SensorData.h.

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

Sets sensor data time

Parameters:
timenew time

Definition at line 132 of file SensorData.h.

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

Sets sensor data unique id

Parameters:
uniqueIdnew unique id

Definition at line 114 of file SensorData.h.


Member Data Documentation

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.

ID unique to individual sensor

Definition at line 184 of file SensorData.h.

Time the sensor data was created

Definition at line 199 of file SensorData.h.

ID unique across all sensor data

Definition at line 189 of file SensorData.h.


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


nav2d_karto
Author(s): Sebastian Kasperski
autogenerated on Sun Apr 2 2017 04:05:24