VideoTools
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Gv::ImageGenerator Class Referenceabstract

An abstract interface for filling a YUYV capture buffer with a generated image. More...

#include <gvimagegenerator.h>

+ Inheritance diagram for Gv::ImageGenerator:

Public Member Functions

virtual bool init ()=0
 Initialisation function. Returns true for rgb, false for yuyv.
 
virtual void fillBuffer (CaptureBuffer &, const CaptureBufferScale &)=0
 Fills the given capture buffer with a generated image. More...
 
virtual ~ImageGenerator ()
 Destructor.
 

Detailed Description

An abstract interface for filling a YUYV capture buffer with a generated image.

Definition at line 35 of file gvimagegenerator.h.

Member Function Documentation

virtual void Gv::ImageGenerator::fillBuffer ( CaptureBuffer ,
const CaptureBufferScale  
)
pure virtual

Fills the given capture buffer with a generated image.

The buffer will have been already imbued with the relevant format.

Implemented in Gv::Bars, and Gv::Demo.


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