| 
    Goby3 3.3.0
    
   2025.07.10 
   | 
 
Reads/Writes strings from/to a TCP connection using a Consistent Overhead Byte Stuffing (COBS) binary protocol. More...
#include <goby/middleware/io/cobs/tcp_client.h>
  
Public Member Functions | |
| TCPClientThreadCOBS (const goby::middleware::protobuf::TCPClientConfig &config, int index=-1) | |
| Constructs the thread.   | |
| ~TCPClientThreadCOBS () | |
  Public Member Functions inherited from goby::middleware::io::detail::TCPClientThread< line_in_group, line_out_group, publish_layer, subscribe_layer, Config, ThreadType, use_indexed_groups > | |
| TCPClientThread (const Config &config, int index=-1) | |
| Constructs the thread.   | |
| ~TCPClientThread () 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) | 
Reads/Writes strings from/to a TCP connection using a Consistent Overhead Byte Stuffing (COBS) binary protocol.
| packet_in_group | goby::middleware::Group to publish to after receiving data from the TCP socket | 
| packet_out_group | goby::middleware::Group to subcribe to for data to send to the TCP socket | 
Definition at line 74 of file tcp_client.h.
      
  | 
  inline | 
Constructs the thread.
| config | A reference to the Protocol Buffers config read by the main application at launch | 
| index | Thread index for multiple instances in a given application (-1 indicates a single instance) | 
Definition at line 85 of file tcp_client.h.
      
  | 
  inline | 
Definition at line 90 of file tcp_client.h.
      
  | 
  friend | 
      
  | 
  friend |