| 
    Goby3 3.3.0
    
   2025.07.10 
   | 
 
Reads/Writes strings from/to serial port using a line-based (typically ASCII) protocol with a defined end-of-line regex. More...
#include <goby/middleware/io/cobs/pty.h>
  
Public Member Functions | |
| PTYThreadCOBS (const goby::middleware::protobuf::PTYConfig &config, int index=-1) | |
| Constructs the thread.   | |
| ~PTYThreadCOBS () | |
  Public Member Functions inherited from goby::middleware::io::detail::PTYThread< line_in_group, line_out_group, publish_layer, subscribe_layer, ThreadType, use_indexed_groups > | |
| PTYThread (const goby::middleware::protobuf::PTYConfig &config, int index=-1) | |
| Constructs the thread.   | |
| ~PTYThread () override | |
  Public Member Functions inherited from goby::middleware::io::detail::IOThread< line_in_group, line_out_group, publish_layer, subscribe_layer, IOConfig, SocketType, ThreadType, use_indexed_groups > | |
| IOThread (const IOConfig &config, int index, std::string glog_group="i/o") | |
| Constructs the thread.   | |
| void | initialize () override | 
| void | finalize () override | 
| virtual | ~IOThread () | 
Friends | |
| template<class Thread > | |
| void | cobs_async_write (Thread *this_thread, std::shared_ptr< const goby::middleware::protobuf::IOData > io_msg) | 
| template<class Thread , class ThreadBase > | |
| void | cobs_async_read (Thread *this_thread, std::shared_ptr< ThreadBase > self) | 
Additional Inherited Members | |
  Protected Member Functions inherited from goby::middleware::io::detail::IOThread< line_in_group, line_out_group, publish_layer, subscribe_layer, IOConfig, SocketType, ThreadType, use_indexed_groups > | |
| void | write (std::shared_ptr< const goby::middleware::protobuf::IOData > io_msg) | 
| void | handle_read_success (std::size_t bytes_transferred, const std::string &bytes) | 
| void | handle_read_success (std::size_t bytes_transferred, std::shared_ptr< goby::middleware::protobuf::IOData > io_msg) | 
| void | handle_write_success (std::size_t bytes_transferred) | 
| void | handle_read_error (const boost::system::error_code &ec) | 
| void | handle_write_error (const boost::system::error_code &ec) | 
| SocketType & | mutable_socket () | 
| Access the (mutable) socket (or serial_port) object.   | |
| boost::asio::io_context & | mutable_io () | 
| bool | socket_is_open () | 
| Does the socket exist and is it open?   | |
| const std::string & | glog_group () | 
Reads/Writes strings from/to serial port using a line-based (typically ASCII) protocol with a defined end-of-line regex.
| line_in_group | goby::middleware::Group to publish to after receiving data from the serial port | 
| line_out_group | goby::middleware::Group to subcribe to for data to send to the serial port | 
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  friend | 
      
  | 
  friend |