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>

Inheritance diagram for gbxsmartbatteryacfr::OceanServer:
Inheritance graph

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 ()
 
- Public Member Functions inherited from gbxiceutilacfr::SafeThread
 SafeThread (gbxutilacfr::Tracer &tracer)
 Needs an implementation of Tracer to report possible exceptions.
 
virtual void run ()
 
- Public Member Functions inherited from gbxiceutilacfr::Thread
void stop ()
 
virtual bool isStopping ()
 Returns TRUE if the thread is in Stopping state, FALSE otherwise.
 
bool isStarted ()
 Returns TRUE if the thread is in Started state, FALSE otherwise.
 
bool isActive ()
 

Additional Inherited Members

- Protected Member Functions inherited from gbxiceutilacfr::Thread
void waitForStop ()
 

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

◆ OceanServer()

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

Initialises an OceanServerReader May throw a HardwareReadingException

Member Function Documentation

◆ getData()

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().

◆ walk()


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

Generated for GearBox by  doxygen 1.4.5