Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes
rosserial_server::SerialSession Class Reference

#include <serial_session.h>

Inheritance diagram for rosserial_server::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 ()

Static Private Member Functions

static void restart_session (boost::asio::io_service &io_service, std::string port, int baud, boost::shared_ptr< boost::asio::deadline_timer > &timer)

Private Attributes

int baud_
boost::posix_time::time_duration interval_
std::string port_
boost::asio::deadline_timer timer_

Detailed Description

Definition at line 48 of file serial_session.h.


Constructor & Destructor Documentation

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.

Definition at line 59 of file serial_session.h.


Member Function Documentation

bool rosserial_server::SerialSession::attempt_connection ( bool  log_errors = true) [inline, private]

Definition at line 86 of file serial_session.h.

void rosserial_server::SerialSession::connect_with_reconnection ( bool  log_errors = true) [inline, private]

Definition at line 108 of file serial_session.h.

static void rosserial_server::SerialSession::restart_session ( boost::asio::io_service &  io_service,
std::string  port,
int  baud,
boost::shared_ptr< boost::asio::deadline_timer > &  timer 
) [inline, static, private]

Definition at line 75 of file serial_session.h.


Member Data Documentation

Definition at line 120 of file serial_session.h.

boost::posix_time::time_duration rosserial_server::SerialSession::interval_ [private]

Definition at line 121 of file serial_session.h.

Definition at line 119 of file serial_session.h.

boost::asio::deadline_timer rosserial_server::SerialSession::timer_ [private]

Definition at line 122 of file serial_session.h.


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


rosserial_server
Author(s): Mike Purvis
autogenerated on Thu Jun 6 2019 19:56:34