38template <
typename Message>
45template<
typename Message>
50 ONIXS_ICEBOE_ASSERT(Message::getMaxMessageSize(maxGroupItems) <=
MaxSbeMessageSize),
51 static_cast<MessageSize>(Message::getMaxMessageSize(maxGroupItems));
55template<
typename Message>
57typename std::enable_if<MaxMessageSizeTraits<Message>::UseCustomValue,
MessageSize>::type
65template<
typename Message>
67typename std::enable_if<!MaxMessageSizeTraits<Message>::UseCustomValue,
MessageSize>::type
74template<
typename Message, UInt8 MaxGroupItems>
81template<
typename Message>
86 Message::blockLength(Message::Schema::Version)
88 + Message::getMinimalVariableFieldsSize(Message::Schema::Version);
92template<
typename Message>
#define ONIXS_ICEBOE_MESSAGING_NAMESPACE_BEGIN
#define ONIXS_ICEBOE_MESSAGING_NAMESPACE_END
constexpr UInt16 getMinMessageSize()
constexpr std::enable_if< MaxMessageSizeTraits< Message >::UseCustomValue, MessageSize >::type getMaxMessageSize(UInt8)
Calculates the buffer size for a message with the given number of repeating group items.
constexpr UInt16 MaxSbeMessageSize
Maximum supported message size.
UInt16 MessageSize
Message length type.
constexpr MessageSize calculateMaxMessageSize(UInt8 maxGroupItems)
Calculates the buffer size for a message with the given number of repeating group items.
Traits for calculating the buffer size of a message.
static constexpr bool UseCustomValue