Public Member Functions | Private Member Functions | Private Attributes
BatteryServerChecker Class Reference

List of all members.

Public Member Functions

bool batteryOK () const
 BatteryServerChecker (int id, const string &dev, int timeout)
string getStatus () const
void start ()
void stop ()

Private Member Functions

void run ()

Private Attributes

string device_
int id_
vector< bool > inhibited
vector< ros::Timelast_update
vector< bool > no_good
ocean os
vector< bool > present
boost::shared_ptr< boost::thread > runThread_
volatile bool stopRequest
int timeout_

Detailed Description

Definition at line 56 of file battery_check.cpp.


Constructor & Destructor Documentation

BatteryServerChecker::BatteryServerChecker ( int  id,
const string &  dev,
int  timeout 
) [inline]

Definition at line 92 of file battery_check.cpp.


Member Function Documentation

bool BatteryServerChecker::batteryOK ( ) const [inline]

Definition at line 116 of file battery_check.cpp.

string BatteryServerChecker::getStatus ( ) const [inline]

Definition at line 130 of file battery_check.cpp.

void BatteryServerChecker::run ( ) [inline, private]

Definition at line 72 of file battery_check.cpp.

void BatteryServerChecker::start ( ) [inline]

Definition at line 103 of file battery_check.cpp.

void BatteryServerChecker::stop ( ) [inline]

Definition at line 108 of file battery_check.cpp.


Member Data Documentation

Definition at line 60 of file battery_check.cpp.

Definition at line 59 of file battery_check.cpp.

Definition at line 66 of file battery_check.cpp.

Definition at line 68 of file battery_check.cpp.

Definition at line 67 of file battery_check.cpp.

Definition at line 62 of file battery_check.cpp.

Definition at line 65 of file battery_check.cpp.

boost::shared_ptr<boost::thread> BatteryServerChecker::runThread_ [private]

Definition at line 70 of file battery_check.cpp.

volatile bool BatteryServerChecker::stopRequest [private]

Definition at line 63 of file battery_check.cpp.

Definition at line 61 of file battery_check.cpp.


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


ocean_battery_driver
Author(s): Tully Foote, Curt Meyers
autogenerated on Sat Dec 28 2013 17:27:14