Protected Member Functions | Private Member Functions | Private Attributes | List of all members
karto::SensorData Class Reference

#include <SensorData.h>

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

Protected Member Functions

void AddCustomItem (CustomItem *pCustomItem)
 
const CustomItemList & GetCustomItems () const
 
const IdentifierGetSensorIdentifier () const
 
kt_int32s GetStateId () const
 
kt_int64s GetTime () const
 
kt_int32s GetUniqueId () const
 
kt_bool HasCustomItem ()
 
 SensorData (const Identifier &rSensorIdentifier)
 
void SetSensorIdentifier (const Identifier &rSensorIdentifier)
 
void SetStateId (kt_int32s stateId)
 
void SetTime (kt_int64s time)
 
void SetUniqueId (kt_int32u uniqueId)
 
- Protected Member Functions inherited from karto::Object
const IdentifierGetIdentifier () const
 
AbstractParameterGetParameter (const String &rParameterName) const
 
template<typename T >
Parameter< T > * GetParameter (const String &rParameterName) const
 
ParameterList GetParameters ()
 
ParameterSetGetParameterSet ()
 
template<typename T >
void SetParameters (const karto::String &rParameterName, const T &rValue)
 
- Protected Member Functions inherited from karto::Referenced
kt_int32s GetReferenceCount ()
 
kt_int32s Reference () const
 
kt_int32s Unreference () const
 
kt_int32s UnreferenceNoDelete () const
 

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
 

Additional Inherited Members

- Public Member Functions inherited from karto::Object
 Object ()
 
 Object (const Identifier &rIdentifier)
 
- Public Member Functions inherited from karto::Referenced
 Referenced ()
 

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

void karto::SensorData::AddCustomItem ( CustomItem *  pCustomItem)
protected

Adds a custom item to this sensor data

Parameters
pCustomItemcustom item

Definition at line 53 of file SensorData.cpp.

const CustomItemList & karto::SensorData::GetCustomItems ( ) const
protected

Gets all custom items assigned to this sensor data

Returns
list of custom items

Definition at line 58 of file SensorData.cpp.

const Identifier& karto::SensorData::GetSensorIdentifier ( ) const
inlineprotected

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

Returns
sensor identifier

Definition at line 141 of file SensorData.h.

kt_int32s karto::SensorData::GetStateId ( ) const
inlineprotected

public: /** Gets sensor data id

Returns
sensor id

Definition at line 87 of file SensorData.h.

kt_int64s karto::SensorData::GetTime ( ) const
inlineprotected

Gets sensor data time

Returns
time

Definition at line 123 of file SensorData.h.

kt_int32s karto::SensorData::GetUniqueId ( ) const
inlineprotected

Gets sensor data unique id

Returns
unique id

Definition at line 105 of file SensorData.h.

kt_bool karto::SensorData::HasCustomItem ( )
protected

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.

karto::SensorData::KARTO_RTTI ( )
private
const SensorData& karto::SensorData::operator= ( const SensorData )
private
void karto::SensorData::SetSensorIdentifier ( const Identifier rSensorIdentifier)
inlineprotected

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)
inlineprotected

Sets sensor data id

Parameters
stateIdnew id

Definition at line 96 of file SensorData.h.

void karto::SensorData::SetTime ( kt_int64s  time)
inlineprotected

Sets sensor data time

Parameters
timenew time

Definition at line 132 of file SensorData.h.

void karto::SensorData::SetUniqueId ( kt_int32u  uniqueId)
inlineprotected

Sets sensor data unique id

Parameters
uniqueIdnew unique id

Definition at line 114 of file SensorData.h.

Member Data Documentation

SensorDataPrivate* karto::SensorData::m_pSensorDataPrivate
private

Definition at line 179 of file SensorData.h.

Identifier karto::SensorData::m_SensorIdentifier
private

Name of sensor that created this sensor data

Definition at line 194 of file SensorData.h.

kt_int32s karto::SensorData::m_StateId
private

ID unique to individual sensor

Definition at line 184 of file SensorData.h.

kt_int64s karto::SensorData::m_Time
private

Time the sensor data was created

Definition at line 199 of file SensorData.h.

kt_int32s karto::SensorData::m_UniqueId
private

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 Thu Jun 6 2019 19:20:25