WSF
WsfXIO_DisMessagePkt Class Reference

#include <WsfXIO_SimPacketRegistry.hpp>

Inheritance diagram for WsfXIO_DisMessagePkt:
Collaboration diagram for WsfXIO_DisMessagePkt:

Public Member Functions

 XIO_DEFINE_PACKET (WsfXIO_DisMessagePkt, WsfXIO_Packet, 31)
void ReceiveCleanup () override
Public Member Functions inherited from WsfXIO_Packet
 WsfXIO_Packet (int aPacketId)
template<typename T>
void Serialize (T &aBuff)
 Serializes the packet header. Must be called first from derived class Serialize().
float GetTimeStamp () const
void SetTimeStamp (float aTimeStamp)
void SetFlags (uint32_t aFlags)
void AddFlags (uint32_t aFlags)
uint32_t GetFlags () const

Public Attributes

double mSimTime
 Simulation time when the message is sent.
int32_t mPlatformIndex
 Index of the platform sending the message.
WsfStringId mCommName
 NameID of the comm device transmitting the message.
const WsfMessagemMessagePtr
 Message that is sent.
Public Attributes inherited from WsfXIO_Packet
GenUniqueId mApplicationId

Additional Inherited Members

Public Types inherited from WsfXIO_Packet
enum  PacketFlags { cSYNCHRONIZED = 1 }
typedef bool BaseType
Static Public Attributes inherited from WsfXIO_Packet
static const int cPACKET_ID = -1
Protected Attributes inherited from WsfXIO_Packet
uint32_t mFlags
float mTimeStamp

Member Function Documentation

◆ ReceiveCleanup()

void WsfXIO_DisMessagePkt::ReceiveCleanup ( )
inlineoverride

References mMessagePtr.

◆ XIO_DEFINE_PACKET()

WsfXIO_DisMessagePkt::XIO_DEFINE_PACKET ( WsfXIO_DisMessagePkt ,
WsfXIO_Packet ,
31  )
inline

Member Data Documentation

◆ mCommName

WsfStringId WsfXIO_DisMessagePkt::mCommName

NameID of the comm device transmitting the message.

Referenced by wsf::xio::CommComponent::Receive(), and XIO_DEFINE_PACKET().

◆ mMessagePtr

const WsfMessage* WsfXIO_DisMessagePkt::mMessagePtr

◆ mPlatformIndex

int32_t WsfXIO_DisMessagePkt::mPlatformIndex

Index of the platform sending the message.

Referenced by WsfXIO_AutoDisMapping::HandleDisMessage(), wsf::xio::CommComponent::Receive(), and XIO_DEFINE_PACKET().

◆ mSimTime

double WsfXIO_DisMessagePkt::mSimTime

The documentation for this class was generated from the following file:
Copyrights Multiple, All Rights Reserved