#include <Mapper.h>
typedef std::map<Name, ScanManager*> karto::MapperSensorManager::ScanManagerMap [private] |
karto::MapperSensorManager::MapperSensorManager | ( | kt_int32u | runningBufferMaximumSize, |
kt_double | runningBufferMaximumDistance | ||
) | [inline] |
virtual karto::MapperSensorManager::~MapperSensorManager | ( | ) | [inline, virtual] |
void karto::MapperSensorManager::AddRunningScan | ( | LocalizedRangeScan * | pScan | ) | [inline] |
Adds scan to running scans of device that recorded scan
pScan |
Definition at line 235 of file Mapper.cpp.
void karto::MapperSensorManager::AddScan | ( | LocalizedRangeScan * | pScan | ) |
Adds scan to scan vector of device that recorded scan
pScan |
Definition at line 224 of file Mapper.cpp.
void karto::MapperSensorManager::Clear | ( | ) |
Deletes all scan managers of all devices
Definition at line 281 of file Mapper.cpp.
Gets all scans of all devices
Definition at line 264 of file Mapper.cpp.
LocalizedRangeScan * karto::MapperSensorManager::GetLastScan | ( | const Name & | rSensorName | ) | [inline] |
Gets last scan of given sensor
rSensorName |
Gets last scan of given device
pLaserRangeFinder |
Definition at line 204 of file Mapper.cpp.
LocalizedRangeScanVector & karto::MapperSensorManager::GetRunningScans | ( | const Name & | rSensorName | ) | [inline] |
Gets running scans of device
rSensorName |
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
rSensorName | |
scanIndex |
Gets scan from given device with given ID
rSensorName | |
scanNum |
Definition at line 187 of file Mapper.cpp.
LocalizedRangeScan* karto::MapperSensorManager::GetScan | ( | kt_int32s | id | ) | [inline] |
ScanManager* karto::MapperSensorManager::GetScanManager | ( | LocalizedRangeScan * | pScan | ) | [inline, private] |
Get scan manager for localized range scan
ScanManager* karto::MapperSensorManager::GetScanManager | ( | const Name & | rSensorName | ) | [inline, private] |
LocalizedRangeScanVector & karto::MapperSensorManager::GetScans | ( | const Name & | rSensorName | ) | [inline] |
Gets scans of device
rSensorName |
Definition at line 245 of file Mapper.cpp.
std::vector<Name> karto::MapperSensorManager::GetSensorNames | ( | ) | [inline] |
void karto::MapperSensorManager::RegisterSensor | ( | const Name & | rSensorName | ) |
Registers a sensor (with given name); do nothing if device already registered
rSensorName |
Definition at line 172 of file Mapper.cpp.
void karto::MapperSensorManager::SetLastScan | ( | LocalizedRangeScan * | pScan | ) | [inline] |
Sets the last scan of device of given scan
pScan |
Definition at line 215 of file Mapper.cpp.
std::vector<LocalizedRangeScan*> karto::MapperSensorManager::m_Scans [private] |