#include <OnixS/B3/BOE/messaging/MessageBatch.h>
Public Types | |
using | MsgHolder = MessageHolder< MessageTypeT, MaxMessageSize, MessageInitializer > |
using | MsgHolders = std::vector< MsgHolder > |
using | iterator = typename MsgHolders::iterator |
using | const_iterator = typename MsgHolders::const_iterator |
Public Member Functions | |
MessageBatch ()=default | |
MessageBatch (size_t size) | |
MessageBatch (std::initializer_list< MsgHolder > list) | |
MessageBatch (const MessageBatch &)=delete | |
MessageBatch & | operator= (const MessageBatch &)=delete |
void | add (const MsgHolder &msg) |
void | updateHeaders () |
MsgHolder & | operator[] (size_t index) |
const MsgHolder & | operator[] (size_t index) const |
size_t | size () const |
const_iterator | begin () const |
iterator | begin () |
const_iterator | end () const |
iterator | end () |
Friends | |
class | OnixS::B3::BOE::Session |
class | OnixS::B3::BOE::Messaging::MessageBatchChecker |
Definition at line 53 of file MessageBatch.h.
using const_iterator = typename MsgHolders::const_iterator |
Definition at line 61 of file MessageBatch.h.
using iterator = typename MsgHolders::iterator |
Definition at line 60 of file MessageBatch.h.
using MsgHolder = MessageHolder<MessageTypeT, MaxMessageSize, MessageInitializer> |
Definition at line 57 of file MessageBatch.h.
using MsgHolders = std::vector<MsgHolder> |
Definition at line 58 of file MessageBatch.h.
|
default |
Creates an empty message batch.
The add
method should be used to add a message to the batch.
|
inlineexplicit |
Creates a message batch with the given number of default constructed messages.
A message in the batch can be updated via operator[]
method.
Definition at line 73 of file MessageBatch.h.
|
inline |
Creates a message batch from the initializer list.
A message in the batch can be updated via operator[]
method.
Definition at line 82 of file MessageBatch.h.
|
delete |
|
inline |
Appends a message to the end of the batch.
Definition at line 93 of file MessageBatch.h.
|
inline |
Definition at line 118 of file MessageBatch.h.
|
inline |
Definition at line 119 of file MessageBatch.h.
|
inline |
Definition at line 121 of file MessageBatch.h.
|
inline |
Definition at line 122 of file MessageBatch.h.
|
delete |
|
inline |
Definition at line 113 of file MessageBatch.h.
|
inline |
Definition at line 114 of file MessageBatch.h.
|
inline |
Definition at line 116 of file MessageBatch.h.
|
inline |
Updates headers of SBE messages to be ready for sending.
Definition at line 105 of file MessageBatch.h.
|
friend |
Definition at line 127 of file MessageBatch.h.
|
friend |
Definition at line 126 of file MessageBatch.h.