FlightGear next
FGMultiplayMgr::MsgBuf Union Reference

The buffer that holds a multi-player message, suitably aligned. More...

Public Member Functions

 MsgBuf ()
 
T_MsgHdrmsgHdr ()
 
const T_MsgHdrmsgHdr () const
 
T_PositionMsgposMsg ()
 
const T_PositionMsgposMsg () const
 
xdr_data_tproperties ()
 
const xdr_data_tproperties () const
 
xdr_data_tpropsEnd ()
 The end of the properties buffer.
 
const xdr_data_tpropsEnd () const
 
xdr_data_tpropsRecvdEnd ()
 The end of properties actually in the buffer.
 
const xdr_data_tpropsRecvdEnd () const
 

Public Attributes

xdr_data2_t double_val
 
char Msg [1200]
 
T_MsgHdr Header
 

Detailed Description

The buffer that holds a multi-player message, suitably aligned.

Definition at line 1261 of file multiplaymgr.cxx.

Constructor & Destructor Documentation

◆ MsgBuf()

FGMultiplayMgr::MsgBuf::MsgBuf ( )
inline

Definition at line 1263 of file multiplaymgr.cxx.

Member Function Documentation

◆ msgHdr() [1/2]

T_MsgHdr * FGMultiplayMgr::MsgBuf::msgHdr ( )
inline

Definition at line 1268 of file multiplaymgr.cxx.

◆ msgHdr() [2/2]

const T_MsgHdr * FGMultiplayMgr::MsgBuf::msgHdr ( ) const
inline

Definition at line 1273 of file multiplaymgr.cxx.

◆ posMsg() [1/2]

T_PositionMsg * FGMultiplayMgr::MsgBuf::posMsg ( )
inline

Definition at line 1278 of file multiplaymgr.cxx.

◆ posMsg() [2/2]

const T_PositionMsg * FGMultiplayMgr::MsgBuf::posMsg ( ) const
inline

Definition at line 1283 of file multiplaymgr.cxx.

◆ properties() [1/2]

xdr_data_t * FGMultiplayMgr::MsgBuf::properties ( )
inline

Definition at line 1288 of file multiplaymgr.cxx.

◆ properties() [2/2]

const xdr_data_t * FGMultiplayMgr::MsgBuf::properties ( ) const
inline

Definition at line 1294 of file multiplaymgr.cxx.

◆ propsEnd() [1/2]

xdr_data_t * FGMultiplayMgr::MsgBuf::propsEnd ( )
inline

The end of the properties buffer.

Definition at line 1302 of file multiplaymgr.cxx.

◆ propsEnd() [2/2]

const xdr_data_t * FGMultiplayMgr::MsgBuf::propsEnd ( ) const
inline

Definition at line 1307 of file multiplaymgr.cxx.

◆ propsRecvdEnd() [1/2]

xdr_data_t * FGMultiplayMgr::MsgBuf::propsRecvdEnd ( )
inline

The end of properties actually in the buffer.

This assumes that the message header is valid.

Definition at line 1315 of file multiplaymgr.cxx.

◆ propsRecvdEnd() [2/2]

const xdr_data_t * FGMultiplayMgr::MsgBuf::propsRecvdEnd ( ) const
inline

Definition at line 1320 of file multiplaymgr.cxx.

Member Data Documentation

◆ double_val

xdr_data2_t FGMultiplayMgr::MsgBuf::double_val

Definition at line 1325 of file multiplaymgr.cxx.

◆ Header

T_MsgHdr FGMultiplayMgr::MsgBuf::Header

Definition at line 1327 of file multiplaymgr.cxx.

◆ Msg

char FGMultiplayMgr::MsgBuf::Msg[1200]

Definition at line 1326 of file multiplaymgr.cxx.


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