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

 

         

structures.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 
00011 #ifndef HYDRO_IMAGE_STRUCTURES_H
00012 #define HYDRO_IMAGE_STRUCTURES_H
00013 
00014 #include <string>
00015 #include <sstream>
00016 
00017 namespace hydroimage
00018 {
00019 
00021     class Config
00022     {
00023         public:
00024             Config();
00025             bool validate() const;
00026             std::string toString() const;
00027             bool operator==( const Config & other );
00028             bool operator!=( const Config & other );
00029 
00031             size_t width;
00033             size_t height;
00035             size_t size;
00037             std::string format;
00038     };
00039 
00041     class Data
00042     {
00043         public:
00044             Data()
00045                 : haveWarnings(false)
00046             {}
00047 
00048             unsigned char* pixelData;
00049             int            timeStampSec;
00050             int            timeStampUsec;
00051             bool           haveWarnings;
00053             std::string    warnings;
00054 
00055     };
00056 }
00057 
00058 #endif
 

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


Generated for Orca Robotics by  doxygen 1.4.5