Public Member Functions | Private Types | Private Member Functions | Private Attributes
karto::MapperSensorManager Class Reference

#include <Mapper.h>

List of all members.

Public Member Functions

void AddRunningScan (LocalizedRangeScan *pScan)
void AddScan (LocalizedRangeScan *pScan)
void Clear ()
LocalizedRangeScanVector GetAllScans ()
LocalizedRangeScanGetLastScan (const Name &rSensorName)
LocalizedRangeScanVectorGetRunningScans (const Name &rSensorName)
LocalizedRangeScanGetScan (const Name &rSensorName, kt_int32s scanIndex)
LocalizedRangeScanGetScan (kt_int32s id)
LocalizedRangeScanVectorGetScans (const Name &rSensorName)
std::vector< NameGetSensorNames ()
 MapperSensorManager (kt_int32u runningBufferMaximumSize, kt_double runningBufferMaximumDistance)
void RegisterSensor (const Name &rSensorName)
void SetLastScan (LocalizedRangeScan *pScan)
virtual ~MapperSensorManager ()

Private Types

typedef std::map< Name,
ScanManager * > 
ScanManagerMap

Private Member Functions

ScanManagerGetScanManager (LocalizedRangeScan *pScan)
ScanManagerGetScanManager (const Name &rSensorName)

Private Attributes

kt_int32s m_NextScanId
kt_double m_RunningBufferMaximumDistance
kt_int32u m_RunningBufferMaximumSize
ScanManagerMap m_ScanManagers
std::vector< LocalizedRangeScan * > m_Scans

Detailed Description

Manages the devices for the mapper

Definition at line 1188 of file Mapper.h.


Member Typedef Documentation

Definition at line 1190 of file Mapper.h.


Constructor & Destructor Documentation

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

Constructor

Definition at line 1196 of file Mapper.h.

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

Destructor

Definition at line 1206 of file Mapper.h.


Member Function Documentation

Adds scan to running scans of device that recorded scan

Parameters:
pScan

Definition at line 235 of file Mapper.cpp.

Adds scan to scan vector of device that recorded scan

Parameters:
pScan

Definition at line 224 of file Mapper.cpp.

Deletes all scan managers of all devices

Definition at line 281 of file Mapper.cpp.

Gets all scans of all devices

Returns:
all scans of all devices

Definition at line 264 of file Mapper.cpp.

Gets last scan of given sensor

Parameters:
rSensorName
Returns:
last localized range scan of sensor

Gets last scan of given device

Parameters:
pLaserRangeFinder
Returns:
last localized range scan of device

Definition at line 204 of file Mapper.cpp.

Gets running scans of device

Parameters:
rSensorName
Returns:
running scans of device

Definition at line 255 of file Mapper.cpp.

LocalizedRangeScan * karto::MapperSensorManager::GetScan ( const Name rSensorName,
kt_int32s  scanIndex 
)

Gets scan from given sensor with given ID

Parameters:
rSensorName
scanIndex
Returns:
localized range scan

Gets scan from given device with given ID

Parameters:
rSensorName
scanNum
Returns:
localized range scan

Definition at line 187 of file Mapper.cpp.

Gets the scan with the given unique id

Parameters:
id
Returns:
scan

Definition at line 1260 of file Mapper.h.

Get scan manager for localized range scan

Returns:
ScanManager

Definition at line 1309 of file Mapper.h.

ScanManager* karto::MapperSensorManager::GetScanManager ( const Name rSensorName) [inline, private]

Get scan manager for id

Parameters:
rSensorName
Returns:
ScanManager

Definition at line 1319 of file Mapper.h.

Gets scans of device

Parameters:
rSensorName
Returns:
scans of device

Definition at line 245 of file Mapper.cpp.

Gets names of all sensors

Returns:
sensor names

Definition at line 1231 of file Mapper.h.

void karto::MapperSensorManager::RegisterSensor ( const Name rSensorName)

Registers a sensor (with given name); do nothing if device already registered

Parameters:
rSensorName

Definition at line 172 of file Mapper.cpp.

Sets the last scan of device of given scan

Parameters:
pScan

Definition at line 215 of file Mapper.cpp.


Member Data Documentation

Definition at line 1336 of file Mapper.h.

Definition at line 1334 of file Mapper.h.

Definition at line 1333 of file Mapper.h.

Definition at line 1331 of file Mapper.h.

Definition at line 1338 of file Mapper.h.


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


open_karto
Author(s):
autogenerated on Thu Aug 27 2015 14:14:06