WSF
WsfDisSetDataR Class Reference

#include <WsfDisSetDataR.hpp>

Inherits DisSetDataR.

Public Member Functions

 WsfDisSetDataR (WsfDisInterface *aInterfacePtr)
 WsfDisSetDataR (DisPdu &aPdu, GenI &aGenI, WsfDisInterface *aInterfacePtr)
 ~WsfDisSetDataR () override
void TimedOut () override
void Make_STP_or_TAG (double aSimTime, double aSimTimeStep, double aSimRate, int aTimeScheme)

Protected Member Functions

WsfDisSetDataRoperator= (const WsfDisSetDataR &aRhs)=delete
WsfDisDataRProduceResponse (bool &aIsDone)
bool ProcessSetDataRequest ()
bool PopulateResponse (WsfDisDataR *aResponsePduPtr) const
bool ParseTimeParameters (double &aSimTime, double &aSimTimeStep, double &aSimRate, int &aTimeScheme) const

Constructor & Destructor Documentation

◆ WsfDisSetDataR() [1/2]

WsfDisSetDataR::WsfDisSetDataR ( WsfDisInterface * aInterfacePtr)

Constructor Local Origination Generate WsfDisSetDataR to be sent to one or more external simulations.

Parameters
aInterfacePtrA pointer to the DIS interface.

References WsfDisUtil::GetNextRequestNumber(), and WsfDisUtil::GetReliabilityService().

Referenced by operator=().

◆ WsfDisSetDataR() [2/2]

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

Constructor Remote Origination Generate WsfDisSetDataR while processing an externally received DisSetDataR PDU.

Parameters
aPduA reference to the incoming Protocol Data Unit (PDU).
aGenIA GenI helper reference used to retrieve PDU information from the buffer.
aInterfacePtrA pointer to the DIS interface.

◆ ~WsfDisSetDataR()

WsfDisSetDataR::~WsfDisSetDataR ( )
override

Member Function Documentation

◆ Make_STP_or_TAG()

void WsfDisSetDataR::Make_STP_or_TAG ( double aSimTime,
double aSimTimeStep,
double aSimRate,
int aTimeScheme )

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

◆ operator=()

WsfDisSetDataR & WsfDisSetDataR::operator= ( const WsfDisSetDataR & aRhs)
protecteddelete

◆ ParseTimeParameters()

bool WsfDisSetDataR::ParseTimeParameters ( double & aSimTime,
double & aSimTimeStep,
double & aSimRate,
int & aTimeScheme ) const
protected

References WsfDisUtil::DebugEnabled().

Referenced by operator=().

◆ PopulateResponse()

◆ ProcessSetDataRequest()

◆ ProduceResponse()

WsfDisDataR * WsfDisSetDataR::ProduceResponse ( bool & aIsDone)
protected

References PopulateResponse().

Referenced by operator=().

◆ TimedOut()

void WsfDisSetDataR::TimedOut ( )
override

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