24 #ifndef GOBY_MIDDLEWARE_IO_COBS_PTY_H
25 #define GOBY_MIDDLEWARE_IO_COBS_PTY_H
30 #include <boost/asio/read_until.hpp>
31 #include <boost/asio/streambuf.hpp>
32 #include <boost/system/error_code.hpp>
70 bool use_indexed_groups =
false>
72 subscribe_layer, ThreadType, use_indexed_groups>
75 ThreadType, use_indexed_groups>;
88 template <
class Thread>
90 std::shared_ptr<const goby::middleware::protobuf::IOData> io_msg);
92 template <
class Thread,
class ThreadBase>
98 void async_write(std::shared_ptr<const goby::middleware::protobuf::IOData> io_msg)
override
104 boost::asio::streambuf buffer_;