Class MessageBufferStreamSink
Defined in File serialization.hpp
Class Documentation
-
class MessageBufferStreamSink
A Boost IOStreams sink device designed to write bytes directly from a ROS message byte array (‘uint8[]’)
Public Functions
-
explicit MessageBufferStreamSink(std::vector<unsigned char> &data)
Construct a stream sink from a data vector.
The input vector type is designed to work with ROS message fields of type ‘uint8[]’
- Parameters:
data – [in] A byte vector from a ROS message
-
MessageBufferStreamSink operator=(const MessageBufferStreamSink&) = delete
The stream sink is non-copyable.
-
explicit MessageBufferStreamSink(std::vector<unsigned char> &data)