INTRODUCTION
Overview
Download and Install
Documentation
Publications

REPOSITORY
Libraries

DEVELOPER
Dev Guide
Dashboard

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         

gbxsmartbatteryacfr::OceanServer Class Reference

#include <oceanserver.h>

Inherits gbxiceutilacfr::SafeThread.

List of all members.

Public Member Functions

 OceanServer (const std::string &port, gbxutilacfr::Tracer &tracer)
void getData (gbxsmartbatteryacfr::OceanServerSystem &data)
bool haveData ()
 Returns true if there is some non-empty data available.
virtual void walk ()


Detailed Description

Thread which reads data from an OceanServer battery system. Wraps up all the logic required to read from the system and maintain some incremental internal data storage. Also handles all ParsingExceptions.

Author:
Tobias Kaupp

Constructor & Destructor Documentation

gbxsmartbatteryacfr::OceanServer::OceanServer ( const std::string &  port,
gbxutilacfr::Tracer tracer 
)

Initialises an OceanServerReader May throw a HardwareReadingException


Member Function Documentation

void gbxsmartbatteryacfr::OceanServer::getData ( gbxsmartbatteryacfr::OceanServerSystem data  ) 

Access to the current data May return an empty record ( check with isEmpty() )

References gbxiceutilacfr::Store< Type >::get(), and gbxiceutilacfr::Store< Type >::isEmpty().


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

Generated for GearBox by  doxygen 1.4.5