OnixS C++ Cboe CFE Multicast PITCH Market Data Handler  1.12.1
API documentation
TimeMsg Struct Reference

#include <OnixS/CboeCFE/MarketData/Pitch/Messages/Time.h>

Public Member Functions

Binary4 time () const ONIXS_BATS_PITCH_NOTHROW
 
Binary4 epochTime () const ONIXS_BATS_PITCH_NOTHROW
 
 TimeMsg (const void *data, MessageSize size) ONIXS_BATS_PITCH_NOTHROW
 
- Public Member Functions inherited from BinaryMessage
 BinaryMessage () ONIXS_BATS_PITCH_NOTHROW
 
 BinaryMessage (const void *data, MessageSize size) ONIXS_BATS_PITCH_NOTHROW
 
 BinaryMessage (const BinaryMessage &other) ONIXS_BATS_PITCH_NOTHROW
 
ONIXS_BATS_PITCH_EXPLICIT operator bool () const ONIXS_BATS_PITCH_NOTHROW
 
const void * binary () const ONIXS_BATS_PITCH_NOTHROW
 
MessageSize binarySize () const ONIXS_BATS_PITCH_NOTHROW
 
BinaryMessageoperator= (const BinaryMessage &other) ONIXS_BATS_PITCH_NOTHROW
 

Static Public Member Functions

static void validateSize (MessageSize size)
 

Static Public Attributes

static ONIXS_BATS_PITCH_CONST_OR_CONSTEXPR MessageSize messageSize_ = 10
 

Additional Inherited Members

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

Detailed Description

Definition at line 36 of file Time.h.

Constructor & Destructor Documentation

TimeMsg ( const void *  data,
MessageSize  size 
)
inline

Initializes instance over given memory block.

Definition at line 63 of file Time.h.

Member Function Documentation

Binary4 epochTime ( ) const
inline

Number of whole seconds since the Epoch (Midnight January 1, 1970 UTC).

Definition at line 46 of file Time.h.

Binary4 time ( ) const
inline

Number of whole seconds from midnight CentralTime.

Definition at line 39 of file Time.h.

static void validateSize ( MessageSize  size)
inlinestatic

Check the given size.

Definition at line 56 of file Time.h.

Member Data Documentation

Total message size.

Definition at line 53 of file Time.h.


The documentation for this struct was generated from the following file: