#include <CameraThread.h>
Public Member Functions | |
Camera * | camera () |
CameraRGBD * | cameraRGBD () |
CameraThread (Camera *camera) | |
CameraThread (CameraRGBD *camera) | |
bool | init () |
bool | isCapturing () const |
bool | isPaused () const |
void | setImageRate (float imageRate) |
virtual | ~CameraThread () |
Private Member Functions | |
virtual void | mainLoop () |
Private Attributes | |
Camera * | _camera |
CameraRGBD * | _cameraRGBD |
int | _seq |
Class CameraThread
Definition at line 45 of file CameraThread.h.
rtabmap::CameraThread::CameraThread | ( | Camera * | camera | ) |
Definition at line 40 of file CameraThread.cpp.
rtabmap::CameraThread::CameraThread | ( | CameraRGBD * | camera | ) |
Definition at line 49 of file CameraThread.cpp.
rtabmap::CameraThread::~CameraThread | ( | ) | [virtual] |
Definition at line 57 of file CameraThread.cpp.
Camera* rtabmap::CameraThread::camera | ( | ) | [inline] |
Definition at line 62 of file CameraThread.h.
CameraRGBD* rtabmap::CameraThread::cameraRGBD | ( | ) | [inline] |
Definition at line 63 of file CameraThread.h.
bool rtabmap::CameraThread::init | ( | ) |
Definition at line 82 of file CameraThread.cpp.
bool rtabmap::CameraThread::isCapturing | ( | ) | const [inline] |
Definition at line 59 of file CameraThread.h.
bool rtabmap::CameraThread::isPaused | ( | ) | const [inline] |
Definition at line 58 of file CameraThread.h.
void rtabmap::CameraThread::mainLoop | ( | ) | [private, 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.
Implements UThread.
Definition at line 106 of file CameraThread.cpp.
void rtabmap::CameraThread::setImageRate | ( | float | imageRate | ) |
Definition at line 70 of file CameraThread.cpp.
Camera* rtabmap::CameraThread::_camera [private] |
Definition at line 69 of file CameraThread.h.
CameraRGBD* rtabmap::CameraThread::_cameraRGBD [private] |
Definition at line 70 of file CameraThread.h.
int rtabmap::CameraThread::_seq [private] |
Definition at line 71 of file CameraThread.h.