INTRODUCTION Overview Download and Install Documentation Publications REPOSITORY Libraries DEVELOPER Dev Guide Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
gbxsmartbatteryacfr::OceanServerReader Class Reference#include <oceanserverreader.h>
Detailed DescriptionClass to read data from the oceanserver battery system: (1) connects to the serial port (2) reads from the serial port and parses data
Constructor & Destructor Documentation
Connects to the serial port (e.g. /dev/ttyS0) and checks whether we are connected to an OceanServer system. Throws a HardwareReadingException if any of the above goes wrong.
Member Function Documentation
Reads an OceanServerSystem record May throw HardwareReadingExceptions and ParsingExceptions References gbxsmartbatteryacfr::OceanServerParser::atBeginningOfRecord(), gbxutilacfr::Tracer::debug(), gbxsmartbatteryacfr::OceanServerParser::parse(), and gbxutilacfr::Exception::what().
Resets the reader:
References gbxserialacfr::Serial::flush(), and gbxserialacfr::Serial::write().
The documentation for this class was generated from the following files:
|