INTRODUCTION
Overview
Download and Install
Documentation
Publications

REPOSITORY
Libraries

DEVELOPER
Dev Guide
Dashboard

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         
oceanserver.h
00001 /*
00002  * GearBox Project: Peer-Reviewed Open-Source Libraries for Robotics
00003  *               http://gearbox.sf.net/
00004  * Copyright (c) 2004-2008 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 GBX_OCEANSERVER_H
00012 #define GBX_OCEANSERVER_H
00013 
00014 #include <memory>
00015 #include <gbxutilacfr/tracer.h>
00016 #include <gbxsmartbatteryacfr/oceanserverreader.h>
00017 
00018 using namespace std;
00019 
00020 namespace gbxsmartbatteryacfr {
00021 
00029 class OceanServer
00030 {    
00031 public:
00032     
00035     OceanServer( const std::string      &port,
00036                  gbxutilacfr::Tracer    &tracer);
00037     
00042     const gbxsmartbatteryacfr::OceanServerSystem& getData();
00043     
00044 private:
00045     
00046     gbxsmartbatteryacfr::OceanServerSystem data_;
00047     gbxutilacfr::Tracer& tracer_;
00048     auto_ptr<gbxsmartbatteryacfr::OceanServerReader> reader_;
00049     
00050     int exceptionCounter_;
00051     std::string exceptionString_;
00052     
00053 };
00054 
00055 } //namespace
00056 
00057 #endif
00058 
00059 
00060 
 

Generated for GearBox by  doxygen 1.4.5