UtiLite
0.3.1
A lite utilities library
|
#include <UImageCapture.h>
Inherits UThread.
Inherited by UImageFolderCapture, and UVideoCapture.
Protected Member Functions | |
UAbstractImageCapture (float imageRate=0, bool autoRestart=false, unsigned int imageWidth=0, unsigned int imageHeight=0, unsigned int framesDropped=0, int id=0) | |
Private Member Functions | |
virtual void | mainLoopBegin () |
virtual void | mainLoop () |
Class UAbstractImageCapture
UAbstractImageCapture::UAbstractImageCapture | ( | float | imageRate = 0 , |
bool | autoRestart = false , |
||
unsigned int | imageWidth = 0 , |
||
unsigned int | imageHeight = 0 , |
||
unsigned int | framesDropped = 0 , |
||
int | id = 0 |
||
) | [protected] |
Constructor
imageRate | : image/second , 0 for fast as the camera can |
virtual void UAbstractImageCapture::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.
virtual void UAbstractImageCapture::mainLoopBegin | ( | ) | [private, 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.