hmbdc
simplify-high-performance-messaging-programming
Public Member Functions | Public Attributes | Friends | List of all members
hmbdc::app::MessageHead Struct Reference
Inheritance diagram for hmbdc::app::MessageHead:
hmbdc::app::MessageWrap< Message > hmbdc::app::MessageWrap< JustBytes > hmbdc::app::MessageWrap< hmbdc::app::tcpcast::SessionDropped > hmbdc::app::MessageWrap< hmbdc::app::tcpcast::SessionStarted >

Public Member Functions

 MessageHead (uint16_t typeTag)
 
template<typename Message >
Message & get ()
 
template<typename Message >
Message const & get () const
 
template<typename Message >
void setPayload (Message const &)
 
template<typename Message , typename... Args>
void setPayloadInPlace (Args &&...args)
 

Public Attributes

uint32_t reserved2
 
uint16_t reserved
 
uint16_t typeTag
 

Friends

std::ostream & operator<< (std::ostream &os, MessageHead const &h)
 

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