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::Time > | last_update |
vector< bool > | no_good |
ocean | os |
vector< bool > | present |
boost::shared_ptr< boost::thread > | runThread_ |
volatile bool | stopRequest |
int | timeout_ |
Definition at line 56 of file battery_check.cpp.
BatteryServerChecker::BatteryServerChecker | ( | int | id, |
const string & | dev, | ||
int | timeout | ||
) | [inline] |
Definition at line 92 of file battery_check.cpp.
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.
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.