Public Member Functions

yarp::dev::BaseFormatter< T > Class Template Reference
[logpolar drivers]

A template base class with format method. More...

#include <ServerLogpolarFrameGrabber.h>

Public Member Functions

virtual bool format (const T &buffer, T &formatted)
 The format method takes a raw buffer image and formats according to the code provided in the format method.

Detailed Description

template<class T>
class yarp::dev::BaseFormatter< T >

A template base class with format method.

Pass this as F argument to the ImageFormatter template.

Definition at line 72 of file ServerLogpolarFrameGrabber.h.


Member Function Documentation

template<class T>
virtual bool yarp::dev::BaseFormatter< T >::format ( const T &  buffer,
T &  formatted 
) [inline, virtual]

The format method takes a raw buffer image and formats according to the code provided in the format method.

Parameters:
buffer is the raw input buffer, e.g. an rgb image.
formatted is the output image of type T.
Returns:
true iff the call is successful.

Reimplemented in yarp::dev::StdImageFormatter, yarp::dev::LogpolarImageFormatter, and yarp::dev::FovealImageFormatter.

Definition at line 82 of file ServerLogpolarFrameGrabber.h.

{ return false; }


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Friends Defines