MamdaOrderBookConcreteComplexDelta is a class that saves information about a complex order book delta. More...
#include <MamdaOrderBookConcreteComplexDelta.h>
Public Member Functions | |
MamdaOrderBookConcreteComplexDelta () | |
virtual | ~MamdaOrderBookConcreteComplexDelta () |
virtual const char * | getSymbol () const |
Get the instruments string symbol. More... | |
virtual const char * | getPartId () const |
Get the participant identifier. More... | |
virtual mama_seqnum_t | getEventSeqNum () const |
Get the event sequence number. More... | |
virtual const MamaDateTime & | getEventTime () const |
Get the event time. More... | |
virtual const MamaDateTime & | getSrcTime () const |
Get the source time. More... | |
virtual const MamaDateTime & | getActivityTime () const |
Get the activity time. More... | |
virtual const MamaDateTime & | getLineTime () const |
Get the line time. More... | |
virtual const MamaDateTime & | getSendTime () const |
Get the send time. More... | |
virtual const MamaMsgQual & | getMsgQual () const |
Get the message qualifier. More... | |
virtual MamdaFieldState | getSymbolFieldState () const |
Get the string symbol field state. More... | |
virtual MamdaFieldState | getPartIdFieldState () const |
Get the participant identifier field state. More... | |
virtual MamdaFieldState | getEventSeqNumFieldState () const |
Get the event sequence number field state. More... | |
virtual MamdaFieldState | getEventTimeFieldState () const |
Get the event time field state. More... | |
virtual MamdaFieldState | getSrcTimeFieldState () const |
Get the source time field state. More... | |
virtual MamdaFieldState | getActivityTimeFieldState () const |
Get the activity time field state. More... | |
virtual MamdaFieldState | getLineTimeFieldState () const |
Get the line time of the update. More... | |
virtual MamdaFieldState | getSendTimeFieldState () const |
Get the send time field state. More... | |
virtual MamdaFieldState | getMsgQualFieldState () const |
Get the message qualifier field state. More... | |
virtual void | setSymbol (const char *value) |
virtual void | setPartId (const char *value) |
virtual void | setEventSeqNum (mama_seqnum_t value) |
virtual void | setEventTime (const MamaDateTime &value) |
virtual void | setSrcTime (const MamaDateTime &value) |
virtual void | setActivityTime (const MamaDateTime &value) |
virtual void | setLineTime (const MamaDateTime &value) |
virtual void | setSendTime (const MamaDateTime &value) |
virtual void | setMsgQual (const MamaMsgQual &value) |
![]() | |
virtual | ~MamdaOrderBookComplexDelta () |
![]() | |
MamdaOrderBookBasicDeltaList () | |
~MamdaOrderBookBasicDeltaList () | |
void | clear () |
Clear the delta. More... | |
void | setKeepBasicDeltas (bool keep) |
Set whether to actually keep the basic deltas. More... | |
ModifiedSides | getModifiedSides () const |
Get which side(s) of the book have been modified by this complex update. More... | |
void | add (MamdaOrderBookEntry *entry, MamdaOrderBookPriceLevel *level, mama_quantity_t plDeltaSize, MamdaOrderBookPriceLevel::Action plAction, MamdaOrderBookEntry::Action entryAction) |
Add a basic delta. More... | |
void | add (const MamdaOrderBookBasicDelta &delta) |
Add a basic delta. More... | |
void | setOrderBook (MamdaOrderBook *book) |
Set the MamdaOrderBook object to which this delta belongs. More... | |
MamdaOrderBook * | getOrderBook () const |
Get the MamdaOrderBook object to which this delta belongs. More... | |
mama_size_t | getSize () const |
Return the number of simple deltas in this complex delta. More... | |
void | fixPriceLevelActions () |
Fix up price level actions (temporary workaround for problem). More... | |
void | setConflateDeltas (bool conflate) |
Whether to conflate the order book deltas. More... | |
bool | getSendImmediately () |
Get sendImmediately. More... | |
void | setProcessEntries (bool processEntries) |
Set whether we are interested in "entry level" information at all. More... | |
void | dump (ostream &output) const |
Dump the complex update to the output stream. More... | |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
![]() | |
virtual | ~MamdaBasicEvent () |
Destructor. More... | |
Additional Inherited Members | |
![]() | |
enum | ModifiedSides { MOD_SIDES_NONE = 0, MOD_SIDES_BID = 1, MOD_SIDES_ASK = 2, MOD_SIDES_BID_AND_ASK = 3 } |
typedef const iterator | const_iterator |
MamdaOrderBookConcreteComplexDelta is a class that saves information about a complex order book delta.
A complex delta involves multiple entries and/or price levels. For example, a modified order may involve a price change that means moving an entry from one price level to another. A complex delta is made up of several simple deltas, which can be iterated over by methods provided in the class.
Wombat::MamdaOrderBookConcreteComplexDelta::MamdaOrderBookConcreteComplexDelta | ( | ) |
|
virtual |
|
virtual |
Get the instruments string symbol.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the participant identifier.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the event sequence number.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the event time.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the source time.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the activity time.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the line time.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the send time.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the message qualifier.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the string symbol field state.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the participant identifier field state.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the event sequence number field state.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the event time field state.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the source time field state.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the activity time field state.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the line time of the update.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the send time field state.
Implements Wombat::MamdaBasicEvent.
|
virtual |
Get the message qualifier field state.
Implements Wombat::MamdaBasicEvent.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |