INTRODUCTION
Overview
Download and Install
Quick Start
Documentation
Publications

NONFRAMEWORK CODE
Driver Interfaces
Drivers
Libraries
Utilities

FRAMEWORK CODE
Interfaces
Components
Libraries
Utilities

Full Software Listings

DEVELOPER
Tutorials
Examples
Dev Guide
Dashboard

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         

hydrointerfaces::ImageConverter Class Reference
[ImageConverter]

Abstract class for a imageconverter source. More...

#include <imageconverter.h>

Inherited by imageconverterbayer::Driver.

List of all members.

Public Types

typedef hydroimage::Config Config
 define the config object as hydroimage::Config
typedef hydroimage::Data Data
 define the data object as hydroimage::Data

Public Member Functions

virtual void convert (Data &inputData, Data &outputData)=0
virtual uint32_t getOutputBufferSize (const Config &config, const std::string &outputFormat)=0
 determine the buffer size for a given input config and desired output format
virtual const std::vector
< std::string > & 
getInputFormats () const =0
 describe the input and output formats for this class

Detailed Description

Abstract class for a imageconverter source.

All imageconverters should implement this, making it simple to add support for different imageconverters.

This guy is not guaranteed to be thread-safe!

Author:
Tom Burdick thomas.burdick at gmail.com

Member Function Documentation

virtual void hydrointerfaces::ImageConverter::convert ( Data inputData,
Data outputData 
) [pure virtual]

A blocking call that converts the inputData to the desired format of the outputData. The ImageConverter can be expected to have been pre-sized correctly. Throws exceptions on un-recoverable faults.


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

Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)


Generated for Orca Robotics by  doxygen 1.4.5