CoerceVideoFormatOfilt Class Reference

Output filter that coerces output into a particular VideoFormat. More...

#include <Transport/CoerceVideoFormatOfilt.H>

Inheritance diagram for CoerceVideoFormatOfilt:
Inheritance graph
[legend]
Collaboration diagram for CoerceVideoFormatOfilt:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CoerceVideoFormatOfilt (OptionManager &mgr, VideoFormat mode)
 Constructor.
virtual ~CoerceVideoFormatOfilt ()
 Destructor.

Protected Member Functions

virtual void start1 ()
 show the table of available coercions
virtual void filterFrame (FrameOstream &dest, const GenericFrame &frame, const std::string &shortname, const FrameInfo &auxinfo)
 Convert frame to the desired VideoFormat.

Detailed Description

Output filter that coerces output into a particular VideoFormat.

Definition at line 45 of file CoerceVideoFormatOfilt.H.


Constructor & Destructor Documentation

CoerceVideoFormatOfilt::CoerceVideoFormatOfilt ( OptionManager mgr,
VideoFormat  mode 
)

Constructor.

Definition at line 50 of file CoerceVideoFormatOfilt.C.

CoerceVideoFormatOfilt::~CoerceVideoFormatOfilt (  )  [virtual]

Destructor.

Definition at line 62 of file CoerceVideoFormatOfilt.C.


Member Function Documentation

void CoerceVideoFormatOfilt::filterFrame ( FrameOstream dest,
const GenericFrame frame,
const std::string shortname,
const FrameInfo auxinfo 
) [protected, virtual]

Convert frame to the desired VideoFormat.

Implements FrameOfilt.

Definition at line 72 of file CoerceVideoFormatOfilt.C.

References GenericFrame::asVideo(), findConverter(), VideoFrame::getMode(), and FrameOstream::writeFrame().

void CoerceVideoFormatOfilt::start1 (  )  [protected, virtual]

show the table of available coercions

Reimplemented from ModelComponent.

Definition at line 66 of file CoerceVideoFormatOfilt.C.

References printCoercionTable().


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:20:52 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3