VideoTools
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Gv::CaptureTest Class Reference

A Gv::Capture implementation that serves up dummy frames created by a Gv::ImageGenerator. More...

#include <gvcapture_test.h>

+ Inheritance diagram for Gv::CaptureTest:

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.
 

Detailed Description

A Gv::Capture implementation that serves up dummy frames created by a Gv::ImageGenerator.

Definition at line 40 of file gvcapture_test.h.

Constructor & Destructor Documentation

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.


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