Serialization of a set of buffers to be sent over a TCP socket as a single message. 更多...
#include <Message.h>
Public 成员函数 | |
bool | empty () const noexcept |
auto | GetBufferSequence () const |
template<typename... Buffers> | |
MessageTmpl (SharedBufferView buf, Buffers... buffers) | |
auto | size () const noexcept |
Size in bytes of the message excluding the header. | |
静态 Public 成员函数 | |
static constexpr size_t | max_size () |
Private 成员函数 | |
template<typename... Buffers> | |
MessageTmpl (size_t size, SharedBufferView buffer, Buffers... buffers) | |
MessageTmpl (size_t) | |
Private 成员函数 继承自 carla::NonCopyable | |
NonCopyable ()=default | |
NonCopyable (const NonCopyable &)=delete | |
NonCopyable (NonCopyable &&)=delete | |
NonCopyable & | operator= (const NonCopyable &)=delete |
NonCopyable & | operator= (NonCopyable &&)=delete |
Private 属性 | |
std::array< boost::asio::const_buffer, MaxNumberOfBuffers+1u > | _buffer_views |
std::array< SharedBufferView, MaxNumberOfBuffers > | _buffers |
message_size_type | _number_of_buffers = 0u |
message_size_type | _total_size = 0u |
Serialization of a set of buffers to be sent over a TCP socket as a single message.
Template paramenter MaxNumberOfBuffers imposes a compile-time limit on the maximum number of buffers that can be included in a single message.
|
inlineprivate |
|
inlineprivate |
引用了 carla::streaming::detail::tcp::MessageTmpl< MaxNumberOfBuffers >::_buffer_views, carla::streaming::detail::tcp::MessageTmpl< MaxNumberOfBuffers >::_buffers, carla::streaming::detail::tcp::MessageTmpl< MaxNumberOfBuffers >::_number_of_buffers, carla::streaming::detail::tcp::MessageTmpl< MaxNumberOfBuffers >::_total_size , 以及 carla::streaming::detail::tcp::MessageTmpl< MaxNumberOfBuffers >::size().
|
inline |
|
inlinenoexcept |
|
inline |
|
inlinestaticconstexpr |
被这些函数引用 carla::streaming::detail::tcp::MessageTmpl< MaxNumberOfBuffers >::MessageTmpl().
|
inlinenoexcept |
Size in bytes of the message excluding the header.
引用了 carla::streaming::detail::tcp::MessageTmpl< MaxNumberOfBuffers >::_total_size.
被这些函数引用 carla::streaming::detail::tcp::MessageTmpl< MaxNumberOfBuffers >::empty() , 以及 carla::streaming::detail::tcp::MessageTmpl< MaxNumberOfBuffers >::MessageTmpl().
|
private |
|
private |
|
private |
|
private |