WSF
WsfXIO_SimTimePkt Class Reference

#include <WsfXIO_PacketRegistry.hpp>

Inheritance diagram for WsfXIO_SimTimePkt:
Collaboration diagram for WsfXIO_SimTimePkt:

Public Types

enum  SimulationState { cREALTIME , cNON_REALTIME , cPAUSED , cCOMPLETE }
Public Types inherited from WsfXIO_Packet
enum  PacketFlags { cSYNCHRONIZED = 1 }
typedef bool BaseType

Public Member Functions

 XIO_DEFINE_PACKET (WsfXIO_SimTimePkt, WsfXIO_ResponsePkt, 46)
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

SimulationState mState
double mSimTime
double mClockRate
double mEndTime
int32_t mCurrentRunNumber
int32_t mFinalRunNumber
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 Enumeration Documentation

◆ SimulationState

Enumerator
cREALTIME 

Simulation is executing at a multiple(mClockRate) of realtime.

cNON_REALTIME 

Simulation is executing at non-realtime.

cPAUSED 

Simulation is paused.

cCOMPLETE 

Simulation is complete.

Member Function Documentation

◆ XIO_DEFINE_PACKET()

WsfXIO_SimTimePkt::XIO_DEFINE_PACKET ( WsfXIO_SimTimePkt ,
WsfXIO_ResponsePkt ,
46  )
inline

Member Data Documentation

◆ mClockRate

◆ mCurrentRunNumber

int32_t WsfXIO_SimTimePkt::mCurrentRunNumber

◆ mEndTime

double WsfXIO_SimTimePkt::mEndTime

◆ mFinalRunNumber

int32_t WsfXIO_SimTimePkt::mFinalRunNumber

◆ mSimTime

◆ mState


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