|
MOOS 0.2375
|
#include <BluefinBatteryDriverV2.h>


Classes | |
| class | CBatteryPack |
Public Types | |
| enum | Status { OFF, ON, CHARGING, BALANCING } |
| typedef map< int, CBatteryPack > | BATTERY_MAP |
Public Member Functions | |
| CBluefinBatteryDriverV2 () | |
| virtual | ~CBluefinBatteryDriverV2 () |
| virtual string | GetCellsString () |
| virtual string | GetErrorString () |
| virtual string | GetCommentString () |
| virtual bool | IsError () |
| bool | Switch (bool bOn) |
Protected Member Functions | |
| string | GetStateAsString () |
| bool | QueryCellsState (CBatteryPack &rPack) |
| bool | ProcessStateString (CBatteryPack &rPack, string sState) |
| bool | SwitchPack (CBatteryPack &rPack, bool bOn) |
| bool | QueryBattery (CBatteryPack &rPack) |
| bool | WriteAndRead (string sOut, string &sReply, double dfTimeOut=-1.0, bool bNoTerm=false) |
| bool | DiscoverAndMakeBatteries () |
| virtual bool | Initialise () |
| virtual bool | GetData () |
Protected Attributes | |
| BATTERY_MAP | m_BatteryMap |
| bool | m_bEchoing |
Definition at line 47 of file BluefinBatteryDriverV2.h.
| typedef map<int,CBatteryPack> CBluefinBatteryDriverV2::BATTERY_MAP |
Definition at line 80 of file BluefinBatteryDriverV2.h.
Definition at line 51 of file BluefinBatteryDriverV2.h.
| CBluefinBatteryDriverV2::CBluefinBatteryDriverV2 | ( | ) |
Definition at line 53 of file BluefinBatteryDriverV2.cpp.
| CBluefinBatteryDriverV2::~CBluefinBatteryDriverV2 | ( | ) | [virtual] |
Definition at line 58 of file BluefinBatteryDriverV2.cpp.
| bool CBluefinBatteryDriverV2::DiscoverAndMakeBatteries | ( | ) | [protected] |
Definition at line 197 of file BluefinBatteryDriverV2.cpp.
| string CBluefinBatteryDriverV2::GetCellsString | ( | ) | [virtual] |
Reimplemented from CBatteryDriver.
Definition at line 125 of file BluefinBatteryDriverV2.cpp.
| string CBluefinBatteryDriverV2::GetCommentString | ( | ) | [virtual] |
Reimplemented from CBatteryDriver.
Definition at line 487 of file BluefinBatteryDriverV2.cpp.
| bool CBluefinBatteryDriverV2::GetData | ( | ) | [protected, virtual] |
Implements CBatteryDriver.
Definition at line 158 of file BluefinBatteryDriverV2.cpp.
| string CBluefinBatteryDriverV2::GetErrorString | ( | ) | [virtual] |
Reimplemented from CBatteryDriver.
Definition at line 470 of file BluefinBatteryDriverV2.cpp.
| string CBluefinBatteryDriverV2::GetStateAsString | ( | ) | [protected] |
| bool CBluefinBatteryDriverV2::Initialise | ( | ) | [protected, virtual] |
Implements CBatteryDriver.
Definition at line 63 of file BluefinBatteryDriverV2.cpp.
| bool CBluefinBatteryDriverV2::IsError | ( | ) | [virtual] |
Reimplemented from CBatteryDriver.
Definition at line 504 of file BluefinBatteryDriverV2.cpp.
| bool CBluefinBatteryDriverV2::ProcessStateString | ( | CBatteryPack & | rPack, |
| string | sState | ||
| ) | [protected] |
Definition at line 400 of file BluefinBatteryDriverV2.cpp.
| bool CBluefinBatteryDriverV2::QueryBattery | ( | CBatteryPack & | rPack | ) | [protected] |
Definition at line 285 of file BluefinBatteryDriverV2.cpp.
| bool CBluefinBatteryDriverV2::QueryCellsState | ( | CBatteryPack & | rPack | ) | [protected] |
Definition at line 433 of file BluefinBatteryDriverV2.cpp.
Reimplemented from CBatteryDriver.
Definition at line 110 of file BluefinBatteryDriverV2.cpp.
| bool CBluefinBatteryDriverV2::SwitchPack | ( | CBatteryPack & | rPack, |
| bool | bOn | ||
| ) | [protected] |
Definition at line 346 of file BluefinBatteryDriverV2.cpp.
| bool CBluefinBatteryDriverV2::WriteAndRead | ( | string | sOut, |
| string & | sReply, | ||
| double | dfTimeOut = -1.0, |
||
| bool | bNoTerm = false |
||
| ) | [protected] |
Definition at line 233 of file BluefinBatteryDriverV2.cpp.
BATTERY_MAP CBluefinBatteryDriverV2::m_BatteryMap [protected] |
Definition at line 103 of file BluefinBatteryDriverV2.h.
bool CBluefinBatteryDriverV2::m_bEchoing [protected] |
Definition at line 104 of file BluefinBatteryDriverV2.h.
1.7.4