INTRODUCTION
Overview
Download and Install
Documentation
Publications

REPOSITORY
Libraries

DEVELOPER
Dev Guide
Dashboard

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         

gbxsmartbatteryacfr::OceanServerSystem Class Reference

#include <oceanserversystem.h>

List of all members.

Public Member Functions

 OceanServerSystem ()
 Initialises all data in OceanServerSystem class.
bool isEmpty () const
 Returns true if no valid data has been set.
const std::map< int,
SmartBattery > & 
batteries () const
 Read access to all batteries.
SmartBatterybattery (unsigned int batteryNumber)
 Easy write access to single battery, instantiates a new one if it doesn't exist.
const SmartBatterybattery (unsigned int batteryNumber) const
 Easy read access to single battery, battery must exist.
void eraseBattery (unsigned int batteryNumber)
 Erase a battery.
void setPercentCharge (int percentCharge)
 Set charge in %.
int percentCharge () const
 Access charget in %.
void setMinToEmpty (int minToEmpty)
 Set minutes to empty.
int minToEmpty () const
 Access minutes-to-empty.
void setMessageToSystem (const std::string &messageToSystem)
 Set message-to-system string.
std::string messageToSystem () const
 Access message-to-system string.
const std::vector< bool > & availableBatteries () const
 Access availableBatteries flags.
std::vector< bool > & availableBatteries ()
 Set availableBatteries flags.
const std::vector< bool > & chargingStates () const
 Access chargingStates flags.
std::vector< bool > & chargingStates ()
 Set chargingStates flags.
const std::vector< bool > & supplyingPowerStates () const
 Access supplyingPowerStates flags.
std::vector< bool > & supplyingPowerStates ()
 Set supplyingPowerStates flags.
const std::vector< bool > & chargePowerPresentStates () const
 Access chargePowerPresentStates flags.
std::vector< bool > & chargePowerPresentStates ()
 Set chargePowerPresentStates flags.
const std::vector< bool > & powerNoGoodStates () const
 Access powerNoGoodStates flags.
std::vector< bool > & powerNoGoodStates ()
 Set powerNoGoodStates flags.
const std::vector< bool > & chargeInhibitedStates () const
 Access chargeInhibitedStates flags.
std::vector< bool > & chargeInhibitedStates ()
 Set chargeInhibitedStates flags.
const std::vector< std::string > & rawRecord () const
 Access the latest raw record, useful for debugging.
std::vector< std::string > & rawRecord ()
 Set the latest raw record.


Detailed Description

Class representing the OceanServer battery system data Contains average values of the whole system and values from individual batteries

Author:
Tobias Kaupp

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

Generated for GearBox by  doxygen 1.4.5