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

A callback interface for Gv::ImageInputSource. More...

#include <gvimageinput.h>

+ Inheritance diagram for Gv::ImageInputHandler:

Public Member Functions

virtual void onImageInput (ImageInputSource &, Gr::Image)=0
 Called by Gv::ImageInputSource to deliver a new image. More...
 
virtual void onNonImageInput (ImageInputSource &, Gr::Image, const std::string &type_str)
 Called by Gv::ImageInputSource to deliver a new non-image. More...
 
virtual ImageInputConversion imageInputConversion (ImageInputSource &)=0
 Returns the required image type conversion. More...
 
virtual ~ImageInputHandler ()
 Destructor.
 

Detailed Description

A callback interface for Gv::ImageInputSource.

Definition at line 84 of file gvimageinput.h.

Member Function Documentation

virtual ImageInputConversion Gv::ImageInputHandler::imageInputConversion ( ImageInputSource )
pure virtual

Returns the required image type conversion.

This is called just before each image is delivered.

virtual void Gv::ImageInputHandler::onImageInput ( ImageInputSource ,
Gr::Image   
)
pure virtual

Called by Gv::ImageInputSource to deliver a new image.

It is allowed to call removeImageInputHandler() from within the callback.

void Gv::ImageInputHandler::onNonImageInput ( ImageInputSource ,
Gr::Image  ,
const std::string &  type_str 
)
virtual

Called by Gv::ImageInputSource to deliver a new non-image.

This default implementation does nothing.

Definition at line 258 of file gvimageinput.cpp.


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