#include <CameraThread.h>
Public Member Functions | |
CCameraThread (int camID, int width, int height) | |
bool | GetImage (IplImage *image) |
void | GetSize (int &width, int &height) |
virtual BOOL | OnTask () |
~CCameraThread () | |
Private Attributes | |
int | m_camID |
CvCapture * | m_capture |
CEventClass | m_evData |
int | m_height |
IplImage * | m_image |
bool | m_new_image |
TomGine::tgTimer | m_timer |
int | m_width |
Definition at line 12 of file ThreadObject/CameraThread.h.
CCameraThread::CCameraThread | ( | int | camID, |
int | width, | ||
int | height | ||
) |
Definition at line 7 of file ThreadObject/CameraThread.cpp.
Definition at line 26 of file ThreadObject/CameraThread.cpp.
bool CCameraThread::GetImage | ( | IplImage * | image | ) |
Definition at line 38 of file ThreadObject/CameraThread.cpp.
void CCameraThread::GetSize | ( | int & | width, |
int & | height | ||
) | [inline] |
Definition at line 34 of file ThreadObject/CameraThread.h.
BOOL CCameraThread::OnTask | ( | ) | [virtual] |
OnTask overloaded implementation of OnTask that takes no arguments
Reimplemented from CThread.
Definition at line 31 of file ThreadObject/CameraThread.cpp.
int CCameraThread::m_camID [private] |
Definition at line 16 of file ThreadObject/CameraThread.h.
CvCapture* CCameraThread::m_capture [private] |
Definition at line 22 of file ThreadObject/CameraThread.h.
CEventClass CCameraThread::m_evData [private] |
Definition at line 25 of file ThreadObject/CameraThread.h.
int CCameraThread::m_height [private] |
Definition at line 18 of file ThreadObject/CameraThread.h.
IplImage* CCameraThread::m_image [private] |
Definition at line 23 of file ThreadObject/CameraThread.h.
bool CCameraThread::m_new_image [private] |
Definition at line 15 of file ThreadObject/CameraThread.h.
TomGine::tgTimer CCameraThread::m_timer [private] |
Definition at line 20 of file ThreadObject/CameraThread.h.
int CCameraThread::m_width [private] |
Definition at line 17 of file ThreadObject/CameraThread.h.