karto::ScanManager Class Reference

List of all members.

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 (  )  [inline, virtual]

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 152 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

Definition at line 161 of file Mapper.cpp.

Definition at line 164 of file Mapper.cpp.

Definition at line 163 of file Mapper.cpp.

Definition at line 160 of file Mapper.cpp.

Definition at line 159 of file Mapper.cpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


karto
Author(s): SRI International (package maintained by Brian Gerkey)
autogenerated on Fri Jan 11 10:07:06 2013