OnixS C++ B3 BOE Binary Order Entry  1.2.0
API Documentation
MessageBatchChecker Class Reference

#include <OnixS/B3/BOE/messaging/MessageBatch.h>

Static Public Member Functions

template<typename SbeMessageType , size_t MaxMessageSize, typename MessageInitializer >
static size_t calculateBatchSize (MessageBatch< SbeMessageType, MaxMessageSize, MessageInitializer > &msgs) noexcept
 
template<typename SbeMessageType , size_t MaxMessageSize, typename MessageInitializer >
static size_t fitSize (MessageBatch< SbeMessageType, MaxMessageSize, MessageInitializer > &msgs, size_t size=defaultMaxPacketSize()) noexcept
 
static size_t calculateBatchSize (MessageBatchCombiner &msgs) noexcept
 
static bool fitSize (MessageBatchCombiner &msgs, size_t size=defaultMaxPacketSize()) noexcept
 

Detailed Description

Definition at line 203 of file MessageBatch.h.

Member Function Documentation

static size_t calculateBatchSize ( MessageBatch< SbeMessageType, MaxMessageSize, MessageInitializer > &  msgs)
inlinestaticnoexcept
Returns
The size of the message batch in bytes

Definition at line 208 of file MessageBatch.h.

static size_t calculateBatchSize ( MessageBatchCombiner msgs)
inlinestaticnoexcept
Returns
The size of the message batch in bytes

Definition at line 223 of file MessageBatch.h.

static size_t fitSize ( MessageBatch< SbeMessageType, MaxMessageSize, MessageInitializer > &  msgs,
size_t  size = defaultMaxPacketSize() 
)
inlinestaticnoexcept
Returns
true if the batch fits the size provided

Definition at line 216 of file MessageBatch.h.

static bool fitSize ( MessageBatchCombiner msgs,
size_t  size = defaultMaxPacketSize() 
)
inlinestaticnoexcept
Returns
true if the batch fits the size provided

Definition at line 229 of file MessageBatch.h.


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