Public Member Functions | Private Member Functions | Private Attributes | List of all members
BatteryServerChecker Class Reference

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 ( )
inlineprivate

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

string BatteryServerChecker::device_
private

Definition at line 60 of file battery_check.cpp.

int BatteryServerChecker::id_
private

Definition at line 59 of file battery_check.cpp.

vector<bool> BatteryServerChecker::inhibited
private

Definition at line 66 of file battery_check.cpp.

vector<ros::Time> BatteryServerChecker::last_update
private

Definition at line 68 of file battery_check.cpp.

vector<bool> BatteryServerChecker::no_good
private

Definition at line 67 of file battery_check.cpp.

ocean BatteryServerChecker::os
private

Definition at line 62 of file battery_check.cpp.

vector<bool> BatteryServerChecker::present
private

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.

int BatteryServerChecker::timeout_
private

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 Wed Jun 5 2019 20:40:35