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

Public Member Functions

 server (const int &majorID, const std::string &dev, const int debug_level=0)
 
void start ()
 
void stop ()
 

Private Member Functions

void run ()
 

Private Attributes

int debug_level
 
ros::NodeHandle handle
 
bool has_warned_no_good_
 
bool has_warned_temp_alarm_
 
int lag_timeout_
 
int majorID
 
boost::shared_ptr< boost::thread > myThread
 
std::string serial_device
 
int stale_timeout_
 
volatile bool stopRequest
 

Detailed Description

Definition at line 45 of file server.cpp.

Constructor & Destructor Documentation

server::server ( const int &  majorID,
const std::string &  dev,
const int  debug_level = 0 
)
inline

Definition at line 49 of file server.cpp.

Member Function Documentation

void server::run ( void  )
inlineprivate

Definition at line 114 of file server.cpp.

void server::start ( )
inline

Definition at line 91 of file server.cpp.

void server::stop ( )
inline

Definition at line 97 of file server.cpp.

Member Data Documentation

int server::debug_level
private

Definition at line 107 of file server.cpp.

ros::NodeHandle server::handle
private

Definition at line 105 of file server.cpp.

bool server::has_warned_no_good_
private

Definition at line 112 of file server.cpp.

bool server::has_warned_temp_alarm_
private

Definition at line 112 of file server.cpp.

int server::lag_timeout_
private

Definition at line 111 of file server.cpp.

int server::majorID
private

Definition at line 106 of file server.cpp.

boost::shared_ptr<boost::thread> server::myThread
private

Definition at line 110 of file server.cpp.

std::string server::serial_device
private

Definition at line 108 of file server.cpp.

int server::stale_timeout_
private

Definition at line 111 of file server.cpp.

volatile bool server::stopRequest
private

Definition at line 109 of file server.cpp.


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


ocean_battery_driver
Author(s): Tully Foote, Curt Meyers
autogenerated on Fri May 14 2021 02:50:04