Public Member Functions | Protected Member Functions | Private Attributes
rtabmap::DBReader Class Reference

#include <DBReader.h>

Inheritance diagram for rtabmap::DBReader:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DBReader (const std::string &databasePath, float frameRate=0.0f, bool odometryIgnored=false, bool ignoreGoalDelay=false)
 DBReader (const std::list< std::string > &databasePaths, float frameRate=0.0f, bool odometryIgnored=false, bool ignoreGoalDelay=false)
SensorData getNextData ()
bool init (int startIndex=0)
void setFrameRate (float frameRate)
virtual ~DBReader ()

Protected Member Functions

virtual void mainLoop ()
virtual void mainLoopBegin ()

Private Attributes

std::set< int >::iterator _currentId
DBDriver_dbDriver
float _frameRate
std::set< int > _ids
bool _ignoreGoalDelay
bool _odometryIgnored
std::list< std::string > _paths
double _previousStamp
UTimer _timer

Detailed Description

Definition at line 48 of file DBReader.h.


Constructor & Destructor Documentation

rtabmap::DBReader::DBReader ( const std::string &  databasePath,
float  frameRate = 0.0f,
bool  odometryIgnored = false,
bool  ignoreGoalDelay = false 
)

Definition at line 45 of file DBReader.cpp.

rtabmap::DBReader::DBReader ( const std::list< std::string > &  databasePaths,
float  frameRate = 0.0f,
bool  odometryIgnored = false,
bool  ignoreGoalDelay = false 
)

Definition at line 58 of file DBReader.cpp.

Definition at line 71 of file DBReader.cpp.


Member Function Documentation

Definition at line 240 of file DBReader.cpp.

bool rtabmap::DBReader::init ( int  startIndex = 0)

Definition at line 80 of file DBReader.cpp.

void rtabmap::DBReader::mainLoop ( ) [protected, virtual]

Pure virtual method mainLoop(). The inner loop of the thread. This method is called repetitively until the thread is killed. Note that if kill() is called in mainLoopBegin(), mainLoop() is not called, terminating immediately the thread.

See also:
mainLoop()
kill()

Implements UThread.

Definition at line 149 of file DBReader.cpp.

void rtabmap::DBReader::mainLoopBegin ( ) [protected, virtual]

Virtual method mainLoopBegin(). User can implement this function to add a behavior before the main loop is started. It is called once (before entering mainLoop()).

Reimplemented from UThread.

Definition at line 144 of file DBReader.cpp.

void rtabmap::DBReader::setFrameRate ( float  frameRate)

Definition at line 139 of file DBReader.cpp.


Member Data Documentation

std::set<int>::iterator rtabmap::DBReader::_currentId [private]

Definition at line 77 of file DBReader.h.

Definition at line 74 of file DBReader.h.

Definition at line 70 of file DBReader.h.

std::set<int> rtabmap::DBReader::_ids [private]

Definition at line 76 of file DBReader.h.

Definition at line 72 of file DBReader.h.

Definition at line 71 of file DBReader.h.

std::list<std::string> rtabmap::DBReader::_paths [private]

Definition at line 69 of file DBReader.h.

Definition at line 78 of file DBReader.h.

Definition at line 75 of file DBReader.h.


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


rtabmap
Author(s): Mathieu Labbe
autogenerated on Fri Aug 28 2015 12:51:44