/workspaces/astro/sol3-sdk/cpp/sol3/core/any_message_output.h Source File
|
Space-ng SDK
|
any_message_output.h
Go to the documentation of this file.
Definition: any_message_output.h:17
AnyMessageOutput(IBufferExchange &exchange, MessagePort port, MessageSchema schema, size_t slot_count, size_t slot_size)
~AnyMessageOutput()
Unregisters the output buffer from the exchange.
flatbuffers::span< uint8_t const > headerSpan() const
AnyMessageOutput(AnyMessageOutput const &)=delete
AnyMessageOutput & operator=(AnyMessageOutput &&rhs)=delete
AnyMessageOutput(AnyMessageOutput &&rhs)=delete
MessagePort const & port() const
Destination message port.
Definition: any_message_output.h:41
TTableType const * payloadRoot() const
Definition: any_message_output.h:55
uint64_t write(flatbuffers::span< uint8_t const > header_span, flatbuffers::span< uint8_t const > payload_span)
Returns the sequence number of the slot written to.
msg::MessageHeader const * headerRoot() const
flatbuffers::span< uint8_t const > payloadSpan() const
AnyMessageOutput & operator=(AnyMessageOutput const &rhs)=delete
Interface for registering, discovering, and disposing shared buffers.
Definition: shmem_buffer.h:112
Definition: message_port.h:19
Definition: message_schema.h:12
static size_t minDataSize(size_t n_slots, size_t slot_size)
Minimum backing data size to hold n_slots of slot_size bytes.
Definition: any_message_input.h:15
Generated by