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

#include <CmiBinaryMessages.h>

Inherited by CMI::AcceptFloorTrade, CMI::AcceptFloorTradeResponse, CMI::AuctionNotification, CMI::AuctionSubscription, CMI::BusinessReject, CMI::ClearQRMRequest, CMI::DeleteFloorTrade, CMI::GetQRMProfileRequest, CMI::GetQRMProfileResponse, CMI::GetQRMStatusRequest, CMI::GMDAcknowledgement, CMI::Heartbeat, CMI::Logon, CMI::LogonResponse, CMI::Logout, CMI::MassQuote, CMI::MassQuoteWithClearingInfo, CMI::OrderBustReinstateReport, CMI::OrderBustReport, CMI::OrderFillReport, CMI::OrderFormat1, CMI::OrderFormat1CancelReplace, CMI::OrderFormat1CancelRequest, CMI::OrderFormat2, CMI::OrderFormat2Cancel, CMI::OrderFormat2CancelReplace, CMI::OrderFormat2Response, CMI::OrderFormat3, CMI::OrderFormat3CancelReplace, CMI::OrderFormat3PartialCancel, CMI::OrderResponse, CMI::PairedOrder, CMI::PairedStrategyOrder, CMI::ProductDownloadForEquityClassResponse, CMI::ProductDownloadForFutureClassResponse, CMI::ProductDownloadForOptionClassResponse, CMI::ProductDownloadForStrategyClassResponse, CMI::ProductDownloadRequestForClass, CMI::ProductDownloadRequestForTradingSession, CMI::ProductDownloadRequestForTradingSessionWithUnderlying, CMI::ProductDownloadResponseForTradingSession, CMI::ProductDownloadResponseForTradingSessionWithUnderlying, CMI::ProductStateUpdateResponse, CMI::QRMControlUpdateInitialization, CMI::QRMEnablementAndSettings, CMI::QRMQueryResponse, CMI::QRMStatusResponse, CMI::QuoteAcknowledgement, CMI::QuoteBustReport, CMI::QuoteCancelRequest, CMI::QuoteCancelResponse, CMI::QuoteFillReport, CMI::RateInfo, CMI::RemoveQRMProfileByClassByTypeRequest, CMI::RequestAcknowledgementMessage, CMI::RequestForQuote, CMI::SequenceReset, CMI::SessionProfileResponse, CMI::SessionReject, CMI::SetQRMProfileRequest, CMI::StrategyDefinitionRequest, CMI::StrategyOrder, CMI::StrategyOrderCancelReplace, CMI::TextMessage, CMI::TradingSessionBusinessDayRequest, CMI::TradingSessionBusinessDayResponse, CMI::TradingSessionStatusRequest, and CMI::TradingSessionStatusResponse.

+ Collaboration diagram for CMI::StandardHeader:

Public Member Functions

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 ()
 

Public Attributes

UInt8 cmiMarker
 
UInt8 messageFlags
 
UInt32 messageLength
 
UInt32 messageSequenceNumber
 
MessageType messageType
 
UInt8 reserved
 
UInt16 reserved2
 
UInt8 version
 

Constructor & Destructor Documentation

CMI::StandardHeader::StandardHeader ( )
inline

Member Function Documentation

UInt8 CMI::StandardHeader::getCmiMarker ( ) const
inline
UInt8 CMI::StandardHeader::getMessageFlags ( ) const
inline
UInt32 CMI::StandardHeader::getMessageLength ( ) const
inline
UInt32 CMI::StandardHeader::getMessageSequenceNumber ( ) const
inline
MessageType::Enum CMI::StandardHeader::getMessageType ( ) const
inline
UInt8 CMI::StandardHeader::getVersion ( ) const
inline
void CMI::StandardHeader::setCmiMarker ( UInt8  marker)
inline
void CMI::StandardHeader::setMessageFlags ( UInt8  value)
inline
void CMI::StandardHeader::setMessageLength ( UInt32  value)
inline

References BSWAP32.

