WSF
WsfDisActionRequest Class Reference

#include <WsfDisActionRequest.hpp>

Inherits DisActionRequest.

Public Member Functions

 WsfDisActionRequest (WsfDisInterface *aInterfacePtr)
 WsfDisActionRequest (DisPdu &aPdu, GenI &aGenI, WsfDisInterface *aInterfacePtr)
 ~WsfDisActionRequest () override
int Process () override
void MakeJoinExerciseRequest (const DisEntityId &aSimulationManager, double aAppJoinTime, double aMaxAppRate, double aMaxAppTimeStep, const std::string &aExerciseToJoinId)
 1) Application requesting of his System Manager to join an exercise
void MakeTimeAdvanceRequest (const DisEntityId &aSimulationManager, double aSimTime, double aAppRate, double aAppTimeStep)
void MakeResignExerciseRequest (double aSimTime)

Protected Member Functions

WsfDisActionRequestoperator= (const WsfDisActionRequest &aRhs)
bool ProcessJoinExercise (double aSimTime)
bool ParseJoinExerciseRequest (double &aAppJoinTime, double &aMaxAppRate, double &aMaxAppTimeStep, std::string &aExerciseToJoinId) const

Constructor & Destructor Documentation

◆ WsfDisActionRequest() [1/2]

WsfDisActionRequest::WsfDisActionRequest ( WsfDisInterface * aInterfacePtr)

References WsfDisUtil::GetNextRequestNumber().

Referenced by operator=().

◆ WsfDisActionRequest() [2/2]

WsfDisActionRequest::WsfDisActionRequest ( DisPdu & aPdu,
GenI & aGenI,
WsfDisInterface * aInterfacePtr )

◆ ~WsfDisActionRequest()

WsfDisActionRequest::~WsfDisActionRequest ( )
override

Member Function Documentation

◆ MakeJoinExerciseRequest()

void WsfDisActionRequest::MakeJoinExerciseRequest ( const DisEntityId & aSimulationManager,
double aAppJoinTime,
double aMaxAppRate,
double aMaxAppTimeStep,
const std::string & aExerciseToJoinId )

1) Application requesting of his System Manager to join an exercise

There are several possible uses for a WsfDisActionRequest PDU. The following methods are provided as a convenience, and specifically tailored to individual uses of the PDU type.

Referenced by WsfDisInterface::ActivateConnection().

◆ MakeResignExerciseRequest()

void WsfDisActionRequest::MakeResignExerciseRequest ( double aSimTime)

◆ MakeTimeAdvanceRequest()

void WsfDisActionRequest::MakeTimeAdvanceRequest ( const DisEntityId & aSimulationManager,
double aSimTime,
double aAppRate,
double aAppTimeStep )

◆ operator=()

WsfDisActionRequest & WsfDisActionRequest::operator= ( const WsfDisActionRequest & aRhs)
protected

◆ ParseJoinExerciseRequest()

bool WsfDisActionRequest::ParseJoinExerciseRequest ( double & aAppJoinTime,
double & aMaxAppRate,
double & aMaxAppTimeStep,
std::string & aExerciseToJoinId ) const
protected

Referenced by operator=(), and ProcessJoinExercise().

◆ Process()

int WsfDisActionRequest::Process ( )
override

◆ ProcessJoinExercise()

bool WsfDisActionRequest::ProcessJoinExercise ( double aSimTime)
protected

References ParseJoinExerciseRequest(), and success.

Referenced by operator=(), and Process().


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