OnixS C++ HKEX OMD-C Handler 1.0.0
API documentation
Loading...
Searching...
No Matches
TradingSessionStatusMsg Struct Reference

Public Member Functions

UInt16 msgSize () const noexcept
UInt16 msgType () const noexcept
StrRef marketCode () const noexcept
UInt8 tradingSessionSubID () const noexcept
UInt8 tradingSesStatus () const noexcept
StrRef tradingSesControlFlag () const noexcept
UInt64 startDateTime () const noexcept
UInt64 endDateTime () const noexcept
 TradingSessionStatusMsg (const void *data, MessageSize size) noexcept
Public Member Functions inherited from BinaryMessage
 BinaryMessage () noexcept
 BinaryMessage (const void *data, MessageSize size) noexcept
 BinaryMessage (const BinaryMessage &other) noexcept
 operator bool () const noexcept
const void * binary () const noexcept
MessageSize binarySize () const noexcept
BinaryMessageoperator= (const BinaryMessage &other) noexcept

Static Public Member Functions

static void validateSize (MessageSize size)

Static Public Attributes

static constexpr MessageSize messageSize_ = 32

Additional Inherited Members

Public Types inherited from BinaryMessage
typedef MessageSize BinarySize
Protected Member Functions inherited from BinaryFields< BinaryMessage, MessageSize >
const SubMessage submessage (MessageSize offset, MessageSize size) const noexcept
FieldValue ordinary (MessageSize offset) const noexcept
const FieldValue & ordinaryRef (MessageSize offset) const noexcept
Enumeration::Enum enumeration (MessageSize offset) const noexcept
StrRef fixedStr (MessageSize offset) const noexcept

Detailed Description

Definition at line 36 of file TradingSessionStatus.h.

Constructor & Destructor Documentation

◆ TradingSessionStatusMsg()

TradingSessionStatusMsg ( const void * data,
MessageSize size )
inlinenoexcept

Initializes instance over given memory block.

Definition at line 105 of file TradingSessionStatus.h.

Member Function Documentation

◆ endDateTime()

UInt64 endDateTime ( ) const
inlinenoexcept

End time of the trading status.

Definition at line 88 of file TradingSessionStatus.h.

◆ marketCode()

StrRef marketCode ( ) const
inlinenoexcept

Market segment identifier.

Definition at line 53 of file TradingSessionStatus.h.

◆ msgSize()

UInt16 msgSize ( ) const
inlinenoexcept

Size of the message.

Definition at line 39 of file TradingSessionStatus.h.

◆ msgType()

UInt16 msgType ( ) const
inlinenoexcept

Type of message.

Definition at line 46 of file TradingSessionStatus.h.

◆ startDateTime()

UInt64 startDateTime ( ) const
inlinenoexcept

Start time of the trading status.

Definition at line 81 of file TradingSessionStatus.h.

◆ tradingSesControlFlag()

StrRef tradingSesControlFlag ( ) const
inlinenoexcept

Indicates how control of trading session and sub-session transitions are performed.

Definition at line 74 of file TradingSessionStatus.h.

◆ tradingSessionSubID()

UInt8 tradingSessionSubID ( ) const
inlinenoexcept

Trading session sub-identifier.

Definition at line 60 of file TradingSessionStatus.h.

◆ tradingSesStatus()

UInt8 tradingSesStatus ( ) const
inlinenoexcept

Status of the current trading session.

Definition at line 67 of file TradingSessionStatus.h.

◆ validateSize()

void validateSize ( MessageSize size)
inlinestatic

Check the given size.

Definition at line 98 of file TradingSessionStatus.h.

Member Data Documentation

◆ messageSize_

MessageSize messageSize_ = 32
staticconstexpr

Total message size.

Definition at line 95 of file TradingSessionStatus.h.