Referenced by fix_algo::CmiFixConverter::convertAppMsgToBinary(), CMI::convertSessionLevelMsgToBinary(), CMI::convertToHeartbeat(), CMI::AcceptFloorTrade::updateMessageLength(), CMI::AcceptFloorTradeResponse::updateMessageLength(), CMI::AuctionNotification::updateMessageLength(), CMI::AuctionSubscription::updateMessageLength(), CMI::BusinessReject::updateMessageLength(), CMI::ClearQRMRequest::updateMessageLength(), CMI::DeleteFloorTrade::updateMessageLength(), CMI::GMDAcknowledgement::updateMessageLength(), CMI::GetQRMProfileRequest::updateMessageLength(), CMI::GetQRMProfileResponse::updateMessageLength(), CMI::GetQRMStatusRequest::updateMessageLength(), CMI::Heartbeat::updateMessageLength(), CMI::Logon::updateMessageLength(), CMI::LogonResponse::updateMessageLength(), CMI::Logout::updateMessageLength(), CMI::MassQuote::updateMessageLength(), CMI::MassQuoteWithClearingInfo::updateMessageLength(), CMI::OrderBustReinstateReport::updateMessageLength(), CMI::OrderBustReport::updateMessageLength(), CMI::OrderFillReport::updateMessageLength(), CMI::OrderFormat1::updateMessageLength(), CMI::OrderFormat1CancelReplace::updateMessageLength(), CMI::OrderFormat1CancelRequest::updateMessageLength(), CMI::OrderFormat2::updateMessageLength(), CMI::OrderFormat2Cancel::updateMessageLength(), CMI::OrderFormat2CancelReplace::updateMessageLength(), CMI::OrderFormat2Response::updateMessageLength(), CMI::OrderFormat3::updateMessageLength(), CMI::OrderFormat3CancelReplace::updateMessageLength(), CMI::OrderFormat3PartialCancel::updateMessageLength(), CMI::OrderResponse::updateMessageLength(), CMI::PairedOrder::updateMessageLength(), CMI::PairedStrategyOrder::updateMessageLength(), CMI::ProductDownloadForEquityClassResponse::updateMessageLength(), CMI::ProductDownloadForFutureClassResponse::updateMessageLength(), CMI::ProductDownloadForOptionClassResponse::updateMessageLength(), CMI::ProductDownloadForStrategyClassResponse::updateMessageLength(), CMI::ProductDownloadRequestForClass::updateMessageLength(), CMI::ProductDownloadRequestForTradingSession::updateMessageLength(), CMI::ProductDownloadRequestForTradingSessionWithUnderlying::updateMessageLength(), CMI::ProductDownloadResponseForTradingSession::updateMessageLength(), CMI::ProductDownloadResponseForTradingSessionWithUnderlying::updateMessageLength(), CMI::ProductStateUpdateResponse::updateMessageLength(), CMI::QRMControlUpdateInitialization::updateMessageLength(), CMI::QRMEnablementAndSettings::updateMessageLength(), CMI::QRMQueryResponse::updateMessageLength(), CMI::QRMStatusResponse::updateMessageLength(), CMI::QuoteAcknowledgement::updateMessageLength(), CMI::QuoteBustReport::updateMessageLength(), CMI::QuoteCancelRequest::updateMessageLength(), CMI::QuoteCancelResponse::updateMessageLength(), CMI::QuoteFillReport::updateMessageLength(), CMI::RateInfo::updateMessageLength(), CMI::RemoveQRMProfileByClassByTypeRequest::updateMessageLength(), CMI::RequestAcknowledgementMessage::updateMessageLength(), CMI::RequestForQuote::updateMessageLength(), CMI::SequenceReset::updateMessageLength(), CMI::SessionProfileResponse::updateMessageLength(), CMI::SessionReject::updateMessageLength(), CMI::SetQRMProfileRequest::updateMessageLength(), CMI::StrategyDefinitionRequest::updateMessageLength(), CMI::StrategyOrder::updateMessageLength(), CMI::StrategyOrderCancelReplace::updateMessageLength(), CMI::TextMessage::updateMessageLength(), CMI::TradingSessionBusinessDayRequest::updateMessageLength(), CMI::TradingSessionBusinessDayResponse::updateMessageLength(), CMI::TradingSessionStatusRequest::updateMessageLength(), and CMI::TradingSessionStatusResponse::updateMessageLength().

void CMI::StandardHeader::setMessageSequenceNumber ( UInt32  value)
inline
void CMI::StandardHeader::setMessageType ( MessageType::Enum  value)
inline
void CMI::StandardHeader::setMessageType ( UInt8  value)
inline

Member Data Documentation

UInt8 CMI::StandardHeader::cmiMarker
UInt8 CMI::StandardHeader::messageFlags
UInt32 CMI::StandardHeader::messageLength
UInt32 CMI::StandardHeader::messageSequenceNumber
MessageType CMI::StandardHeader::messageType
UInt8 CMI::StandardHeader::reserved
UInt16 CMI::StandardHeader::reserved2
UInt8 CMI::StandardHeader::version