VideoTools
|
A Gv::Capture implementation that serves up dummy frames created by a Gv::ImageGenerator. More...
#include <gvcapture_test.h>
Public Member Functions | |
CaptureTest (const std::string &config, ImageGenerator *) | |
Constructor. More... | |
virtual | ~CaptureTest () |
Destructor. | |
virtual void | start () override |
Override from Capture. | |
virtual void | stop () override |
Override from Capture. | |
virtual bool | simple () const override |
Override from Capture. | |
virtual bool | read (unsigned char *, size_t) override |
Override from Capture. | |
virtual bool | read (CaptureCallback &) override |
Override from Capture. | |
virtual int | fd () const override |
Override from Capture. | |
virtual unsigned int | dx () const override |
Override from Capture. | |
virtual unsigned int | dy () const override |
Override from Capture. | |
virtual bool | active () const override |
Override from Capture. | |
virtual std::string | info () const override |
Override from Capture. | |
Public Member Functions inherited from Gv::Capture | |
virtual | ~Capture ()=0 |
Destructor. | |
Static Public Member Functions | |
static int | dx (int) |
Static overload. | |
static int | dy (int) |
Static overload. | |
A Gv::Capture implementation that serves up dummy frames created by a Gv::ImageGenerator.
Definition at line 40 of file gvcapture_test.h.
Gv::CaptureTest::CaptureTest | ( | const std::string & | config, |
ImageGenerator * | generator | ||
) |
Constructor.
Ownership of the new()ed ImageGenerator is transferred.
Definition at line 39 of file gvcapture_test.cpp.