Public Member Functions | |
SerialSession (boost::asio::io_service &io_service, std::string port, int baud) | |
Private Member Functions | |
bool | attempt_connection (bool log_errors=true) |
void | connect_with_reconnection (bool log_errors=true) |
~SerialSession () | |
Private Attributes | |
int | baud_ |
boost::posix_time::time_duration | interval_ |
std::string | port_ |
boost::asio::deadline_timer | timer_ |
Definition at line 44 of file serial_node.cpp.
SerialSession::SerialSession | ( | boost::asio::io_service & | io_service, |
std::string | port, | ||
int | baud | ||
) | [inline] |
Definition at line 47 of file serial_node.cpp.
SerialSession::~SerialSession | ( | ) | [inline, private] |
Definition at line 55 of file serial_node.cpp.
bool SerialSession::attempt_connection | ( | bool | log_errors = true | ) | [inline, private] |
Definition at line 61 of file serial_node.cpp.
void SerialSession::connect_with_reconnection | ( | bool | log_errors = true | ) | [inline, private] |
Definition at line 83 of file serial_node.cpp.
int SerialSession::baud_ [private] |
Definition at line 95 of file serial_node.cpp.
boost::posix_time::time_duration SerialSession::interval_ [private] |
Definition at line 96 of file serial_node.cpp.
std::string SerialSession::port_ [private] |
Definition at line 94 of file serial_node.cpp.
boost::asio::deadline_timer SerialSession::timer_ [private] |
Definition at line 97 of file serial_node.cpp.