WSF
WsfXIO_SimTimeRequest Class Reference

#include <WsfXIO_SimTimeRequest.hpp>

Inheritance diagram for WsfXIO_SimTimeRequest:
Collaboration diagram for WsfXIO_SimTimeRequest:

Public Member Functions

 WsfXIO_SimTimeRequest (WsfXIO_Connection *aConnectionPtr, WsfXIO_RequestSimTimePkt::TimerType aTimerType=WsfXIO_RequestSimTimePkt::cSIM_TIME_INTERVAL, double aInterval=1.0, bool aIsReliable=true)
void SetUpdateInterval (double aSimTimeInterval)
double GetUpdateInterval () const
void SetTimerType (WsfXIO_RequestSimTimePkt::TimerType aTimerType)
Public Member Functions inherited from WsfXIO_Request
 WsfXIO_Request (WsfXIO_Connection *aConnectionPtr, bool aIsReliable=true)
virtual void HandleResponse (WsfXIO_ResponsePkt &aPkt)
void SendRequest (WsfXIO_RequestDataPkt &aPkt)
 Sends the request to the remote application.
WsfXIO_ConnectionGetConnection () const
 Returns the connection to the application from which data is requested.
bool IsReliable () const
 Returns 'true' if data for this request is to be sent reliably.
int GetRequestId () const
 Returns the request's locally unique ID.
void SetRequestManager (WsfXIO_RequestManager *aRequestManagerPtr)
 Sets the owner of this request.
void SendResponse (WsfXIO_ResponsePkt &aPkt)

Additional Inherited Members

Protected Member Functions inherited from WsfXIO_Request
virtual ~WsfXIO_Request ()
void SetRequestId (unsigned int aRequestId)
void SetRemotelyDestroyed ()
bool IsRemotelyDestroyed () const
void SetIsReliable (bool aIsReliable)

Detailed Description

Requests information about a remote simulation's clock. Receives WsfXIO_SimTimePkt on a regular interval in addition to clock pause/resume/rate-change events.

Constructor & Destructor Documentation

◆ WsfXIO_SimTimeRequest()

WsfXIO_SimTimeRequest::WsfXIO_SimTimeRequest ( WsfXIO_Connection * aConnectionPtr,
WsfXIO_RequestSimTimePkt::TimerType aTimerType = WsfXIO_RequestSimTimePkt::cSIM_TIME_INTERVAL,
double aInterval = 1.0,
bool aIsReliable = true )

Member Function Documentation

◆ GetUpdateInterval()

double WsfXIO_SimTimeRequest::GetUpdateInterval ( ) const
inline

◆ SetTimerType()

void WsfXIO_SimTimeRequest::SetTimerType ( WsfXIO_RequestSimTimePkt::TimerType aTimerType)
inline

◆ SetUpdateInterval()

void WsfXIO_SimTimeRequest::SetUpdateInterval ( double aSimTimeInterval)
inline

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