libjmmcg  build_2176
A C++ library containing an eclectic mix of useful, advanced components.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
jmmcg::exchanges::BATSBOE::common::LogonReply< MsgT, Msg > Struct Template Reference

#include <messages.hpp>

Inheritance diagram for jmmcg::exchanges::BATSBOE::common::LogonReply< MsgT, Msg >:
[legend]
Collaboration diagram for jmmcg::exchanges::BATSBOE::common::LogonReply< MsgT, Msg >:
[legend]

Classes

struct  respond
 

Public Types

enum  : std::size_t { header_t_size =sizeof(Header_t) }
 
using Header_t = Header< MsgT, Msg >
 
- Public Types inherited from jmmcg::exchanges::BATSBOE::common::Header< MsgT, Msg >
enum  : typename std::underlying_type< MsgType_t >::type { type_const =static_cast<typename std::underlying_type<MsgType_t>::type>(Msg) }
 
enum  : bool { has_static_size =false }
 
using MsgType_t = MsgT
 

Public Member Functions

 LogonReply () noexcept(true) FORCE_INLINE
 
 LogonReply (uint32_t seqNum) noexcept(true) FORCE_INLINE
 
LoginResponseStatus rejectCode () const noexcept(true) FORCE_INLINE
 
void rejectCode (LoginResponseStatus const &rc) noexcept(true) FORCE_INLINE
 
- Public Member Functions inherited from jmmcg::exchanges::BATSBOE::common::Header< MsgT, Msg >
 Header (std::size_t l) noexcept(true) FORCE_INLINE
 
 Header (std::size_t l, uint32_t seqNumber) noexcept(true) FORCE_INLINE
 
const MsgType_t type () const noexcept(true)
 
uint16_t length () const noexcept(true)
 The actual, not the foolish BATSBOE-specified, length which excludes the start_of_message field. More...
 

Public Attributes

LoginResponseStatus loginResponseStatus
 
- Public Attributes inherited from jmmcg::exchanges::BATSBOE::common::Header< MsgT, Msg >
enum
jmmcg::exchanges::BATSBOE::common::Header:: { ... }  
__attribute__
 
const uint16_t start_of_message =msg_start_code
 
const MsgType_t type_ {Msg}
 
const uint8_t matchingUnit =0
 
const uint32_t sequenceNumber
 

Static Public Attributes

static constexpr const
LoginResponseStatus 
logon_success =LoginResponseStatus::LoginAccepted
 

Additional Inherited Members

- Protected Member Functions inherited from jmmcg::exchanges::BATSBOE::common::Header< MsgT, Msg >
 ~Header () noexcept(true)=default
 
- Protected Attributes inherited from jmmcg::exchanges::BATSBOE::common::Header< MsgT, Msg >
uint16_t length_
 

Detailed Description

template<class MsgT, MsgT Msg>
struct jmmcg::exchanges::BATSBOE::common::LogonReply< MsgT, Msg >

Section: "3.2.1 Login Response"

Definition at line 183 of file messages.hpp.

Member Typedef Documentation

template<class MsgT , MsgT Msg>
using jmmcg::exchanges::BATSBOE::common::LogonReply< MsgT, Msg >::Header_t = Header<MsgT, Msg>

Definition at line 184 of file messages.hpp.

Member Enumeration Documentation

template<class MsgT , MsgT Msg>
anonymous enum : std::size_t
Enumerator
header_t_size 

Definition at line 185 of file messages.hpp.

Constructor & Destructor Documentation

template<class MsgT , MsgT Msg>
jmmcg::exchanges::BATSBOE::common::LogonReply< MsgT, Msg >::LogonReply ( )
inlinenoexcept

Definition at line 70 of file messages_impl.hpp.

template<class MsgT , MsgT Msg>
jmmcg::exchanges::BATSBOE::common::LogonReply< MsgT, Msg >::LogonReply ( uint32_t  seqNum)
inlineexplicitnoexcept

Definition at line 75 of file messages_impl.hpp.

Member Function Documentation

template<class MsgT , MsgT Msg>
LoginResponseStatus jmmcg::exchanges::BATSBOE::common::LogonReply< MsgT, Msg >::rejectCode ( ) const
inlinenoexcept

Definition at line 198 of file messages.hpp.

template<class MsgT , MsgT Msg>
void jmmcg::exchanges::BATSBOE::common::LogonReply< MsgT, Msg >::rejectCode ( LoginResponseStatus const &  rc)
inlinenoexcept

Definition at line 201 of file messages.hpp.

Member Data Documentation

template<class MsgT , MsgT Msg>
LoginResponseStatus jmmcg::exchanges::BATSBOE::common::LogonReply< MsgT, Msg >::loginResponseStatus

Definition at line 193 of file messages.hpp.

template<class MsgT , MsgT Msg>
constexpr const LoginResponseStatus jmmcg::exchanges::BATSBOE::common::LogonReply< MsgT, Msg >::logon_success =LoginResponseStatus::LoginAccepted
static

Definition at line 191 of file messages.hpp.


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