UtiLite  0.3.1
A lite utilities library
Protected Member Functions | Private Member Functions
UAbstractImageCapture Class Reference

#include <UImageCapture.h>

Inherits UThread.

Inherited by UImageFolderCapture, and UVideoCapture.

List of all members.

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 ()

Detailed Description

Class UAbstractImageCapture


Constructor & Destructor Documentation

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

Parameters:
imageRate: image/second , 0 for fast as the camera can

Member Function Documentation

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.

See also:
mainLoop()
kill()

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.


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