libjmmcg  build_2783
A C++ library containing an eclectic mix of useful, advanced components.
isimud::exchanges::MIT::common::Heartbeat Struct Reference

#include <messages.hpp>

Inheritance diagram for isimud::exchanges::MIT::common::Heartbeat:
[legend]
Collaboration diagram for isimud::exchanges::MIT::common::Heartbeat:
[legend]

Public Types

enum  : MsgType_t { static_type =static_cast<MsgType_t>(AdminMsgType::Heartbeat) }
 
enum  : std::size_t { header_t_size =sizeof(Header_t) }
 
using Header_t = Header
 
- Public Types inherited from isimud::exchanges::MIT::common::Header
enum  : bool { has_static_size =true }
 
using ClientOrderID_t = common::ClientOrderID_t
 
using OrderID_t = common::OrderID_t
 
using MsgTypes_t = common::MsgType_t
 

Public Member Functions

constexpr Heartbeat () noexcept(true) FORCE_INLINE
 
template<class SrcMsg >
constexpr __stdcall Heartbeat (SrcMsg const &msg) noexcept(true)=deleteFORCE_INLINE
 Create a message from the source message. More...
 
template<>
constexpr __stdcall Heartbeat (FIX::v5_0sp2::MsgTypes::ClientHeartbeat const &) noexcept(true)
 
- Public Member Functions inherited from isimud::exchanges::MIT::common::Header
MsgType_t type () const noexcept(true)
 
std::uint16_t length () const noexcept(true)
 
bool is_valid () const noexcept(true)
 

Additional Inherited Members

- Public Attributes inherited from isimud::exchanges::MIT::common::Header
enum isimud::exchanges::MIT::common::Header:: { ... }  __attribute__
 
const std::int8_t start_of_message =2
 
const std::int16_t length_
 
const MsgType_t type_
 
- Protected Member Functions inherited from isimud::exchanges::MIT::common::Header
template<class MsgT >
constexpr Header (MsgT const *) noexcept(true) FORCE_INLINE
 

Detailed Description

Section: "8.3.4 Heartbeat"

Definition at line 247 of file messages.hpp.

Member Typedef Documentation

◆ Header_t

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : MsgType_t
Enumerator
static_type 

Definition at line 249 of file messages.hpp.

◆ anonymous enum

anonymous enum : std::size_t
Enumerator
header_t_size 

Definition at line 252 of file messages.hpp.

Constructor & Destructor Documentation

◆ Heartbeat() [1/3]

constexpr isimud::exchanges::MIT::common::Heartbeat::Heartbeat ( )
inlineconstexprnoexcept

Definition at line 147 of file messages_impl.hpp.

◆ Heartbeat() [2/3]

template<class SrcMsg >
constexpr __stdcall isimud::exchanges::MIT::common::Heartbeat::Heartbeat ( SrcMsg const &  msg)
explicitconstexprdeletenoexcept

Create a message from the source message.

If an error is generated, then this function will need to be specialised for the particular Msg-type.

Parameters
msgThe source message from which the target message should be created.

◆ Heartbeat() [3/3]

template<>
constexpr __stdcall isimud::exchanges::MIT::common::Heartbeat::Heartbeat ( FIX::v5_0sp2::MsgTypes::ClientHeartbeat const &  )
inlineconstexprnoexcept

Definition at line 222 of file fix_to_mit_conversions.hpp.


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