Private Member Functions | List of all members
novatel_oem7_driver::Oem7ReceiverPort Class Reference
Inheritance diagram for novatel_oem7_driver::Oem7ReceiverPort:
Inheritance graph
[legend]

Private Member Functions

virtual size_t endpoint_read (boost::asio::mutable_buffer buf, boost::system::error_code &err)
 
void endpoint_try_open ()
 
virtual size_t endpoint_write (boost::asio::const_buffer buf, boost::system::error_code &err)
 

Additional Inherited Members

- Public Member Functions inherited from novatel_oem7_driver::Oem7Receiver< boost::asio::serial_port >
virtual bool initialize (ros::NodeHandle &h)
 
 Oem7Receiver ()
 
virtual bool read (boost::asio::mutable_buffer buf, size_t &rlen)
 
virtual bool write (boost::asio::const_buffer buf)
 
virtual ~Oem7Receiver ()
 
- Public Member Functions inherited from novatel_oem7_driver::Oem7ReceiverIf
virtual ~Oem7ReceiverIf ()
 
- Protected Member Functions inherited from novatel_oem7_driver::Oem7Receiver< boost::asio::serial_port >
void endpoint_close ()
 
bool in_error_state ()
 
- Protected Attributes inherited from novatel_oem7_driver::Oem7Receiver< boost::asio::serial_port >
boost::asio::serial_port endpoint_
 boost::asio communication endoint; socket, serial port, etc. More...
 
int max_num_io_errors_
 Number of consecutive io errors before declaring failure and quitting. More...
 
ros::NodeHandle nh_
 
int num_io_errors_
 Number of consecuitive io errors. More...
 

Detailed Description

Serial port (tty) implementation.

Definition at line 38 of file oem7_receiver_port.cpp.

Member Function Documentation

virtual size_t novatel_oem7_driver::Oem7ReceiverPort::endpoint_read ( boost::asio::mutable_buffer  buf,
boost::system::error_code &  err 
)
inlineprivatevirtual

Read some data from the endpoint.

Implements novatel_oem7_driver::Oem7Receiver< boost::asio::serial_port >.

Definition at line 72 of file oem7_receiver_port.cpp.

void novatel_oem7_driver::Oem7ReceiverPort::endpoint_try_open ( )
inlineprivatevirtual

Attempt to opena the endpoint.

Implements novatel_oem7_driver::Oem7Receiver< boost::asio::serial_port >.

Definition at line 40 of file oem7_receiver_port.cpp.

virtual size_t novatel_oem7_driver::Oem7ReceiverPort::endpoint_write ( boost::asio::const_buffer  buf,
boost::system::error_code &  err 
)
inlineprivatevirtual

Write some data to the endpoint

Implements novatel_oem7_driver::Oem7Receiver< boost::asio::serial_port >.

Definition at line 78 of file oem7_receiver_port.cpp.


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


novatel_oem7_driver
Author(s):
autogenerated on Tue Mar 9 2021 03:48:00