24 #ifndef GOBY_MIDDLEWARE_IO_COBS_SERIAL_H
25 #define GOBY_MIDDLEWARE_IO_COBS_SERIAL_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>
73 ThreadType, use_indexed_groups>
76 ThreadType, use_indexed_groups>;
89 template <
class Thread>
91 std::shared_ptr<const goby::middleware::protobuf::IOData> io_msg);
93 template <
class Thread,
class ThreadBase>
99 void async_write(std::shared_ptr<const goby::middleware::protobuf::IOData> io_msg)
override
105 boost::asio::streambuf buffer_;