WSF
WsfXIO_PlatformInfoService::EvaluateDeadReckoningEvent Class Reference

#include <WsfXIO_PlatformInfoService.hpp>

Inheritance diagram for WsfXIO_PlatformInfoService::EvaluateDeadReckoningEvent:
Collaboration diagram for WsfXIO_PlatformInfoService::EvaluateDeadReckoningEvent:

Public Member Functions

 EvaluateDeadReckoningEvent ()=default
 EvaluateDeadReckoningEvent (double aSimTime, WsfXIO_PlatformInfoService *aServicePtr, WsfXIO_SubscriptionId aSubscription, WsfPlatform *aPlatformPtr, double aInterval, double aMaxError, double aMaxOrientationError)
EventDisposition Execute () override
void SendState (WsfXIO_Subscription *aSubscriptionPtr)
void CopyState (WsfPlatform *aPlatformPtr)
Public Member Functions inherited from WsfEvent
 WsfEvent ()=default
 WsfEvent (double aSimTime, int aPriority=0)
 WsfEvent (const WsfEvent &aSrc)=delete
 Copy constructor and copy assignment deleted to prevent copying.
WsfEventoperator= (const WsfEvent &aRhs)=delete
virtual ~WsfEvent ()=default
double GetTime () const
int GetPriority () const
bool ShouldExecute () const
void SetTime (double aSimTime)
void SetPriority (int aPriority)
void SetShouldExecute (bool aExecute)
WsfSimulationGetSimulation () const
void AddedToEventQueue (WsfSimulation &aSimulation)
 Called when the event is added to the event queue of the specified simulation.

Public Attributes

WsfXIO_PlatformInfoServicemServicePtr
WsfXIO_SubscriptionId mSubscriptionId
size_t mPlatformIndex
double mInterval
double mMaxError
double mMaxOrientationError
UtVec3d mLocation
UtVec3d mVelocity
UtVec3d mAcceleration
double mPsi
double mTheta
double mPhi
double mRootTime

Additional Inherited Members

Public Types inherited from WsfEvent
enum  EventDisposition { cDELETE , cRESCHEDULE }

Constructor & Destructor Documentation

◆ EvaluateDeadReckoningEvent() [1/2]

WsfXIO_PlatformInfoService::EvaluateDeadReckoningEvent::EvaluateDeadReckoningEvent ( )
default

◆ EvaluateDeadReckoningEvent() [2/2]

WsfXIO_PlatformInfoService::EvaluateDeadReckoningEvent::EvaluateDeadReckoningEvent ( double aSimTime,
WsfXIO_PlatformInfoService * aServicePtr,
WsfXIO_SubscriptionId aSubscription,
WsfPlatform * aPlatformPtr,
double aInterval,
double aMaxError,
double aMaxOrientationError )

Member Function Documentation

◆ CopyState()

void WsfXIO_PlatformInfoService::EvaluateDeadReckoningEvent::CopyState ( WsfPlatform * aPlatformPtr)

◆ Execute()

WsfEvent::EventDisposition WsfXIO_PlatformInfoService::EvaluateDeadReckoningEvent::Execute ( )
overridevirtual

Execute the specified event.

Returns
The disposition of the event. This indicates to the event manager what should be done with the event. If cRESCHEDULE then Execute should have called SetTime to set the time for which the event manager should reschedule the event.

Implements WsfEvent.

References WsfEvent::cDELETE, CopyState(), WsfEvent::cRESCHEDULE, WsfEvent::GetSimulation(), WsfEvent::GetTime(), mAcceleration, mInterval, mLocation, mMaxError, mMaxOrientationError, mPlatformIndex, mRootTime, mServicePtr, mSubscriptionId, mVelocity, platformPtr, pos, SendState(), WsfEvent::SetTime(), and vel.

Referenced by EvaluateDeadReckoningEvent().

◆ SendState()

Member Data Documentation

◆ mAcceleration

UtVec3d WsfXIO_PlatformInfoService::EvaluateDeadReckoningEvent::mAcceleration

Referenced by CopyState(), Execute(), and SendState().

◆ mInterval

double WsfXIO_PlatformInfoService::EvaluateDeadReckoningEvent::mInterval

◆ mLocation

UtVec3d WsfXIO_PlatformInfoService::EvaluateDeadReckoningEvent::mLocation

Referenced by CopyState(), Execute(), and SendState().

◆ mMaxError

double WsfXIO_PlatformInfoService::EvaluateDeadReckoningEvent::mMaxError

◆ mMaxOrientationError

double WsfXIO_PlatformInfoService::EvaluateDeadReckoningEvent::mMaxOrientationError

◆ mPhi

double WsfXIO_PlatformInfoService::EvaluateDeadReckoningEvent::mPhi

Referenced by CopyState(), and SendState().

◆ mPlatformIndex

size_t WsfXIO_PlatformInfoService::EvaluateDeadReckoningEvent::mPlatformIndex

◆ mPsi

double WsfXIO_PlatformInfoService::EvaluateDeadReckoningEvent::mPsi

Referenced by CopyState(), and SendState().

◆ mRootTime

double WsfXIO_PlatformInfoService::EvaluateDeadReckoningEvent::mRootTime

Referenced by CopyState(), and Execute().

◆ mServicePtr

WsfXIO_PlatformInfoService* WsfXIO_PlatformInfoService::EvaluateDeadReckoningEvent::mServicePtr

◆ mSubscriptionId

WsfXIO_SubscriptionId WsfXIO_PlatformInfoService::EvaluateDeadReckoningEvent::mSubscriptionId

◆ mTheta

double WsfXIO_PlatformInfoService::EvaluateDeadReckoningEvent::mTheta

Referenced by CopyState(), and SendState().

◆ mVelocity

UtVec3d WsfXIO_PlatformInfoService::EvaluateDeadReckoningEvent::mVelocity

Referenced by CopyState(), Execute(), and SendState().


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