cpp-msgpack-rpc 0.2.0
An RPC library implementing MessagePack RPC.
Loading...
Searching...
No Matches
msgpack_rpc::messages::impl::SharableBinaryHeader Struct Reference

Struct of headers of sharable binary data. More...

#include <msgpack_rpc/messages/impl/sharable_binary_header.h>

Collaboration diagram for msgpack_rpc::messages::impl::SharableBinaryHeader:

Public Attributes

std::size_t binary_capacity
 Capacity of the binary data.
std::size_t binary_size
 Size of the binary data.
bool is_reference_count_enabled
 Whether reference count is enabled.
char reference_count_buffer [sizeof(std::atomic< int >)]
 Buffer of the object of reference count.
std::size_t total_memory_size
 Total size of the memory buffer allocated for the binary data.

Detailed Description

Struct of headers of sharable binary data.

Definition at line 36 of file sharable_binary_header.h.

Member Data Documentation

◆ binary_capacity

std::size_t msgpack_rpc::messages::impl::SharableBinaryHeader::binary_capacity

Capacity of the binary data.

Definition at line 45 of file sharable_binary_header.h.

◆ binary_size

std::size_t msgpack_rpc::messages::impl::SharableBinaryHeader::binary_size

Size of the binary data.

Definition at line 42 of file sharable_binary_header.h.

◆ is_reference_count_enabled

bool msgpack_rpc::messages::impl::SharableBinaryHeader::is_reference_count_enabled

Whether reference count is enabled.

Definition at line 52 of file sharable_binary_header.h.

◆ reference_count_buffer

char msgpack_rpc::messages::impl::SharableBinaryHeader::reference_count_buffer[sizeof(std::atomic< int >)]

Buffer of the object of reference count.

Definition at line 49 of file sharable_binary_header.h.

◆ total_memory_size

std::size_t msgpack_rpc::messages::impl::SharableBinaryHeader::total_memory_size

Total size of the memory buffer allocated for the binary data.

Definition at line 39 of file sharable_binary_header.h.


The documentation for this struct was generated from the following file: