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

 

         

multiimage.h

00001 /*
00002  * Orca-Robotics Project: Components for robotics 
00003  *               http://orca-robotics.sf.net/
00004  * Copyright (c) 2004-2009 Tom Burdick, Alex Brooks, Alexei Makarenko, Tobias Kaupp
00005  *
00006  * This distribution is licensed to you under the terms described in
00007  * the LICENSE file included in this distribution.
00008  *
00009  */
00010 #ifndef HYDRO_INTERFACES_MULTIIMAGE_H
00011 #define HYDRO_INTERFACES_MULTICOLLECTION_H
00012 
00013 #include <string>
00014 #include <vector>
00015 #include <hydroutil/context.h>
00016 
00017 #include <hydroimage/structures.h>
00018 
00019 namespace hydrointerfaces 
00020 {
00021 
00035 
00036 
00037 
00038 
00039 
00040 
00041 
00042 
00043 
00044 
00045 
00046 
00047 
00048 class SOEXPORT MultiImage
00049 {
00050 
00051 public:
00052 
00053     typedef std::vector<hydroimage::Config> Config;
00054 
00055     typedef std::vector<hydroimage::Data> Data;
00056 
00057     virtual ~MultiImage() {};
00058 
00062     virtual void read( MultiImage::Data &data )=0;
00063 
00064 private:
00065 
00066 };
00067 
00069 class SOEXPORT MultiImageFactory {
00070 public:
00071     virtual ~MultiImageFactory() {};
00073     virtual MultiImage *createDriver( MultiImage::Config &config,
00074                                   const hydroutil::Context &context ) const=0;
00075 };
00076 
00078 } // namespace
00079 
00080 // Function for dynamically instantiating drivers.
00081 // A driver must have a function like so:
00082 // extern "C" {
00083 //     hydrointerfaces::MultiImageFactory *createMultiImageDriverFactory();
00084 // }
00085 typedef hydrointerfaces::MultiImageFactory *MultiImageDriverFactoryMakerFunc();
00086 
00087 #endif
 

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


Generated for Orca Robotics by  doxygen 1.4.5