Public Member Functions | Static Private Member Functions | Private Attributes
karto::SensorDataManager Class Reference

List of all members.

Public Member Functions

void AddObject (LocalizedObject *pObject, kt_int32s uniqueId)
void AddRunningScan (LocalizedLaserScan *pScan)
void Clear ()
LocalizedLaserScanGetLastScan ()
LocalizedObjectListGetObjects ()
LocalizedLaserScanListGetRunningScans ()
kt_int32s GetScanIndex (LocalizedLaserScan *pScan)
LocalizedLaserScanListGetScans ()
 SensorDataManager (kt_int32u runningBufferMaximumSize, kt_double runningBufferMaximumDistance)
void SetLastScan (LocalizedLaserScan *pScan)
virtual ~SensorDataManager ()

Static Private Member Functions

static kt_int32s ScanIndexComparator (const LocalizedLaserScanPtr &pScan1, const LocalizedLaserScanPtr &pScan2)

Private Attributes

LocalizedObjectList m_Objects
LocalizedLaserScanPtr m_pLastScan
kt_double m_RunningBufferMaximumDistance
kt_int32u m_RunningBufferMaximumSize
LocalizedLaserScanList m_RunningScans
LocalizedLaserScanList m_Scans

Detailed Description

Manages the data for a sensor

Definition at line 51 of file OpenMapper.cpp.


Constructor & Destructor Documentation

karto::SensorDataManager::SensorDataManager ( kt_int32u  runningBufferMaximumSize,
kt_double  runningBufferMaximumDistance 
) [inline]

Default constructor

Definition at line 57 of file OpenMapper.cpp.

virtual karto::SensorDataManager::~SensorDataManager ( ) [inline, virtual]

Destructor

Definition at line 67 of file OpenMapper.cpp.


Member Function Documentation

void karto::SensorDataManager::AddObject ( LocalizedObject pObject,
kt_int32s  uniqueId 
) [inline]

Adds objects to list of objects, tagging object with given unique id; if object is a scan, then scan gets added to list of processed scans

Parameters:
pObjectobject
uniqueIdunique id

Definition at line 79 of file OpenMapper.cpp.

Adds scan to list of running scans

Parameters:
pScan

Definition at line 157 of file OpenMapper.cpp.

Deletes data of this buffered sensor

Definition at line 182 of file OpenMapper.cpp.

Gets last scan

Returns:
last localized scan

Definition at line 101 of file OpenMapper.cpp.

Gets objects

Returns:
objects

Definition at line 119 of file OpenMapper.cpp.

Gets running scans

Returns:
running scans

Definition at line 148 of file OpenMapper.cpp.

Gets index of scan in sensor's list of scans

Parameters:
pScan
Returns:
index into scans list; -1 if not found

Definition at line 138 of file OpenMapper.cpp.

Gets scans

Returns:
scans

Definition at line 128 of file OpenMapper.cpp.

static kt_int32s karto::SensorDataManager::ScanIndexComparator ( const LocalizedLaserScanPtr pScan1,
const LocalizedLaserScanPtr pScan2 
) [inline, static, private]

Definition at line 191 of file OpenMapper.cpp.

Sets the last scan

Parameters:
pScan

Definition at line 110 of file OpenMapper.cpp.


Member Data Documentation

Definition at line 197 of file OpenMapper.cpp.

Definition at line 201 of file OpenMapper.cpp.

Definition at line 204 of file OpenMapper.cpp.

Definition at line 203 of file OpenMapper.cpp.

Definition at line 200 of file OpenMapper.cpp.

Definition at line 199 of file OpenMapper.cpp.


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


nav2d_karto
Author(s): Sebastian Kasperski
autogenerated on Mon Oct 6 2014 02:44:18