FastMM documentation
FastMM C++ API 0.6.0
Public headers, tier 1 and tier 2
Loading...
Searching...
No Matches
order_commands.hpp File Reference

OrderCommand: a uniform, non-owning view over the three outbound engine messages (OutNewOrderMsg / OutCancelMsg / OutReplaceMsg) so encoders switch on one enum instead of three message types. More...

#include "fastmm/core/messages.hpp"
#include <cstddef>
#include <cstdint>
#include <optional>

Go to the source code of this file.

Classes

struct  fastmm::venues::OrderCommand
 
class  fastmm::venues::SentWatermark
 The watermark stamped into an open-order snapshot's ReconcileMsg Begin: the engine's orders at or below it can be judged by the snapshot, the ones above it cannot. More...
 
struct  fastmm::venues::SentWatermark::Mark
 The watermark for a snapshot: the id, for the engine, and its send sequence (0: none sent). More...
 

Namespaces

namespace  fastmm
 
namespace  fastmm::venues
 

Enumerations

enum class  fastmm::venues::OrderCommandKind : std::uint8_t { fastmm::venues::New = 0 , fastmm::venues::Cancel = 1 , fastmm::venues::Replace = 2 }
 

Functions

constexpr std::string_view fastmm::venues::to_string (OrderCommandKind k) noexcept
 
bool fastmm::venues::is_reconcile_request (const EventHeader &h) noexcept
 The engine asks for a reconciliation (ControlCommand::Reconcile on the outbound ring).
 

Detailed Description

OrderCommand: a uniform, non-owning view over the three outbound engine messages (OutNewOrderMsg / OutCancelMsg / OutReplaceMsg) so encoders switch on one enum instead of three message types.

Built from the ring pointer with no copy.