WSF
WsfXIO_DisPlatformInfoPkt Class Reference

#include <WsfXIO_PacketRegistry.hpp>

Inheritance diagram for WsfXIO_DisPlatformInfoPkt:
Collaboration diagram for WsfXIO_DisPlatformInfoPkt:

Public Types

typedef std::pair< WsfStringId, WsfStringIdCommander
 Pair containing (Command chain nameID, Commander nameID).
typedef std::vector< CommanderCommanderList
Public Types inherited from WsfXIO_Packet
enum  PacketFlags { cSYNCHRONIZED = 1 }
typedef bool BaseType

Public Member Functions

 XIO_DEFINE_PACKET (WsfXIO_DisPlatformInfoPkt, WsfXIO_ResponsePkt, 30)
Public Member Functions inherited from WsfXIO_ResponsePkt
 XIO_DEFINE_PACKET_CTOR (WsfXIO_ResponsePkt, WsfXIO_Packet, 5)
 mFromProvider (false)
 mCompletesRequest (false)
 mRequestId (0)
 XIO_DEFINE_PACKET_SERIALIZE ()
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

int32_t mPlatformIndex
 Platform Index.
WsfStringId mName
 NameID of the platform.
WsfStringId mType
 TypeID of the platform.
WsfStringId mSide
 SideId of the platform.
WsfXIO_EntityId mEntityId
 DIS Id of the platform.
bool mIsExternallyControlled
 'true' if the platform is an externally controlled entity
bool mIsAlive
 'true' if the platform is in the simulation
CommanderList mCommanders
 List of commanders.
Public Attributes inherited from WsfXIO_ResponsePkt
bool mFromProvider
bool mCompletesRequest
 If true, the receipt of this response indicates the request has been satisfied and should be closed.
int32_t mRequestId
 Request ID. If this is 0, the packet is for any receiver.
Public Attributes inherited from WsfXIO_Packet
GenUniqueId mApplicationId

Additional Inherited Members

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 Typedef Documentation

◆ Commander

Pair containing (Command chain nameID, Commander nameID).

◆ CommanderList

Member Function Documentation

◆ XIO_DEFINE_PACKET()

WsfXIO_DisPlatformInfoPkt::XIO_DEFINE_PACKET ( WsfXIO_DisPlatformInfoPkt ,
WsfXIO_ResponsePkt ,
30  )
inline

Member Data Documentation

◆ mCommanders

CommanderList WsfXIO_DisPlatformInfoPkt::mCommanders

List of commanders.

Referenced by WsfXIO_AutoDisMapping::NewDisPlatform(), and XIO_DEFINE_PACKET().

◆ mEntityId

WsfXIO_EntityId WsfXIO_DisPlatformInfoPkt::mEntityId

DIS Id of the platform.

Referenced by WsfXIO_AutoDisMapping::HandlePlatformInfo(), and XIO_DEFINE_PACKET().

◆ mIsAlive

bool WsfXIO_DisPlatformInfoPkt::mIsAlive

'true' if the platform is in the simulation

Referenced by WsfXIO_AutoDisMapping::HandlePlatformInfo(), and XIO_DEFINE_PACKET().

◆ mIsExternallyControlled

bool WsfXIO_DisPlatformInfoPkt::mIsExternallyControlled

'true' if the platform is an externally controlled entity

Referenced by XIO_DEFINE_PACKET().

◆ mName

WsfStringId WsfXIO_DisPlatformInfoPkt::mName

NameID of the platform.

Referenced by WsfXIO_AutoDisMapping::NewDisPlatform(), and XIO_DEFINE_PACKET().

◆ mPlatformIndex

int32_t WsfXIO_DisPlatformInfoPkt::mPlatformIndex

◆ mSide

WsfStringId WsfXIO_DisPlatformInfoPkt::mSide

SideId of the platform.

Referenced by WsfXIO_AutoDisMapping::NewDisPlatform(), and XIO_DEFINE_PACKET().

◆ mType

WsfStringId WsfXIO_DisPlatformInfoPkt::mType

TypeID of the platform.

Referenced by WsfXIO_AutoDisMapping::NewDisPlatform(), and XIO_DEFINE_PACKET().


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