XPMP2
X-Plane multiplayer library 2 - using instancing
Public Member Functions | Public Attributes | List of all members
XPMP2::RmtDataEnqeueTy< ElemTy, MsgTy > Class Template Reference

Passing information about any data type (like a/c full detail message); the data is contained as copy. More...

#include <Remote.h>

+ Inheritance diagram for XPMP2::RmtDataEnqeueTy< ElemTy, MsgTy >:

Public Member Functions

 RmtDataEnqeueTy ()
 Default constructor only sets message type, leaves rest defaulted. More...
 
 RmtDataEnqeueTy (const ElemTy &_elem)
 Data copy constructor copies the passed-in data. More...
 
- Public Member Functions inherited from XPMP2::RmtDataBaseTy
 RmtDataBaseTy (RemoteMsgTy _ty)
 Constructor just set the message type. More...
 
virtual ~RmtDataBaseTy ()
 Virtual destructor makes sure correct deletion of derived class' objects even through (smart) pointers to this base class. More...
 

Public Attributes

ElemTy data
 the payload data More...
 
- Public Attributes inherited from XPMP2::RmtDataBaseTy
RemoteMsgTy msgTy
 which message to send? More...
 

Detailed Description

template<class ElemTy, RemoteMsgTy MsgTy>
class XPMP2::RmtDataEnqeueTy< ElemTy, MsgTy >

Passing information about any data type (like a/c full detail message); the data is contained as copy.

Constructor & Destructor Documentation

◆ RmtDataEnqeueTy() [1/2]

template<class ElemTy , RemoteMsgTy MsgTy>
XPMP2::RmtDataEnqeueTy< ElemTy, MsgTy >::RmtDataEnqeueTy ( )
inline

Default constructor only sets message type, leaves rest defaulted.

◆ RmtDataEnqeueTy() [2/2]

template<class ElemTy , RemoteMsgTy MsgTy>
XPMP2::RmtDataEnqeueTy< ElemTy, MsgTy >::RmtDataEnqeueTy ( const ElemTy &  _elem)
inline

Data copy constructor copies the passed-in data.

Member Data Documentation

◆ data

template<class ElemTy , RemoteMsgTy MsgTy>
ElemTy XPMP2::RmtDataEnqeueTy< ElemTy, MsgTy >::data

the payload data


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