INTRODUCTION
Overview
Download and Install
Documentation
Publications

REPOSITORY
Libraries

DEVELOPER
Dev Guide
Dashboard

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         
gbxsmartbatteryacfr::OceanServerParser Class Reference

#include <oceanserverparser.h>

Public Member Functions

void parse (std::vector< std::string > &stringList, OceanServerSystem &batterySystem)
 
bool atBeginningOfRecord (const std::string &line)
 Checks whether the passed string (one line) is the first line of the record.
 

Detailed Description

Class to parse the hex data the oceanserver battery controller spits out

Author
Tobias Kaupp

Member Function Documentation

◆ parse()

void gbxsmartbatteryacfr::OceanServerParser::parse ( std::vector< std::string > &  stringList,
OceanServerSystem batterySystem 
)

Expects a full record of batterydata as a stringList (one line per string) produced by the oceanserver controller. Parses each line and sets corresponding fields in batterySystem

References gbxutilacfr::DebugTrace, gbxsmartbatteryacfr::OceanServerSystem::rawRecord(), and gbxutilacfr::ToAny.

Referenced by gbxsmartbatteryacfr::OceanServerReader::read().


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

Generated for GearBox by  doxygen 1.4.5