Public Member Functions | Private Member Functions | Private Attributes
SerialSession Class Reference
Inheritance diagram for SerialSession:
Inheritance graph
[legend]

List of all members.

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_

Detailed Description

Definition at line 44 of file serial_node.cpp.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

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.


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


rosserial_server
Author(s): Mike Purvis
autogenerated on Fri Aug 28 2015 12:44:56