orca-robotics


INTRODUCTION
Overview
Download and Install
Quick Start
Documentation
Publications

REPOSITORY
Interfaces
Components
Libraries
Utilities
Software Map

DEVELOPER
Tutorials
Examples
Dev Guide
Dashboard
Wiki
login/pass: orca/orca

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         

logreaders.h

00001 #ifndef ORCALOGFACTORY_LOGREADERS_H
00002 #define ORCALOGFACTORY_LOGREADERS_H
00003 
00004 #include <orcalog/logreader.h>
00005 #include <orca/camera.h>
00006 #include <orca/drivebicycle.h>
00007 #include <orca/laserscanner2d.h>
00008 #include <orca/localise2d.h>
00009 #include <orca/localise3d.h>
00010 #include <orca/power.h>
00011 #include <orca/odometry2d.h>
00012 #include <orca/odometry3d.h>
00013 #include <orca/wifi.h>
00014 #include <orca/gps.h>
00015 
00016 namespace orcalogfactory {
00017 
00018 //
00019 // A collection of classes capable of reading sub-logfiles for specific
00020 // interface types.
00021 //
00022 
00024 
00025 class DriveBicycleLogReader : public orcalog::LogReader
00026 {
00027 public:
00028     DriveBicycleLogReader( const orcalog::LogReaderInfo &logReaderInfo );
00029     void read( orca::DriveBicycleData &obj );
00030     void read( orca::VehicleDescription &obj );
00031     void read() { orca::DriveBicycleData obj; read(obj); }
00032 };
00033 
00035 
00036 class GpsLogReader : public orcalog::LogReader
00037 {
00038 public:
00039     GpsLogReader( const orcalog::LogReaderInfo &logReaderInfo );
00040     void read( orca::GpsData &obj );
00041     void read( orca::GpsDescription &obj );
00042     void read() { orca::GpsData obj; read(obj); }
00043 };
00044 
00046 
00047 class LaserScanner2dLogReader : public orcalog::LogReader
00048 {
00049 public:
00050     LaserScanner2dLogReader( const orcalog::LogReaderInfo &logReaderInfo );
00051     void read( orca::LaserScanner2dDataPtr &obj );
00052     void read( orca::RangeScanner2dDescription &obj );
00053     void read() { orca::LaserScanner2dDataPtr obj=new orca::LaserScanner2dData; read(obj); }
00054 };
00055 
00057 
00058 class Localise2dLogReader : public orcalog::LogReader
00059 {
00060 public:
00061     Localise2dLogReader( const orcalog::LogReaderInfo &logReaderInfo );
00062     void read( orca::Localise2dData &obj );
00063     void read( orca::VehicleGeometryDescriptionPtr &obj );
00064     void read() { orca::Localise2dData obj; read(obj); }
00065 };
00066 
00068 
00069 class Localise3dLogReader : public orcalog::LogReader
00070 {
00071 public:
00072     Localise3dLogReader( const orcalog::LogReaderInfo &logReaderInfo );
00073     void read( orca::Localise3dData &obj );
00074     void read( orca::VehicleGeometryDescriptionPtr &obj );
00075     void read() { orca::Localise3dData obj; read(obj); }
00076 };
00077 
00079 
00080 class Odometry2dLogReader : public orcalog::LogReader
00081 {
00082 public:
00083     Odometry2dLogReader( const orcalog::LogReaderInfo &logReaderInfo );
00084     void read( orca::Odometry2dData &obj );
00085     void read( orca::VehicleDescription &obj );
00086     void read() { orca::Odometry2dData obj; read(obj); }
00087 };
00088 
00090 
00091 class Odometry3dLogReader : public orcalog::LogReader
00092 {
00093 public:
00094     Odometry3dLogReader( const orcalog::LogReaderInfo &logReaderInfo );
00095     void read( orca::Odometry3dData &obj );
00096     void read( orca::VehicleDescription &obj );
00097     void read() { orca::Odometry3dData obj; read(obj); }
00098 };
00099 
00101 
00102 class PowerLogReader : public orcalog::LogReader
00103 {
00104 public:
00105     PowerLogReader( const orcalog::LogReaderInfo &logReaderInfo );
00106     void read( orca::PowerData &obj );
00107     void read() { orca::PowerData obj; read(obj); }
00108 };
00109 
00111 
00112 class WifiLogReader : public orcalog::LogReader
00113 {
00114 public:
00115     WifiLogReader( const orcalog::LogReaderInfo &logReaderInfo );
00116     void read( orca::WifiData &obj );
00117     void read() { orca::WifiData obj; read(obj); }
00118 };
00119 
00120 }
00121 
00122 #endif
 

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


Generated for Orca Robotics by  doxygen 1.4.5