B2BITS FIX Antenna HFT  1.0.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
CMI::Heartbeat Struct Reference

#include <CmiBinaryMessages.h>

+ Inheritance diagram for CMI::Heartbeat:
+ Collaboration diagram for CMI::Heartbeat:

Public Member Functions

FieldsIterator getIterator () const
 
const UInt32 getMillisTimeStamp () const throw ()
 
size_t getMsgLength () const
 
const UInt32 getRequestId () const throw ()
 
FieldsSetIterator getSetIterator ()
 
 Heartbeat () throw ()
 
 Heartbeat (bool initFields) throw ()
 
void setMillisTimeStamp (UInt32 value) throw ()
 
void setRequestId (UInt32 value) throw ()
 
std::ostream & toStream (std::ostream &os) const
 
std::string toString () const
 
void updateMessageLength ()
 
- Public Member Functions inherited from CMI::StandardHeader
UInt8 getCmiMarker () const
 
UInt8 getMessageFlags () const
 
UInt32 getMessageLength () const
 
UInt32 getMessageSequenceNumber () const
 
MessageType::Enum getMessageType () const
 
UInt8 getVersion () const
 
void setCmiMarker (UInt8 marker)
 
void setMessageFlags (UInt8 value)
 
void setMessageLength (UInt32 value)
 
void setMessageSequenceNumber (UInt32 value)
 
void setMessageType (MessageType::Enum value)
 
void setMessageType (UInt8 value)
 
 StandardHeader ()
 

Static Public Member Functions

static FieldsIterator getIterator (const StandardHeader &message)
 
static size_t getMinMessageSize ()
 
static FieldsSetIterator getSetIterator (StandardHeader &message)
 
static void updateMessageLength (StandardHeader &message)
 

Public Attributes

UInt32 millisTimeStamp
 
UInt32 requestId
 
- Public Attributes inherited from CMI::StandardHeader
UInt8 cmiMarker
 
UInt8 messageFlags
 
UInt32 messageLength
 
UInt32 messageSequenceNumber
 
MessageType messageType
 
UInt8 reserved
 
UInt16 reserved2
 
UInt8 version
 

Static Public Attributes

static const MessageType::Enum TYPE = MessageType::MessageType_Heartbeat
 

Constructor & Destructor Documentation

CMI::Heartbeat::Heartbeat ( )
throw (
)
inline
CMI::Heartbeat::Heartbeat ( bool  initFields)
throw (
)
inlineexplicit

Member Function Documentation

FieldsIterator CMI::Heartbeat::getIterator ( ) const
inline
FieldsIterator CMI::Heartbeat::getIterator ( const StandardHeader message)
inlinestatic
const UInt32 CMI::Heartbeat::getMillisTimeStamp ( ) const
throw (
)
inline

References BSWAP32.

size_t CMI::Heartbeat::getMinMessageSize ( )
inlinestatic
size_t CMI::Heartbeat::getMsgLength ( ) const
inline
const UInt32 CMI::Heartbeat::getRequestId ( ) const
throw (
)
inline

References BSWAP32.

Referenced by CMI::convertSessionLevelMsgToFix().

FieldsSetIterator CMI::Heartbeat::getSetIterator ( )
inline
FieldsSetIterator CMI::Heartbeat::getSetIterator ( StandardHeader message)
inlinestatic
void CMI::Heartbeat::setMillisTimeStamp ( UInt32  value)
throw (
)
inline

References BSWAP32.

Referenced by CMI::convertToHeartbeat().

void CMI::Heartbeat::setRequestId ( UInt32  value)
throw (
)
inline

References BSWAP32.

Referenced by CMI::convertToHeartbeat().

std::ostream& CMI::Heartbeat::toStream ( std::ostream &  os) const
inline

Referenced by CMI::messageToStream().

std::string CMI::Heartbeat::toString ( ) const
inline
void CMI::Heartbeat::updateMessageLength ( )
inline
static void CMI::Heartbeat::updateMessageLength ( StandardHeader message)
inlinestatic

Member Data Documentation

UInt32 CMI::Heartbeat::millisTimeStamp
UInt32 CMI::Heartbeat::requestId
const MessageType::Enum CMI::Heartbeat::TYPE = MessageType::MessageType_Heartbeat
static

Referenced by CMI::convertToHeartbeat().