Namespaces | |
| namespace | details |
Classes | |
| class | DataFeed |
| struct | EventFlags |
| class | MessageHolder |
| class | MessageRecipe |
| class | MulticastDelivery |
| class | MulticastSender |
| class | MulticastTarget |
| struct | MulticastTargetOptions |
| class | PacketHolder |
Typedefs | |
| using | MulticastFeed = DataFeed<MulticastDelivery> |
| using | MulticastTargetPtr = std::unique_ptr<MulticastTarget> |
| using | ByteSpan = std::span<const std::uint8_t> |
| using | IncrementalRefreshBook = MessageHolder<Messaging::IncrementalRefreshBook46> |
| using | IncrementalRefreshOrderBook = MessageHolder<Messaging::IncrementalRefreshOrderBook47> |
| using | IncrementalRefreshSessionStatistics = MessageHolder<Messaging::IncrementalRefreshSessionStatistics51> |
| using | IncrementalRefreshTradeSummary = MessageHolder<Messaging::IncrementalRefreshTradeSummary48> |
| using | InstrumentDefinitionFuture = MessageHolder<Messaging::InstrumentDefinitionFuture54> |
| using | QuoteRequest = MessageHolder<Messaging::QuoteRequest39> |
| using | SecurityStatus = MessageHolder<Messaging::SecurityStatus30> |
| using | SnapshotFullRefresh = MessageHolder<Messaging::SnapshotFullRefresh52> |
| using | SnapshotFullRefreshOrderBook = MessageHolder<Messaging::SnapshotFullRefreshOrderBook53> |
Functions | |
| template<typename Holder, typename Factory> | |
| auto | operator| (Holder &message, details::DeferredMessageOperation< Factory > &&deferredOperation) -> typename std::enable_if< !details::IsMessageRecipe< typename std::decay< Holder >::type >::value, decltype(std::move(deferredOperation).materialize().apply(message), message)>::type |
| template<typename Holder, typename... Operations, typename Factory> | |
| auto | operator| (const MessageRecipe< Holder, Operations... > &recipe, details::DeferredMessageOperation< Factory > &&deferredOperation) -> decltype(recipe.append(std::move(deferredOperation).materialize())) |
| template<typename Holder, typename... Operations, typename Factory> | |
| auto | operator| (MessageRecipe< Holder, Operations... > &&recipe, details::DeferredMessageOperation< Factory > &&deferredOperation) -> decltype(std::move(recipe).append(std::move(deferredOperation).materialize())) |
| template<Messaging::UpdateAction::Enum Action, typename Holder, typename Range, typename Projection> | |
| auto | addEntries (Holder &message, Range &&range, Projection &&projection) -> decltype(details::addEntriesFromIterators< Action >(message, details::rangeBegin(range), details::rangeEnd(range), std::forward< Projection >(projection))) |
| template<Messaging::UpdateAction::Enum Action, typename Range, typename Projection> | |
| auto | entries (Range &&range, Projection &&projection) -> details::EntryRangeStage< Action, typename std::remove_reference< Range >::type, typename std::remove_reference< Projection >::type > |
| template<typename Holder, typename... Operations, Messaging::UpdateAction::Enum Action, typename Range, typename Projection> | |
| auto | operator| (const MessageRecipe< Holder, Operations... > &recipe, details::EntryRangeStage< Action, Range, Projection > &&stage) -> decltype(recipe.append(std::move(stage).materialize())) |
| template<typename Holder, typename... Operations, Messaging::UpdateAction::Enum Action, typename Range, typename Projection> | |
| auto | operator| (MessageRecipe< Holder, Operations... > &&recipe, details::EntryRangeStage< Action, Range, Projection > &&stage) -> decltype(std::move(recipe).append(std::move(stage).materialize())) |
| template<typename MessageType, size_t MaxMessageSize> | |
| void | toStr (std::string &str, const MessageHolder< MessageType, MaxMessageSize > &holder) |
| template<typename MessageType, size_t MaxMessageSize> | |
| std::string | toStr (const MessageHolder< MessageType, MaxMessageSize > &holder) |
| template<typename MessageType, size_t MaxMessageSize> | |
| std::ostream & | operator<< (std::ostream &stream, const MessageHolder< MessageType, MaxMessageSize > &rhs) |
| template<std::size_t Index, typename... MessageTypes> | |
| auto | get (PacketHolder< MessageTypes... > &holder) noexcept -> decltype(holder.template get< Index >()) |
| template<std::size_t Index, typename... MessageTypes> | |
| auto | get (const PacketHolder< MessageTypes... > &holder) noexcept -> decltype(holder.template get< Index >()) |
| template<typename... MessageTypes> | |
| void | toStr (std::string &str, const PacketHolder< MessageTypes... > &holder) |
| template<typename... MessageTypes> | |
| std::string | toStr (const PacketHolder< MessageTypes... > &holder) |
| template<typename... MessageTypes> | |
| std::ostream & | operator<< (std::ostream &stream, const PacketHolder< MessageTypes... > &holder) |
| void | toStr (std::string &str, ByteSpan span) |
| std::string | toStr (ByteSpan span) |
| void | toStr (std::string &str, const ByteSpan spans[], size_t spansCount) |
| std::string | toStr (const ByteSpan spans[], size_t spansCount) |
| std::string | loopbackNetworkInterface () |
| std::string | generateConnectivityConfiguration (ChannelId channel=999) |
| FeedSettings | generateFeedSettings (ChannelId channel=999) |
| template<typename Holder, details::IncrementalRefreshBookInitializationTag...> | |
| auto | initialize (Holder &message, EventFlags::Bits eventIndicator, Messaging::Timestamp transactTime=UtcWatch::now()) noexcept -> details::EnableIncrementalRefreshBook< Holder > |
| template<typename Holder, details::IncrementalRefreshBookInitializationTag...> | |
| auto | initialize (EventFlags::Bits eventIndicator, Messaging::Timestamp transactTime=UtcWatch::now()) -> decltype(details::makeInitializationRecipe< Holder, IncrementalRefreshBook >(eventIndicator, transactTime)) |
| template<Messaging::UpdateAction::Enum Action, typename Holder> | |
| auto | addEntry (Holder &message, SecurityId securityId, Messaging::EntryTypeBook::Enum entryType, Messaging::UInt32 rptSeq, Messaging::UInt8 priceLevel) -> details::EnableDeleteMdEntry< Action, Holder > |
| template<Messaging::UpdateAction::Enum Action, typename Holder> | |
| auto | addEntry (Holder &message, SecurityId securityId, Messaging::EntryTypeBook::Enum entryType, Messaging::UInt32 rptSeq, Messaging::UInt8 priceLevel, Messaging::Decimal9 price, Messaging::Int32 quantity, Messaging::Int32 numberOfOrders) -> details::EnableValueMdEntry< Action, Holder > |
| template<Messaging::OrderUpdateAction::Enum Action, typename Holder> | |
| auto | addOrderIdEntry (Holder &message, OrderId orderId, OrderPriority orderPriority, DisplayQuantity quantity, Messaging::UInt8 referenceId) -> details::EnableOrderIdEntry< Action, Holder > |
| template<Messaging::OrderUpdateAction::Enum Action> | |
| auto | orderIdEntry (OrderId orderId, OrderPriority orderPriority, DisplayQuantity quantity, Messaging::UInt8 referenceId) -> typename std::enable_if< details::IsOrderIdEntryAction< Action >::value, decltype(details::makeMessageOperation< details::OrderIdEntryOperation< Action > >(orderId, orderPriority, quantity, referenceId))>::type |
| template<typename Holder, details::IncrementalRefreshOrderBookInitializationTag...> | |
| auto | initialize (Holder &message, EventFlags::Bits eventIndicator, Messaging::Timestamp transactTime=UtcWatch::now()) noexcept -> details::EnableIncrementalRefreshOrderBook< Holder > |
| template<typename Holder, details::IncrementalRefreshOrderBookInitializationTag...> | |
| auto | initialize (EventFlags::Bits eventIndicator, Messaging::Timestamp transactTime=UtcWatch::now()) -> decltype(details::makeInitializationRecipe< Holder, IncrementalRefreshOrderBook >(eventIndicator, transactTime)) |
| template<Messaging::UpdateAction::Enum Action, typename Holder> | |
| auto | addEntry (Holder &message, SecurityId securityId, OrderId orderId, OrderPriority orderPriority, Messaging::Decimal9 price, DisplayQuantity quantity, Messaging::EntryTypeBook::Enum entryType) -> details::EnableOrderBookMdEntry< Action, Holder > |
| template<typename Holder, details::IncrementalRefreshSessionStatisticsInitializationTag...> | |
| auto | initialize (Holder &message, EventFlags::Bits eventIndicator, Messaging::Timestamp transactTime=UtcWatch::now()) noexcept -> details::EnableIncrementalRefreshSessionStatistics< Holder > |
| template<typename Holder, details::IncrementalRefreshSessionStatisticsInitializationTag...> | |
| auto | initialize (EventFlags::Bits eventIndicator, Messaging::Timestamp transactTime=UtcWatch::now()) -> decltype(details::makeInitializationRecipe< Holder, IncrementalRefreshSessionStatistics >(eventIndicator, transactTime)) |
| template<Messaging::UpdateAction::Enum Action, typename Holder> | |
| auto | addEntry (Holder &message, SecurityId securityId, Messaging::EntryTypeStatistics::Enum entryType, Messaging::UInt32 rptSeq, Messaging::Decimal9 price) -> details::EnableSessionStatisticsEntry< Action, Holder > |
| template<typename Holder, details::IncrementalRefreshTradeSummaryInitializationTag...> | |
| auto | initialize (Holder &message, EventFlags::Bits eventIndicator, Messaging::Timestamp transactTime=UtcWatch::now()) noexcept -> details::EnableIncrementalRefreshTradeSummary< Holder > |
| template<typename Holder, details::IncrementalRefreshTradeSummaryInitializationTag...> | |
| auto | initialize (EventFlags::Bits eventIndicator, Messaging::Timestamp transactTime=UtcWatch::now()) -> decltype(details::makeInitializationRecipe< Holder, IncrementalRefreshTradeSummary >(eventIndicator, transactTime)) |
| template<Messaging::UpdateAction::Enum Action, typename Holder> | |
| auto | addEntry (Holder &message, SecurityId securityId, Messaging::UInt32 rptSeq, Messaging::Decimal9 price, Messaging::Int32 quantity, Messaging::Int32 numberOfOrders) -> details::EnableTradeSummaryEntry< Action, Holder > |
| template<typename Holder> | |
| auto | addOrderIdEntry (Holder &message, OrderId orderId, Messaging::Int32 lastQuantity) -> details::EnableIncrementalRefreshTradeSummary< Holder > |
| auto | tradeEntry (OrderId orderId, Messaging::Int32 lastQuantity) -> decltype(details::makeMessageOperation< details::TradeEntryOperation >(orderId, lastQuantity)) |
| constexpr Messaging::StrRef | DefaultInstrumentDefinitionFutureSymbol () noexcept |
| constexpr Messaging::StrRef | DefaultInstrumentDefinitionFutureGroup () noexcept |
| constexpr Messaging::StrRef | DefaultInstrumentDefinitionFutureAsset () noexcept |
| template<Messaging::SecurityUpdateAction::Enum Action, typename Holder, details::InstrumentDefinitionFutureInitializationTag...> | |
| auto | initialize (Holder &message, Messaging::UInt32 totNumReports, SecurityId securityId, Messaging::StrRef symbol=DefaultInstrumentDefinitionFutureSymbol(), Messaging::StrRef group=DefaultInstrumentDefinitionFutureGroup(), Messaging::StrRef asset=DefaultInstrumentDefinitionFutureAsset(), Messaging::Int8 realMarketDepth=DefaultInstrumentDefinitionFutureRealMarketDepth, Messaging::Int8 impliedMarketDepth=DefaultInstrumentDefinitionFutureImpliedMarketDepth, Messaging::Timestamp lastUpdateTime=UtcWatch::now()) -> details::EnableAddOrModifyInstrumentDefinition< Action, Holder > |
| template<typename Holder, Messaging::SecurityUpdateAction::Enum Action, details::InstrumentDefinitionFutureInitializationTag...> | |
| auto | initialize (Messaging::UInt32 totNumReports, SecurityId securityId, Messaging::StrRef symbol=DefaultInstrumentDefinitionFutureSymbol(), Messaging::StrRef group=DefaultInstrumentDefinitionFutureGroup(), Messaging::StrRef asset=DefaultInstrumentDefinitionFutureAsset(), Messaging::Int8 realMarketDepth=DefaultInstrumentDefinitionFutureRealMarketDepth, Messaging::Int8 impliedMarketDepth=DefaultInstrumentDefinitionFutureImpliedMarketDepth, Messaging::Timestamp lastUpdateTime=UtcWatch::now()) -> typename std::enable_if< details::IsAddOrModifyInstrumentDefinition< Action >::value &&details::IsMutableMessageHolder< InstrumentDefinitionFuture, Holder >::value, decltype(details::makeInitializationRecipe< Holder, InstrumentDefinitionFuture, details::AddOrModifyInstrumentDefinitionOperation< Action > >(totNumReports, securityId, symbol, group, asset, realMarketDepth, impliedMarketDepth, lastUpdateTime))>::type |
| template<Messaging::SecurityUpdateAction::Enum Action, typename Holder, details::InstrumentDefinitionFutureInitializationTag...> | |
| auto | initialize (Holder &message, Messaging::UInt32 totNumReports, SecurityId securityId, Messaging::Timestamp lastUpdateTime=UtcWatch::now()) -> details::EnableDeleteInstrumentDefinition< Action, Holder > |
| template<typename Holder, Messaging::SecurityUpdateAction::Enum Action, details::InstrumentDefinitionFutureInitializationTag...> | |
| auto | initialize (Messaging::UInt32 totNumReports, SecurityId securityId, Messaging::Timestamp lastUpdateTime=UtcWatch::now()) -> typename std::enable_if< details::IsDeleteInstrumentDefinition< Action >::value &&details::IsMutableMessageHolder< InstrumentDefinitionFuture, Holder >::value, decltype(details::makeInitializationRecipe< Holder, InstrumentDefinitionFuture, details::DeleteInstrumentDefinitionOperation< Action > >(totNumReports, securityId, lastUpdateTime))>::type |
| template<typename Holder, details::QuoteRequestInitializationTag...> | |
| auto | initialize (Holder &message, Messaging::StrRef quoteRequestId, EventFlags::Bits eventIndicator=EventFlags::None, Messaging::Timestamp transactTime=UtcWatch::now()) -> details::EnableQuoteRequest< Holder > |
| template<typename Holder, details::QuoteRequestInitializationTag...> | |
| auto | initialize (Messaging::StrRef quoteRequestId, EventFlags::Bits eventIndicator=EventFlags::None, Messaging::Timestamp transactTime=UtcWatch::now()) -> decltype(details::makeInitializationRecipe< Holder, QuoteRequest, details::QuoteRequestInitializationOperation >(quoteRequestId, eventIndicator, transactTime)) |
| template<typename Holder> | |
| auto | addQuoteEntry (Holder &message, SecurityId securityId, Messaging::StrRef symbol, Messaging::Int8 quoteType, Messaging::Int32 orderQuantity, Messaging::Int8 side) -> details::EnableQuoteRequest< Holder > |
| auto | quoteEntry (SecurityId securityId, Messaging::StrRef symbol, Messaging::Int8 quoteType, Messaging::Int32 orderQuantity, Messaging::Int8 side) -> decltype(details::makeMessageOperation< details::QuoteEntryOperation >(securityId, details::QuoteSymbol(symbol), quoteType, orderQuantity, side)) |
| template<typename Holder, details::SecurityStatusInitializationTag...> | |
| auto | initialize (Holder &message, SecurityId securityId, Messaging::SecurityTradingStatus::Enum securityTradingStatus, EventFlags::Bits eventIndicator=EventFlags::None, Messaging::Timestamp transactTime=UtcWatch::now()) -> details::EnableSecurityStatus< Holder > |
| template<typename Holder, details::SecurityStatusInitializationTag...> | |
| auto | initialize (SecurityId securityId, Messaging::SecurityTradingStatus::Enum securityTradingStatus, EventFlags::Bits eventIndicator=EventFlags::None, Messaging::Timestamp transactTime=UtcWatch::now()) -> decltype(details::makeInitializationRecipe< Holder, SecurityStatus, details::SecurityStatusInitializationOperation >(securityId, securityTradingStatus, eventIndicator, transactTime)) |
| template<typename Holder, details::SnapshotFullRefreshInitializationTag...> | |
| auto | initialize (Holder &message, Messaging::UInt32 totNumReports, SecurityId securityId, SequenceNumber lastMsgSeqNumProcessed, Messaging::UInt32 rptSeq, Messaging::Timestamp transactTime, Messaging::Timestamp updateTime) -> details::EnableSnapshotFullRefresh< Holder > |
| template<typename Holder, details::SnapshotFullRefreshInitializationTag...> | |
| auto | initialize (Holder &message, Messaging::UInt32 totNumReports, SecurityId securityId, SequenceNumber lastMsgSeqNumProcessed, Messaging::UInt32 rptSeq, Messaging::Timestamp timestamp=UtcWatch::now()) -> details::EnableSnapshotFullRefresh< Holder > |
| template<typename Holder, details::SnapshotFullRefreshInitializationTag...> | |
| auto | initialize (Messaging::UInt32 totNumReports, SecurityId securityId, SequenceNumber lastMsgSeqNumProcessed, Messaging::UInt32 rptSeq, Messaging::Timestamp transactTime, Messaging::Timestamp updateTime) -> decltype(details::makeInitializationRecipe< Holder, SnapshotFullRefresh, details::SnapshotFullRefreshInitializationOperation >(totNumReports, securityId, lastMsgSeqNumProcessed, rptSeq, transactTime, updateTime)) |
| template<typename Holder, details::SnapshotFullRefreshInitializationTag...> | |
| auto | initialize (Messaging::UInt32 totNumReports, SecurityId securityId, SequenceNumber lastMsgSeqNumProcessed, Messaging::UInt32 rptSeq, Messaging::Timestamp timestamp=UtcWatch::now()) -> decltype(initialize< Holder >(totNumReports, securityId, lastMsgSeqNumProcessed, rptSeq, timestamp, timestamp)) |
| template<typename Holder> | |
| auto | addEntry (Holder &message, Messaging::EntryType::Enum entryType, Messaging::Int8 priceLevel, Messaging::Decimal9 price, Messaging::Int32 quantity, Messaging::Int32 numberOfOrders) -> details::EnableSnapshotFullRefresh< Holder > |
| template<typename Holder, details::SnapshotFullRefreshOrderBookInitializationTag...> | |
| auto | initialize (Holder &message, Messaging::UInt32 totNumReports, SecurityId securityId, SequenceNumber lastMsgSeqNumProcessed, Messaging::UInt32 numberOfChunks, Messaging::UInt32 currentChunk, Messaging::Timestamp transactTime=UtcWatch::now()) -> details::EnableSnapshotFullRefreshOrderBook< Holder > |
| template<typename Holder, details::SnapshotFullRefreshOrderBookInitializationTag...> | |
| auto | initialize (Messaging::UInt32 totNumReports, SecurityId securityId, SequenceNumber lastMsgSeqNumProcessed, Messaging::UInt32 numberOfChunks, Messaging::UInt32 currentChunk, Messaging::Timestamp transactTime=UtcWatch::now()) -> decltype(details::makeInitializationRecipe< Holder, SnapshotFullRefreshOrderBook, details::SnapshotFullRefreshOrderBookInitializationOperation >(totNumReports, securityId, lastMsgSeqNumProcessed, numberOfChunks, currentChunk, transactTime)) |
| template<typename Holder> | |
| auto | addEntry (Holder &message, OrderId orderId, OrderPriority orderPriority, Messaging::Decimal9 price, DisplayQuantity quantity, Messaging::EntryTypeBook::Enum entryType) -> details::EnableSnapshotFullRefreshOrderBook< Holder > |
| ByteSpan | asSpan (const PacketHeader &header) noexcept |
| template<typename MessageType, size_t MaxMessageSize> | |
| ByteSpan | asSpan (MessageHolder< MessageType, MaxMessageSize > &holder) noexcept |
| template<typename MessageType, size_t MaxMessageSize> | |
| ByteSpan | asSpan (MessageHolder< MessageType, MaxMessageSize > &&holder) noexcept |
Variables | |
| constexpr const char *const | MulticastEgressEnvironmentVariable = "ONIXS_CMEMDH_ALLOW_MULTICAST_EGRESS" |
| constexpr const char *const | AllowAnyMulticastDestinationEnvironmentVariable = "ONIXS_CMEMDH_ALLOW_ANY_MULTICAST_DESTINATION" |
| constexpr Messaging::Int8 | DefaultInstrumentDefinitionFutureRealMarketDepth = 5 |
| constexpr Messaging::Int8 | DefaultInstrumentDefinitionFutureImpliedMarketDepth = 2 |
| using ByteSpan = std::span<const std::uint8_t> |
Provides a non-owning read-only view over contiguous byte storage.
This alias exposes the dynamic-extent specialization of std::span. Copying the view does not copy the bytes. The referenced storage must remain alive and must not move while the view or any of its iterators is in use.
Definition at line 44 of file ByteSpan.h.
Owns storage for an incremental book refresh test message.
Definition at line 36 of file IncrementalRefreshBook.h.
Owns storage for an incremental order-book refresh test message.
Definition at line 36 of file IncrementalRefreshOrderBook.h.
| using IncrementalRefreshSessionStatistics = MessageHolder<Messaging::IncrementalRefreshSessionStatistics51> |
Owns storage for an incremental session-statistics refresh test message.
Definition at line 35 of file IncrementalRefreshSessionStatistics.h.
Owns storage for an incremental trade-summary refresh test message.
Definition at line 36 of file IncrementalRefreshTradeSummary.h.
Owns storage for a futures instrument-definition test message.
Definition at line 35 of file InstrumentDefinitionFuture.h.
| using MulticastFeed = DataFeed<MulticastDelivery> |
Builds and sends CME MDP packets to a configured multicast feed type.
This specialization uses MulticastDelivery for multicast routing, synchronous primary delivery, optional delayed secondary delivery, completion events, and UDP failure reporting.
Definition at line 135 of file MulticastFeed.h.
| using MulticastTargetPtr = std::unique_ptr<MulticastTarget> |
Definition at line 528 of file MulticastSender.h.
Owns storage for a quote-request test message.
Definition at line 40 of file QuoteRequest.h.
Owns storage for a security-status test message.
Definition at line 35 of file SecurityStatus.h.
Owns storage for a full snapshot refresh test message.
Definition at line 34 of file SnapshotFullRefresh.h.
Owns storage for a full order-book snapshot refresh test message.
Definition at line 35 of file SnapshotFullRefreshOrderBook.h.
| auto addEntries | ( | Holder & | message, |
| Range && | range, | ||
| Projection && | projection ) -> decltype(details::addEntriesFromIterators< Action >( message, details::rangeBegin(range), details::rangeEnd(range), std::forward< Projection >(projection))) |
Appends entries projected from an input range.
| Action | Update action passed to the destination message's typed entry builder. |
| Holder | Mutable message-holder type accepted by that entry builder. |
| Range | Input range type. |
| Projection | Callable mapping each input value to tuple-like entry arguments. |
| message | Destination message holder. |
| range | Input range consumed once in iteration order. |
| projection | Callable invoked once per consumed value. |
| std::runtime_error | If an existing entry builder cannot represent another entry. |
| Any | exception thrown while accessing the range, invoking projection, or constructing an entry. |
Action and message. projection must remain valid until construction of the corresponding entry finishes. The projection must not structurally modify message or invalidate the input range. message. Definition at line 282 of file MessageBuilder.h.
| auto addEntry | ( | Holder & | message, |
| Messaging::EntryType::Enum | entryType, | ||
| Messaging::Int8 | priceLevel, | ||
| Messaging::Decimal9 | price, | ||
| Messaging::Int32 | quantity, | ||
| Messaging::Int32 | numberOfOrders ) -> details::EnableSnapshotFullRefresh< Holder > |
Appends an entry to a full snapshot refresh message.
| Holder | A mutable full snapshot refresh holder type. |
| message | The message holder to update. |
| entryType | The market-data entry type. |
| priceLevel | The aggregate book position, or zero for non-book entries. |
| price | The entry price. |
| quantity | The entry quantity. |
| numberOfOrders | The aggregate number of orders at the price level. |
| std::runtime_error | If no further entries can be represented by the message. |
Definition at line 199 of file SnapshotFullRefresh.h.
| auto addEntry | ( | Holder & | message, |
| OrderId | orderId, | ||
| OrderPriority | orderPriority, | ||
| Messaging::Decimal9 | price, | ||
| DisplayQuantity | quantity, | ||
| Messaging::EntryTypeBook::Enum | entryType ) -> details::EnableSnapshotFullRefreshOrderBook< Holder > |
Appends an entry to a full order-book snapshot refresh message.
| Holder | A mutable full order-book snapshot refresh holder type. |
| message | The message holder to update. |
| orderId | The exchange-assigned order identifier. |
| orderPriority | The order's matching priority. |
| price | The order price. |
| quantity | The displayed order quantity. |
| entryType | The entry's book side. |
| std::runtime_error | If no further entries can be represented by the message. |
Definition at line 152 of file SnapshotFullRefreshOrderBook.h.
| auto addEntry | ( | Holder & | message, |
| SecurityId | securityId, | ||
| Messaging::EntryTypeBook::Enum | entryType, | ||
| Messaging::UInt32 | rptSeq, | ||
| Messaging::UInt8 | priceLevel ) -> details::EnableDeleteMdEntry< Action, Holder > |
Appends a market-data entry whose price, quantity, and order count are null.
| Action | A delete-style update action. |
| Holder | A mutable incremental book refresh holder type. |
| message | The message holder to update. |
| securityId | The entry's security identifier. |
| entryType | The entry's book side or type. |
| rptSeq | The entry's per-security report sequence number. |
| priceLevel | The entry's price level. |
| std::runtime_error | If no further entries can be represented by the message. |
Definition at line 179 of file IncrementalRefreshBook.h.
| auto addEntry | ( | Holder & | message, |
| SecurityId | securityId, | ||
| Messaging::EntryTypeBook::Enum | entryType, | ||
| Messaging::UInt32 | rptSeq, | ||
| Messaging::UInt8 | priceLevel, | ||
| Messaging::Decimal9 | price, | ||
| Messaging::Int32 | quantity, | ||
| Messaging::Int32 | numberOfOrders ) -> details::EnableValueMdEntry< Action, Holder > |
Appends a market-data entry containing price, quantity, and order-count values.
| Action | A value-bearing update action. |
| Holder | A mutable incremental book refresh holder type. |
| message | The message holder to update. |
| securityId | The entry's security identifier. |
| entryType | The entry's book side or type. |
| rptSeq | The entry's per-security report sequence number. |
| priceLevel | The entry's price level. |
| price | The entry price. |
| quantity | The entry quantity. |
| numberOfOrders | The number of orders represented by the entry. |
| std::runtime_error | If no further entries can be represented by the message. |
Definition at line 202 of file IncrementalRefreshBook.h.
| auto addEntry | ( | Holder & | message, |
| SecurityId | securityId, | ||
| Messaging::EntryTypeStatistics::Enum | entryType, | ||
| Messaging::UInt32 | rptSeq, | ||
| Messaging::Decimal9 | price ) -> details::EnableSessionStatisticsEntry< Action, Holder > |
Appends an entry to an incremental session-statistics refresh message.
| Action | New or Delete market-data update action to encode. |
| Holder | A mutable incremental session-statistics refresh holder type. |
| message | The message holder to update. |
| securityId | The entry's security identifier. |
| entryType | The session-statistics entry type. |
| rptSeq | The entry's per-security report sequence number. |
| price | The statistics price. |
| std::runtime_error | If no further entries can be represented by the message. |
Definition at line 114 of file IncrementalRefreshSessionStatistics.h.
| auto addEntry | ( | Holder & | message, |
| SecurityId | securityId, | ||
| Messaging::UInt32 | rptSeq, | ||
| Messaging::Decimal9 | price, | ||
| Messaging::Int32 | quantity, | ||
| Messaging::Int32 | numberOfOrders ) -> details::EnableTradeSummaryEntry< Action, Holder > |
Appends a summary entry to an incremental trade-summary refresh message.
| Action | New, Change, or Delete market-data update action to encode. |
| Holder | A mutable incremental trade-summary refresh holder type. |
| message | The message holder to update. |
| securityId | The entry's security identifier. |
| rptSeq | The entry's per-security report sequence number. |
| price | The consolidated trade price. |
| quantity | The consolidated trade quantity. |
| numberOfOrders | The number of real orders participating in the match step. |
| std::runtime_error | If no further entries can be represented by the message. |
Definition at line 131 of file IncrementalRefreshTradeSummary.h.
| auto addEntry | ( | Holder & | message, |
| SecurityId | securityId, | ||
| OrderId | orderId, | ||
| OrderPriority | orderPriority, | ||
| Messaging::Decimal9 | price, | ||
| DisplayQuantity | quantity, | ||
| Messaging::EntryTypeBook::Enum | entryType ) -> details::EnableOrderBookMdEntry< Action, Holder > |
Appends an order-book entry to an incremental order-book refresh message.
| Action | The order-book update action to encode. |
| Holder | A mutable incremental order-book refresh holder type. |
| message | The message holder to update. |
| securityId | The entry's security identifier. |
| orderId | The exchange-assigned order identifier. |
| orderPriority | The order's matching priority. |
| price | The order price. |
| quantity | The displayed order quantity. |
| entryType | The entry's book side. |
| std::runtime_error | If no further entries can be represented by the message. |
Definition at line 119 of file IncrementalRefreshOrderBook.h.
| auto addOrderIdEntry | ( | Holder & | message, |
| OrderId | orderId, | ||
| Messaging::Int32 | lastQuantity ) -> details::EnableIncrementalRefreshTradeSummary< Holder > |
Appends an order-ID entry to an incremental trade-summary refresh message.
| Holder | A mutable incremental trade-summary refresh holder type. |
| message | The message holder to update. |
| orderId | The exchange-assigned order identifier. |
| lastQuantity | The quantity bought or sold on the fill. |
| std::runtime_error | If no further order-ID entries can be represented by the message. |
Definition at line 150 of file IncrementalRefreshTradeSummary.h.
| auto addOrderIdEntry | ( | Holder & | message, |
| OrderId | orderId, | ||
| OrderPriority | orderPriority, | ||
| DisplayQuantity | quantity, | ||
| Messaging::UInt8 | referenceId ) -> details::EnableOrderIdEntry< Action, Holder > |
Appends an order-ID entry to an incremental book refresh message.
| Action | The order update action to encode. |
| Holder | A mutable incremental book refresh holder type. |
| message | The message holder to update. |
| orderId | The exchange-assigned order identifier. |
| orderPriority | The order's matching priority. |
| quantity | The displayed order quantity. |
| referenceId | The one-based index of the associated market-data entry. |
| std::runtime_error | If no further order-ID entries can be represented by the message. |
Definition at line 224 of file IncrementalRefreshBook.h.
| auto addQuoteEntry | ( | Holder & | message, |
| SecurityId | securityId, | ||
| Messaging::StrRef | symbol, | ||
| Messaging::Int8 | quoteType, | ||
| Messaging::Int32 | orderQuantity, | ||
| Messaging::Int8 | side ) -> details::EnableQuoteRequest< Holder > |
Appends a related-symbol entry to a quote-request message.
| Holder | A mutable quote-request holder type. |
| message | The message holder to update. |
| securityId | The requested instrument's security identifier. |
| symbol | The requested instrument's symbol. |
| quoteType | The type of quote requested. |
| orderQuantity | The requested quantity, or the protocol null value. |
| side | The requested side, or the protocol null value. |
| std::runtime_error | If no further entries can be represented by the message. |
Definition at line 169 of file QuoteRequest.h.
|
inlinenoexcept |
Provides a read-only byte view of a packet header.
| header | Packet header whose object representation is exposed. |
header. header remains alive at the same address.
|
inlinenoexcept |
Commits a temporary held message and provides its network-ready byte view.
| MessageType | Message type stored by the holder. |
| MaxMessageSize | Maximum encoded message size, excluding the message prefix. |
| holder | Temporary holder whose message prefix is refreshed before creating the view. |
|
inlinenoexcept |
Commits a held message and provides its network-ready byte view.
| MessageType | Message type stored by the holder. |
| MaxMessageSize | Maximum encoded message size, excluding the message prefix. |
| holder | Holder whose message prefix is refreshed before creating the view. |
holder remains alive at the same address.
|
inlineconstexprnoexcept |
Returns the default futures asset used by the test builder.
Definition at line 56 of file InstrumentDefinitionFuture.h.
|
inlineconstexprnoexcept |
Returns the default futures security group used by the test builder.
Definition at line 48 of file InstrumentDefinitionFuture.h.
|
inlineconstexprnoexcept |
Returns the default futures instrument symbol used by the test builder.
Definition at line 40 of file InstrumentDefinitionFuture.h.
| auto entries | ( | Range && | range, |
| Projection && | projection ) -> details::EntryRangeStage< Action, typename std::remove_reference< Range >::type, typename std::remove_reference< Projection >::type > |
Creates a reusable-recipe stage from projected range values.
| Action | Update action passed to the destination message's typed entry builder. |
| Range | Input range type. |
| Projection | Callable mapping each input value to tuple-like entry arguments. |
| range | Input range consumed once when the stage is appended to a recipe. |
| projection | Callable invoked once per consumed value while the stage is appended. |
range and projection. Append it to a MessageRecipe before either object's lifetime ends. Do not retain or reuse the stage. Definition at line 307 of file MessageBuilder.h.
| std::string generateConnectivityConfiguration | ( | ChannelId | channel = 999 | ) |
Generates connectivity configuration XML for one testing channel.
| channel | Channel identifier used in the channel and connection identifiers and multicast endpoints. |
| std::bad_alloc | If memory allocation fails. |
| std::length_error | If the resulting XML exceeds the maximum string size. |
| FeedSettings generateFeedSettings | ( | ChannelId | channel = 999 | ) |
Generates feed settings for one testing channel.
| channel | Channel identifier used to generate the connection settings. |
| std::exception | If connection setting generation fails. |
|
inlinenoexcept |
Returns read-only tuple-style indexed access to a stored message holder.
| Index | Zero-based message index. |
| MessageTypes | Message types stored by the packet holder. |
| holder | Packet holder to access. |
holder is destroyed. Definition at line 209 of file PacketHolder.h.
|
inlinenoexcept |
Returns mutable tuple-style indexed access to a stored message holder.
| Index | Zero-based message index. |
| MessageTypes | Message types stored by the packet holder. |
| holder | Packet holder to access. |
holder is destroyed. Definition at line 196 of file PacketHolder.h.
| auto initialize | ( | EventFlags::Bits | eventIndicator, |
| Messaging::Timestamp | transactTime = UtcWatch::now() ) -> decltype( details::makeInitializationRecipe< Holder, IncrementalRefreshBook >(eventIndicator, transactTime)) |
Creates a reusable recipe for an incremental book refresh message.
| Holder | A mutable incremental book refresh holder type to materialize. |
| eventIndicator | The event flags to encode in the match-event indicator. |
| transactTime | The transaction timestamp captured by the recipe; defaults to the current UTC time. |
Definition at line 162 of file IncrementalRefreshBook.h.
| auto initialize | ( | EventFlags::Bits | eventIndicator, |
| Messaging::Timestamp | transactTime = UtcWatch::now() ) -> decltype( details::makeInitializationRecipe< Holder, IncrementalRefreshOrderBook >(eventIndicator, transactTime)) |
Creates a reusable recipe for an incremental order-book refresh message.
| Holder | A mutable incremental order-book refresh holder type to materialize. |
| eventIndicator | The event flags to encode in the match-event indicator. |
| transactTime | The transaction timestamp captured by the recipe; defaults to the current UTC time. |
Definition at line 100 of file IncrementalRefreshOrderBook.h.
| auto initialize | ( | EventFlags::Bits | eventIndicator, |
| Messaging::Timestamp | transactTime = UtcWatch::now() ) -> decltype( details::makeInitializationRecipe< Holder, IncrementalRefreshSessionStatistics >(eventIndicator, transactTime)) |
Creates a reusable recipe for an incremental session-statistics refresh message.
| Holder | A mutable incremental session-statistics refresh holder type to materialize. |
| eventIndicator | The event flags to encode in the match-event indicator. |
| transactTime | The transaction timestamp captured by the recipe; defaults to the current UTC time. |
Definition at line 96 of file IncrementalRefreshSessionStatistics.h.
| auto initialize | ( | EventFlags::Bits | eventIndicator, |
| Messaging::Timestamp | transactTime = UtcWatch::now() ) -> decltype( details::makeInitializationRecipe< Holder, IncrementalRefreshTradeSummary >(eventIndicator, transactTime)) |
Creates a reusable recipe for an incremental trade-summary refresh message.
| Holder | A mutable incremental trade-summary refresh holder type to materialize. |
| eventIndicator | The event flags to encode in the match-event indicator. |
| transactTime | The transaction timestamp captured by the recipe; defaults to the current UTC time. |
Definition at line 113 of file IncrementalRefreshTradeSummary.h.
|
noexcept |
Resets and initializes an incremental book refresh message.
| Holder | A mutable incremental book refresh holder type. |
| message | The message holder to reset and initialize. |
| eventIndicator | The event flags to encode in the match-event indicator. |
| transactTime | The transaction timestamp; defaults to the current UTC time. |
Definition at line 149 of file IncrementalRefreshBook.h.
|
noexcept |
Resets and initializes an incremental order-book refresh message.
| Holder | A mutable incremental order-book refresh holder type. |
| message | The message holder to reset and initialize. |
| eventIndicator | The event flags to encode in the match-event indicator. |
| transactTime | The transaction timestamp; defaults to the current UTC time. |
Definition at line 87 of file IncrementalRefreshOrderBook.h.
|
noexcept |
Resets and initializes an incremental session-statistics refresh message.
| Holder | A mutable incremental session-statistics refresh holder type. |
| message | The message holder to reset and initialize. |
| eventIndicator | The event flags to encode in the match-event indicator. |
| transactTime | The transaction timestamp; defaults to the current UTC time. |
Definition at line 83 of file IncrementalRefreshSessionStatistics.h.
|
noexcept |
Resets and initializes an incremental trade-summary refresh message.
| Holder | A mutable incremental trade-summary refresh holder type. |
| message | The message holder to reset and initialize. |
| eventIndicator | The event flags to encode in the match-event indicator. |
| transactTime | The transaction timestamp; defaults to the current UTC time. |
Definition at line 100 of file IncrementalRefreshTradeSummary.h.
| auto initialize | ( | Holder & | message, |
| Messaging::StrRef | quoteRequestId, | ||
| EventFlags::Bits | eventIndicator = EventFlags::None, | ||
| Messaging::Timestamp | transactTime = UtcWatch::now() ) -> details::EnableQuoteRequest< Holder > |
Resets and initializes a quote-request message.
| Holder | A mutable quote-request holder type. |
| message | The message holder to reset and initialize. |
| quoteRequestId | The exchange-defined quote-request identifier. |
| eventIndicator | The event flags to encode in the match-event indicator. |
| transactTime | The transaction timestamp; defaults to the current UTC time. |
Definition at line 118 of file QuoteRequest.h.
| auto initialize | ( | Holder & | message, |
| Messaging::UInt32 | totNumReports, | ||
| SecurityId | securityId, | ||
| Messaging::StrRef | symbol = DefaultInstrumentDefinitionFutureSymbol(), | ||
| Messaging::StrRef | group = DefaultInstrumentDefinitionFutureGroup(), | ||
| Messaging::StrRef | asset = DefaultInstrumentDefinitionFutureAsset(), | ||
| Messaging::Int8 | realMarketDepth = DefaultInstrumentDefinitionFutureRealMarketDepth, | ||
| Messaging::Int8 | impliedMarketDepth = DefaultInstrumentDefinitionFutureImpliedMarketDepth, | ||
| Messaging::Timestamp | lastUpdateTime = UtcWatch::now() ) -> details::EnableAddOrModifyInstrumentDefinition< Action, Holder > |
Resets and initializes an Add or Modify futures instrument definition.
| Action | Add or Modify. |
| Holder | A mutable futures instrument-definition holder type. |
| message | The message holder to reset and initialize. |
| totNumReports | Total number of definitions in the recovery loop. |
| securityId | The instrument's security identifier. |
| symbol | The instrument symbol. |
| group | The instrument security group. |
| asset | The instrument asset. |
| realMarketDepth | The real-book depth advertised through the GBX feed type. |
| impliedMarketDepth | The implied-book depth advertised through the GBI feed type. |
| lastUpdateTime | The definition's last-update timestamp; defaults to the current UTC time. |
| std::runtime_error | If the feed-type entries cannot be represented by the message. |
Definition at line 178 of file InstrumentDefinitionFuture.h.
| auto initialize | ( | Holder & | message, |
| Messaging::UInt32 | totNumReports, | ||
| SecurityId | securityId, | ||
| Messaging::Timestamp | lastUpdateTime = UtcWatch::now() ) -> details::EnableDeleteInstrumentDefinition< Action, Holder > |
Resets and initializes a Delete futures instrument definition.
| Action | Delete. |
| Holder | A mutable futures instrument-definition holder type. |
| message | The message holder to reset and initialize. |
| totNumReports | Total number of definitions in the recovery loop. |
| securityId | The instrument's security identifier. |
| lastUpdateTime | The definition's last-update timestamp; defaults to the current UTC time. |
Definition at line 303 of file InstrumentDefinitionFuture.h.
| auto initialize | ( | Holder & | message, |
| Messaging::UInt32 | totNumReports, | ||
| SecurityId | securityId, | ||
| SequenceNumber | lastMsgSeqNumProcessed, | ||
| Messaging::UInt32 | numberOfChunks, | ||
| Messaging::UInt32 | currentChunk, | ||
| Messaging::Timestamp | transactTime = UtcWatch::now() ) -> details::EnableSnapshotFullRefreshOrderBook< Holder > |
Resets and initializes a full order-book snapshot refresh message.
| Holder | A mutable full order-book snapshot refresh holder type. |
| message | The message holder to reset and initialize. |
| totNumReports | Total number of messages in the snapshot loop. |
| securityId | The security identifier represented by the snapshot. |
| lastMsgSeqNumProcessed | Last incremental-feed packet included in the snapshot. |
| numberOfChunks | Total packets constituting the instrument order book. |
| currentChunk | The sequence number of this chunk. |
| transactTime | The transaction timestamp; defaults to the current UTC time. |
Definition at line 102 of file SnapshotFullRefreshOrderBook.h.
| auto initialize | ( | Holder & | message, |
| Messaging::UInt32 | totNumReports, | ||
| SecurityId | securityId, | ||
| SequenceNumber | lastMsgSeqNumProcessed, | ||
| Messaging::UInt32 | rptSeq, | ||
| Messaging::Timestamp | timestamp = UtcWatch::now() ) -> details::EnableSnapshotFullRefresh< Holder > |
Resets and initializes a full snapshot refresh message with one timestamp.
| Holder | A mutable full snapshot refresh holder type. |
| message | The message holder to reset and initialize. |
| totNumReports | Total number of messages in the snapshot loop. |
| securityId | The security identifier represented by the snapshot. |
| lastMsgSeqNumProcessed | Last incremental-feed packet included in the snapshot. |
| rptSeq | Last per-security market-data sequence included in the snapshot. |
| timestamp | The transaction and update timestamp; defaults to the current UTC time. |
Definition at line 127 of file SnapshotFullRefresh.h.
| auto initialize | ( | Holder & | message, |
| Messaging::UInt32 | totNumReports, | ||
| SecurityId | securityId, | ||
| SequenceNumber | lastMsgSeqNumProcessed, | ||
| Messaging::UInt32 | rptSeq, | ||
| Messaging::Timestamp | transactTime, | ||
| Messaging::Timestamp | updateTime ) -> details::EnableSnapshotFullRefresh< Holder > |
Resets and initializes a full snapshot refresh message with explicit timestamps.
| Holder | A mutable full snapshot refresh holder type. |
| message | The message holder to reset and initialize. |
| totNumReports | Total number of messages in the snapshot loop. |
| securityId | The security identifier represented by the snapshot. |
| lastMsgSeqNumProcessed | Last incremental-feed packet included in the snapshot. |
| rptSeq | Last per-security market-data sequence included in the snapshot. |
| transactTime | The transaction timestamp. |
| updateTime | The timestamp used for the last-update timestamp and trade date. |
Definition at line 106 of file SnapshotFullRefresh.h.
| auto initialize | ( | Holder & | message, |
| SecurityId | securityId, | ||
| Messaging::SecurityTradingStatus::Enum | securityTradingStatus, | ||
| EventFlags::Bits | eventIndicator = EventFlags::None, | ||
| Messaging::Timestamp | transactTime = UtcWatch::now() ) -> details::EnableSecurityStatus< Holder > |
Resets and initializes a security-status message.
| Holder | A mutable security-status holder type. |
| message | The message holder to reset and initialize. |
| securityId | The instrument's security identifier. |
| securityTradingStatus | The trading status applicable to the instrument. |
| eventIndicator | The event flags to encode in the match-event indicator. |
| transactTime | The transaction timestamp; defaults to the current UTC time. |
Definition at line 83 of file SecurityStatus.h.
| auto initialize | ( | Messaging::StrRef | quoteRequestId, |
| EventFlags::Bits | eventIndicator = EventFlags::None, | ||
| Messaging::Timestamp | transactTime = UtcWatch::now() ) -> decltype( details::makeInitializationRecipe< Holder, QuoteRequest, details::QuoteRequestInitializationOperation >( quoteRequestId, eventIndicator, transactTime)) |
Creates a reusable recipe for a quote-request message.
| Holder | A mutable quote-request holder type to materialize. |
| quoteRequestId | A non-owning view of the exchange-defined quote-request identifier. |
| eventIndicator | The event flags to encode in the match-event indicator. |
| transactTime | The transaction timestamp captured by the recipe; defaults to the current UTC time. |
quoteRequestId and owns its other initialization parameters. quoteRequestId must remain valid until every application of the returned recipe has completed. Definition at line 138 of file QuoteRequest.h.
| auto initialize | ( | Messaging::UInt32 | totNumReports, |
| SecurityId | securityId, | ||
| Messaging::StrRef | symbol = DefaultInstrumentDefinitionFutureSymbol(), | ||
| Messaging::StrRef | group = DefaultInstrumentDefinitionFutureGroup(), | ||
| Messaging::StrRef | asset = DefaultInstrumentDefinitionFutureAsset(), | ||
| Messaging::Int8 | realMarketDepth = DefaultInstrumentDefinitionFutureRealMarketDepth, | ||
| Messaging::Int8 | impliedMarketDepth = DefaultInstrumentDefinitionFutureImpliedMarketDepth, | ||
| Messaging::Timestamp | lastUpdateTime = UtcWatch::now() ) -> typename std::enable_if< details::IsAddOrModifyInstrumentDefinition< Action >::value && details::IsMutableMessageHolder< InstrumentDefinitionFuture, Holder >::value, decltype(details::makeInitializationRecipe< Holder, InstrumentDefinitionFuture, details::AddOrModifyInstrumentDefinitionOperation< Action > >( totNumReports, securityId, symbol, group, asset, realMarketDepth, impliedMarketDepth, lastUpdateTime))>::type |
Creates a reusable recipe for an Add or Modify futures instrument definition.
| Holder | The futures instrument-definition holder type to materialize. |
| Action | Add or Modify. |
| totNumReports | Total number of definitions in the recovery loop. |
| securityId | The instrument's security identifier. |
| symbol | A non-owning view of the instrument symbol. |
| group | A non-owning view of the instrument security group. |
| asset | A non-owning view of the instrument asset. |
| realMarketDepth | The real-book depth advertised through the GBX feed type. |
| impliedMarketDepth | The implied-book depth advertised through the GBI feed type. |
| lastUpdateTime | The definition's last-update timestamp captured by the recipe; defaults to the current UTC time. |
symbol, group, and asset and owns its other initialization parameters. symbol, group, and asset must remain valid until every application of the returned recipe has completed. Definition at line 217 of file InstrumentDefinitionFuture.h.
| auto initialize | ( | Messaging::UInt32 | totNumReports, |
| SecurityId | securityId, | ||
| Messaging::Timestamp | lastUpdateTime = UtcWatch::now() ) -> typename std::enable_if< details::IsDeleteInstrumentDefinition< Action >::value && details::IsMutableMessageHolder< InstrumentDefinitionFuture, Holder >::value, decltype(details::makeInitializationRecipe< Holder, InstrumentDefinitionFuture, details::DeleteInstrumentDefinitionOperation< Action > >( totNumReports, securityId, lastUpdateTime))>::type |
Creates a reusable recipe for a Delete futures instrument definition.
| Holder | The futures instrument-definition holder type to materialize. |
| Action | Delete. |
| totNumReports | Total number of definitions in the recovery loop. |
| securityId | The instrument's security identifier. |
| lastUpdateTime | The definition's last-update timestamp captured by the recipe; defaults to the current UTC time. |
Definition at line 326 of file InstrumentDefinitionFuture.h.
| auto initialize | ( | Messaging::UInt32 | totNumReports, |
| SecurityId | securityId, | ||
| SequenceNumber | lastMsgSeqNumProcessed, | ||
| Messaging::UInt32 | numberOfChunks, | ||
| Messaging::UInt32 | currentChunk, | ||
| Messaging::Timestamp | transactTime = UtcWatch::now() ) -> decltype( details::makeInitializationRecipe< Holder, SnapshotFullRefreshOrderBook, details::SnapshotFullRefreshOrderBookInitializationOperation >( totNumReports, securityId, lastMsgSeqNumProcessed, numberOfChunks, currentChunk, transactTime)) |
Creates a reusable recipe for a full order-book snapshot refresh message.
| Holder | A mutable full order-book snapshot refresh holder type to materialize. |
| totNumReports | Total number of messages in the snapshot loop. |
| securityId | The security identifier represented by the snapshot. |
| lastMsgSeqNumProcessed | Last incremental-feed packet included in the snapshot. |
| numberOfChunks | Total packets constituting the instrument order book. |
| currentChunk | The sequence number of this chunk. |
| transactTime | The transaction timestamp captured by the recipe; defaults to the current UTC time. |
Definition at line 124 of file SnapshotFullRefreshOrderBook.h.
| auto initialize | ( | Messaging::UInt32 | totNumReports, |
| SecurityId | securityId, | ||
| SequenceNumber | lastMsgSeqNumProcessed, | ||
| Messaging::UInt32 | rptSeq, | ||
| Messaging::Timestamp | timestamp = UtcWatch::now() ) -> decltype( initialize< Holder >( totNumReports, securityId, lastMsgSeqNumProcessed, rptSeq, timestamp, timestamp)) |
Creates a reusable recipe for a full snapshot refresh message with one timestamp.
| Holder | A mutable full snapshot refresh holder type to materialize. |
| totNumReports | Total number of messages in the snapshot loop. |
| securityId | The security identifier represented by the snapshot. |
| lastMsgSeqNumProcessed | Last incremental-feed packet included in the snapshot. |
| rptSeq | Last per-security market-data sequence included in the snapshot. |
| timestamp | The transaction and update timestamp captured by the recipe; defaults to the current UTC time. |
Definition at line 177 of file SnapshotFullRefresh.h.
| auto initialize | ( | Messaging::UInt32 | totNumReports, |
| SecurityId | securityId, | ||
| SequenceNumber | lastMsgSeqNumProcessed, | ||
| Messaging::UInt32 | rptSeq, | ||
| Messaging::Timestamp | transactTime, | ||
| Messaging::Timestamp | updateTime ) -> decltype( details::makeInitializationRecipe< Holder, SnapshotFullRefresh, details::SnapshotFullRefreshInitializationOperation >( totNumReports, securityId, lastMsgSeqNumProcessed, rptSeq, transactTime, updateTime)) |
Creates a reusable recipe for a full snapshot refresh message with explicit timestamps.
| Holder | A mutable full snapshot refresh holder type to materialize. |
| totNumReports | Total number of messages in the snapshot loop. |
| securityId | The security identifier represented by the snapshot. |
| lastMsgSeqNumProcessed | Last incremental-feed packet included in the snapshot. |
| rptSeq | Last per-security market-data sequence included in the snapshot. |
| transactTime | The transaction timestamp captured by the recipe. |
| updateTime | The last-update timestamp and trade date captured by the recipe. |
Definition at line 149 of file SnapshotFullRefresh.h.
| auto initialize | ( | SecurityId | securityId, |
| Messaging::SecurityTradingStatus::Enum | securityTradingStatus, | ||
| EventFlags::Bits | eventIndicator = EventFlags::None, | ||
| Messaging::Timestamp | transactTime = UtcWatch::now() ) -> decltype( details::makeInitializationRecipe< Holder, SecurityStatus, details::SecurityStatusInitializationOperation >( securityId, securityTradingStatus, eventIndicator, transactTime)) |
Creates a reusable recipe for a security-status message.
| Holder | A mutable security-status holder type to materialize. |
| securityId | The instrument's security identifier. |
| securityTradingStatus | The trading status applicable to the instrument. |
| eventIndicator | The event flags to encode in the match-event indicator. |
| transactTime | The transaction timestamp captured by the recipe; defaults to the current UTC time. |
Definition at line 104 of file SecurityStatus.h.
| std::string loopbackNetworkInterface | ( | ) |
Returns the platform-specific loopback network interface.
| std::ostream & operator<< | ( | std::ostream & | stream, |
| const MessageHolder< MessageType, MaxMessageSize > & | rhs ) |
Writes the holder's capacity, prefix, and message to a stream.
| MessageType | Message type stored by the holder. |
| MaxMessageSize | Maximum encoded message size, excluding the message prefix. |
| stream | Stream that receives the representation. |
| rhs | Holder to represent. |
stream. | Any | exception thrown while formatting the holder or writing to stream. |
Definition at line 399 of file MessageHolder.h.
|
inline |
Writes a human-readable representation of the held messages.
| MessageTypes | Message types stored by the packet holder. |
| stream | Stream that receives the representation. |
| holder | Packet holder to represent. |
stream. | Any | exception thrown while formatting the holder or writing to stream. |
Definition at line 270 of file PacketHolder.h.
| auto operator| | ( | const MessageRecipe< Holder, Operations... > & | recipe, |
| details::DeferredMessageOperation< Factory > && | deferredOperation ) -> decltype( recipe.append(std::move(deferredOperation).materialize())) |
Materializes and appends a deferred operation to a reusable message recipe.
| Holder | Holder type materialized by the recipe. |
| Operations | Operations already owned by the recipe. |
| Factory | Factory for the message operation to append. |
| recipe | Recipe to extend. |
| deferredOperation | Deferred operation factory to materialize and append. |
deferredOperation. Reuse the returned MessageRecipe rather than appending the same deferred stage again. | Any | exception thrown while materializing, copying, or moving the operation. |
Definition at line 513 of file MessageOperation.h.
| auto operator| | ( | const MessageRecipe< Holder, Operations... > & | recipe, |
| details::EntryRangeStage< Action, Range, Projection > && | stage ) -> decltype(recipe.append(std::move(stage).materialize())) |
Materializes and appends a projected range stage to a reusable message recipe.
| Holder | Holder type materialized by the recipe. |
| Operations | Operations already owned by the recipe. |
| Action | Update action passed to the destination message's typed entry builder. |
| Range | Borrowed input range type. |
| Projection | Borrowed projection type. |
| recipe | Recipe to extend. |
| stage | Single-use projected range stage to materialize and append. |
| Any | exception thrown while materializing, copying, or moving the operation. |
Definition at line 327 of file MessageBuilder.h.
| auto operator| | ( | Holder & | message, |
| details::DeferredMessageOperation< Factory > && | deferredOperation ) -> typename std::enable_if< !details::IsMessageRecipe< typename std::decay< Holder >::type >::value, decltype(std::move(deferredOperation).materialize().apply(message), message)>::type |
Materializes and applies a deferred message operation to a named holder.
| Holder | A compatible mutable message holder type. |
| Factory | Factory for an operation created by a testing message builder. |
| message | The message holder to update. |
| deferredOperation | Deferred operation factory to materialize and apply. |
deferredOperation. Do not materialize the same deferred stage again; construct and reuse a MessageRecipe instead. | Any | exception thrown while materializing or applying the operation. |
Definition at line 491 of file MessageOperation.h.
| auto operator| | ( | MessageRecipe< Holder, Operations... > && | recipe, |
| details::DeferredMessageOperation< Factory > && | deferredOperation ) -> decltype( std::move(recipe).append(std::move(deferredOperation).materialize())) |
Materializes and appends a deferred operation to a temporary message recipe.
| Holder | Holder type materialized by the recipe. |
| Operations | Operations already owned by the recipe. |
| Factory | Factory for the message operation to append. |
| recipe | Recipe whose operations are moved into the result. |
| deferredOperation | Deferred operation factory to materialize and append. |
deferredOperation. Reuse the returned MessageRecipe rather than appending the same deferred stage again. | Any | exception thrown while materializing or moving the operation. |
Definition at line 535 of file MessageOperation.h.
| auto operator| | ( | MessageRecipe< Holder, Operations... > && | recipe, |
| details::EntryRangeStage< Action, Range, Projection > && | stage ) -> decltype(std::move(recipe).append(std::move(stage).materialize())) |
Materializes and appends a projected range stage to a temporary reusable recipe.
| Holder | Holder type materialized by the recipe. |
| Operations | Operations already owned by the recipe. |
| Action | Update action passed to the destination message's typed entry builder. |
| Range | Borrowed input range type. |
| Projection | Borrowed projection type. |
| recipe | Recipe whose operations are moved into the result. |
| stage | Single-use projected range stage to materialize and append. |
| Any | exception thrown while materializing or moving the operation. |
Definition at line 347 of file MessageBuilder.h.
| auto orderIdEntry | ( | OrderId | orderId, |
| OrderPriority | orderPriority, | ||
| DisplayQuantity | quantity, | ||
| Messaging::UInt8 | referenceId ) -> typename std::enable_if< details::IsOrderIdEntryAction< Action >::value, decltype(details::makeMessageOperation< details::OrderIdEntryOperation< Action > >( orderId, orderPriority, quantity, referenceId))>::type |
Creates a pipeline operation that appends an order-ID entry.
| Action | The order update action to encode. |
| orderId | The exchange-assigned order identifier. |
| orderPriority | The order's matching priority. |
| quantity | The displayed order quantity. |
| referenceId | The one-based index of the associated market-data entry. |
Definition at line 283 of file IncrementalRefreshBook.h.
|
inline |
Creates a pipeline operation that appends a quote-request entry.
| securityId | The requested instrument's security identifier. |
| symbol | The requested instrument's symbol, copied into the operation. |
| quoteType | The type of quote requested. |
| orderQuantity | The requested quantity, or the protocol null value. |
| side | The requested side, or the protocol null value. |
Definition at line 202 of file QuoteRequest.h.
|
inline |
Returns a concise description of a byte span.
| span | Byte span whose size is described. |
Definition at line 445 of file ByteSpan.h.
|
inline |
Returns concise descriptions of a sequence of byte spans.
| spans | Byte spans whose sizes are described, or nullptr when spansCount is zero. |
| spansCount | Number of elements in spans. |
Definition at line 467 of file ByteSpan.h.
|
inline |
Creates a string containing the holder's capacity, prefix, and message.
| MessageType | Message type stored by the holder. |
| MaxMessageSize | Maximum encoded message size, excluding the message prefix. |
| holder | Holder to represent. |
holder. | Any | exception thrown while allocating or formatting the result. |
Definition at line 382 of file MessageHolder.h.
|
inline |
Creates a human-readable representation of the held messages.
| MessageTypes | Message types stored by the packet holder. |
| holder | Packet holder to represent. |
holder. | Any | exception thrown while allocating or formatting the result. |
Definition at line 256 of file PacketHolder.h.
| void toStr | ( | std::string & | str, |
| ByteSpan | span ) |
Appends a concise description of a byte span.
| str | String to which ByteSpan[size=N] is appended. |
| span | Byte span whose size is described. |
| void toStr | ( | std::string & | str, |
| const ByteSpan | spans[], | ||
| size_t | spansCount ) |
Appends concise descriptions of a sequence of byte spans.
| str | String to which the bracketed span descriptions are appended. |
| spans | Byte spans whose sizes are described, or nullptr when spansCount is zero. |
| spansCount | Number of elements in spans. |
|
inline |
Appends the holder's capacity, prefix, and message to a string.
| MessageType | Message type stored by the holder. |
| MaxMessageSize | Maximum encoded message size, excluding the message prefix. |
| str | String to which the representation is appended. |
| holder | Holder to represent. |
| Any | exception thrown while appending to str or formatting the stored message. |
Definition at line 107 of file MessageHolder.h.
|
inline |
Appends a human-readable representation of the held messages.
| MessageTypes | Message types stored by the packet holder. |
| str | String to which the representation is appended. |
| holder | Packet holder to represent. |
| Any | exception thrown while appending to str or formatting a held message. |
Definition at line 243 of file PacketHolder.h.
|
inline |
Creates a pipeline operation that appends an order-level fill entry.
| orderId | The exchange-assigned order identifier. |
| lastQuantity | The quantity bought or sold on the fill. |
Definition at line 203 of file IncrementalRefreshTradeSummary.h.
|
constexpr |
Environment variable authorizing outgoing multicast destinations outside 239.0.0.0/8.
Definition at line 41 of file MulticastSender.h.
|
constexpr |
Default implied-book depth used by the test builder.
Definition at line 65 of file InstrumentDefinitionFuture.h.
|
constexpr |
Default real-book depth used by the test builder.
Definition at line 62 of file InstrumentDefinitionFuture.h.
|
constexpr |
Environment variable authorizing multicast traffic beyond the local host.
Definition at line 38 of file MulticastSender.h.