Public Member Functions | Private Member Functions | Private Attributes | List of all members
rosserial_server::SerialSession Class Reference

#include <serial_session.h>

Inheritance diagram for rosserial_server::SerialSession:
Inheritance graph
[legend]

Public Member Functions

 SerialSession (boost::asio::io_service &io_service, std::string port, int baud)
 
- Public Member Functions inherited from rosserial_server::Session< boost::asio::serial_port >
bool is_active ()
 
 Session (boost::asio::io_service &io_service)
 
void set_require_param (std::string param_name)
 
boost::asio::serial_port & socket ()
 
void start ()
 
void stop ()
 

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_
 

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.

Member Function Documentation

void rosserial_server::SerialSession::attempt_connection ( )
inlineprivate

Definition at line 77 of file serial_session.h.

void rosserial_server::SerialSession::check_connection ( )
inlineprivate

Definition at line 61 of file serial_session.h.

Member Data Documentation

int rosserial_server::SerialSession::baud_
private

Definition at line 107 of file serial_session.h.

int rosserial_server::SerialSession::failed_connection_attempts_
private

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.


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


rosserial_server
Author(s): Mike Purvis
autogenerated on Mon Jun 10 2019 14:53:36