Public Member Functions | Private Attributes | List of all members
karto::ScanManager Class Reference

Public Member Functions

void AddRunningScan (LocalizedRangeScan *pScan)
 
void AddScan (LocalizedRangeScan *pScan, kt_int32s uniqueId)
 
void Clear ()
 
LocalizedRangeScanGetLastScan ()
 
LocalizedRangeScanVectorGetRunningScans ()
 
LocalizedRangeScanVectorGetScans ()
 
 ScanManager (kt_int32u runningBufferMaximumSize, kt_double runningBufferMaximumDistance)
 
void SetLastScan (LocalizedRangeScan *pScan)
 
virtual ~ScanManager ()
 

Private Attributes

LocalizedRangeScanm_pLastScan
 
kt_double m_RunningBufferMaximumDistance
 
kt_int32u m_RunningBufferMaximumSize
 
LocalizedRangeScanVector m_RunningScans
 
LocalizedRangeScanVector m_Scans
 

Detailed Description

Manages the scan data for a device

Definition at line 48 of file Mapper.cpp.

Constructor & Destructor Documentation

karto::ScanManager::ScanManager ( kt_int32u  runningBufferMaximumSize,
kt_double  runningBufferMaximumDistance 
)
inline

Default constructor

Definition at line 54 of file Mapper.cpp.

virtual karto::ScanManager::~ScanManager ( )
inlinevirtual

Destructor

Definition at line 64 of file Mapper.cpp.

Member Function Documentation

void karto::ScanManager::AddRunningScan ( LocalizedRangeScan pScan)
inline

Adds scan to vector of running scans

Parameters
pScan

Definition at line 127 of file Mapper.cpp.

void karto::ScanManager::AddScan ( LocalizedRangeScan pScan,
kt_int32s  uniqueId 
)
inline

Adds scan to vector of processed scans tagging scan with given unique id

Parameters
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

Parameters
deviceId
Returns
last localized range scan

Definition at line 91 of file Mapper.cpp.

LocalizedRangeScanVector& karto::ScanManager::GetRunningScans ( )
inline

Gets running scans

Returns
running scans

Definition at line 118 of file Mapper.cpp.

LocalizedRangeScanVector& karto::ScanManager::GetScans ( )
inline

Gets scans

Returns
scans

Definition at line 109 of file Mapper.cpp.

void karto::ScanManager::SetLastScan ( LocalizedRangeScan pScan)
inline

Sets the last scan

Parameters
pScan

Definition at line 100 of file Mapper.cpp.

Member Data Documentation

LocalizedRangeScan* karto::ScanManager::m_pLastScan
private

Definition at line 162 of file Mapper.cpp.

kt_double karto::ScanManager::m_RunningBufferMaximumDistance
private

Definition at line 165 of file Mapper.cpp.

kt_int32u karto::ScanManager::m_RunningBufferMaximumSize
private

Definition at line 164 of file Mapper.cpp.

LocalizedRangeScanVector karto::ScanManager::m_RunningScans
private

Definition at line 161 of file Mapper.cpp.

LocalizedRangeScanVector karto::ScanManager::m_Scans
private

Definition at line 160 of file Mapper.cpp.


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


open_karto
Author(s):
autogenerated on Sat Apr 6 2019 02:22:47