#include <serial_session.h>
Public Member Functions | |
SerialSession (boost::asio::io_service &io_service, std::string port, int baud) | |
Private Member Functions | |
void | attempt_connection () |
void | check_connection () |
Private Attributes | |
int | baud_ |
int | failed_connection_attempts_ |
std::string | port_ |
boost::asio::deadline_timer | timer_ |
Definition at line 48 of file serial_session.h.
rosserial_server::SerialSession::SerialSession | ( | boost::asio::io_service & | io_service, |
std::string | port, | ||
int | baud | ||
) | [inline] |
Definition at line 51 of file serial_session.h.
void rosserial_server::SerialSession::attempt_connection | ( | ) | [inline, private] |
Definition at line 77 of file serial_session.h.
void rosserial_server::SerialSession::check_connection | ( | ) | [inline, private] |
Definition at line 61 of file serial_session.h.
int rosserial_server::SerialSession::baud_ [private] |
Definition at line 107 of file serial_session.h.
Definition at line 109 of file serial_session.h.
std::string rosserial_server::SerialSession::port_ [private] |
Definition at line 106 of file serial_session.h.
boost::asio::deadline_timer rosserial_server::SerialSession::timer_ [private] |
Definition at line 108 of file serial_session.h.