Public Member Functions | |
void | AddRunningScan (LocalizedRangeScan *pScan) |
void | AddScan (LocalizedRangeScan *pScan, kt_int32s uniqueId) |
void | Clear () |
LocalizedRangeScan * | GetLastScan () |
LocalizedRangeScanVector & | GetRunningScans () |
LocalizedRangeScanVector & | GetScans () |
ScanManager (kt_int32u runningBufferMaximumSize, kt_double runningBufferMaximumDistance) | |
void | SetLastScan (LocalizedRangeScan *pScan) |
virtual | ~ScanManager () |
Private Attributes | |
LocalizedRangeScan * | m_pLastScan |
kt_double | m_RunningBufferMaximumDistance |
kt_int32u | m_RunningBufferMaximumSize |
LocalizedRangeScanVector | m_RunningScans |
LocalizedRangeScanVector | m_Scans |
Manages the scan data for a device
Definition at line 48 of file Mapper.cpp.
karto::ScanManager::ScanManager | ( | kt_int32u | runningBufferMaximumSize, |
kt_double | runningBufferMaximumDistance | ||
) | [inline] |
Default constructor
Definition at line 54 of file Mapper.cpp.
virtual karto::ScanManager::~ScanManager | ( | ) | [inline, virtual] |
Destructor
Definition at line 64 of file Mapper.cpp.
void karto::ScanManager::AddRunningScan | ( | LocalizedRangeScan * | pScan | ) | [inline] |
void karto::ScanManager::AddScan | ( | LocalizedRangeScan * | pScan, |
kt_int32s | uniqueId | ||
) | [inline] |
Adds scan to vector of processed scans tagging scan with given unique id
pScan |
Definition at line 74 of file Mapper.cpp.
void karto::ScanManager::Clear | ( | ) | [inline] |
Deletes data of this buffered device
Definition at line 153 of file Mapper.cpp.
LocalizedRangeScan* karto::ScanManager::GetLastScan | ( | ) | [inline] |
Gets last scan
deviceId |
Definition at line 91 of file Mapper.cpp.
LocalizedRangeScanVector& karto::ScanManager::GetRunningScans | ( | ) | [inline] |
LocalizedRangeScanVector& karto::ScanManager::GetScans | ( | ) | [inline] |
void karto::ScanManager::SetLastScan | ( | LocalizedRangeScan * | pScan | ) | [inline] |
Definition at line 162 of file Mapper.cpp.
Definition at line 165 of file Mapper.cpp.
Definition at line 164 of file Mapper.cpp.
Definition at line 161 of file Mapper.cpp.
Definition at line 160 of file Mapper.cpp.