Misc Relacs Plugins  0.9.8
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
VideoBuffer Class Reference

#include <opencvcamera.h>

Public Member Functions

 VideoBuffer (int camid, int fraRt, int blen)
 
int Start ()
 
int Stop ()
 
Mat getCurrentFrame (void)
 
bool isReady (void) const
 

Protected Member Functions

int Run ()
 
void Setup ()
 
void Execute ()
 
void Exit ()
 

Static Protected Member Functions

static void * EntryPoint (void *)
 

Protected Attributes

int CameraID
 
int BufLen
 
int FrameRate
 
Mat * buf
 
bool active
 
bool ready
 

Constructor & Destructor Documentation

VideoBuffer ( int  camid,
int  fraRt,
int  blen 
)

Member Function Documentation

int Start ( )

Referenced by OpenCVCamera::open().

int Stop ( )

Referenced by OpenCVCamera::close().

Mat getCurrentFrame ( void  )

Referenced by OpenCVCamera::grabFrame().

bool isReady ( void  ) const
inline
int Run ( )
protected

Referenced by VideoBuffer::EntryPoint().

void * EntryPoint ( void *  pthis)
staticprotected

References VideoBuffer::Run().

void Setup ( )
protected
void Execute ( )
protected
void Exit ( )
protected

Member Data Documentation

int CameraID
protected
int BufLen
protected
int FrameRate
protected
Mat* buf
protected
bool active
protected
bool ready
protected

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