28 template <
class Message>
40 template <
class Processor>
45 case InstrumentDefinitionFixedIncome57::TemplateId:
47 processor(typify<InstrumentDefinitionFixedIncome57>(binary));
52 case ChannelReset4::TemplateId:
54 processor(typify<ChannelReset4>(binary));
59 case AdminHeartbeat12::TemplateId:
61 processor(typify<AdminHeartbeat12>(binary));
66 case AdminLogin15::TemplateId:
68 processor(typify<AdminLogin15>(binary));
73 case AdminLogout16::TemplateId:
75 processor(typify<AdminLogout16>(binary));
80 case InstrumentDefinitionFuture54::TemplateId:
82 processor(typify<InstrumentDefinitionFuture54>(binary));
87 case InstrumentDefinitionSpread56::TemplateId:
89 processor(typify<InstrumentDefinitionSpread56>(binary));
94 case SecurityStatus30::TemplateId:
96 processor(typify<SecurityStatus30>(binary));
101 case IncrementalRefreshBook46::TemplateId:
103 processor(typify<IncrementalRefreshBook46>(binary));
108 case IncrementalRefreshDailyStatistics49::TemplateId:
110 processor(typify<IncrementalRefreshDailyStatistics49>(binary));
115 case IncrementalRefreshLimitsBanding50::TemplateId:
117 processor(typify<IncrementalRefreshLimitsBanding50>(binary));
122 case IncrementalRefreshSessionStatistics51::TemplateId:
124 processor(typify<IncrementalRefreshSessionStatistics51>(binary));
129 case IncrementalRefreshVolume37::TemplateId:
131 processor(typify<IncrementalRefreshVolume37>(binary));
136 case SnapshotFullRefresh52::TemplateId:
138 processor(typify<SnapshotFullRefresh52>(binary));
143 case QuoteRequest39::TemplateId:
145 processor(typify<QuoteRequest39>(binary));
150 case InstrumentDefinitionOption55::TemplateId:
152 processor(typify<InstrumentDefinitionOption55>(binary));
157 case IncrementalRefreshTradeSummary48::TemplateId:
159 processor(typify<IncrementalRefreshTradeSummary48>(binary));
164 case IncrementalRefreshOrderBook47::TemplateId:
166 processor(typify<IncrementalRefreshOrderBook47>(binary));
171 case SnapshotFullRefreshOrderBook53::TemplateId:
173 processor(typify<SnapshotFullRefreshOrderBook53>(binary));
178 case AdminLogin408::TemplateId:
180 processor(typify<AdminLogin408>(binary));
185 case AdminLogout409::TemplateId:
187 processor(typify<AdminLogout409>(binary));
192 case AdminHeartbeat410::TemplateId:
194 processor(typify<AdminHeartbeat410>(binary));
Message typify(const BinaryMessage &message)
Casts SBE-encoded message to given type.
MessageTemplateId templateId() const
Template identifier of message being referenced.
#define ONIXS_CMEMDH_NAMESPACE_BEGIN
bool processTypified(const BinaryMessage &binary, Processor &processor)
Casts given binary message according to template/type information and processes casted messages by gi...
Encapsulates services for manipulating SBE-encoded messages.
EncodedLength encodedLength() const
Size of SBE-encoded message.
const void * encoded() const
SBE-encoded message content.
#define ONIXS_CMEMDH_NAMESPACE_END