|
WSF
|
#include <WsfXIO_PlatformInfoService.hpp>


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. | |
| WsfEvent & | operator= (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) |
| WsfSimulation * | GetSimulation () const |
| void | AddedToEventQueue (WsfSimulation &aSimulation) |
| Called when the event is added to the event queue of the specified simulation. | |
Public Attributes | |
| WsfXIO_PlatformInfoService * | mServicePtr |
| 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 } |
|
default |
References CopyState(), EvaluateDeadReckoningEvent(), Execute(), SendState(), and WsfXIO_PlatformInfoService::WsfXIO_PlatformInfoService().
Referenced by EvaluateDeadReckoningEvent().
| WsfXIO_PlatformInfoService::EvaluateDeadReckoningEvent::EvaluateDeadReckoningEvent | ( | double | aSimTime, |
| WsfXIO_PlatformInfoService * | aServicePtr, | ||
| WsfXIO_SubscriptionId | aSubscription, | ||
| WsfPlatform * | aPlatformPtr, | ||
| double | aInterval, | ||
| double | aMaxError, | ||
| double | aMaxOrientationError ) |
| void WsfXIO_PlatformInfoService::EvaluateDeadReckoningEvent::CopyState | ( | WsfPlatform * | aPlatformPtr | ) |
References WsfEvent::GetTime(), mAcceleration, mLocation, mPhi, mPsi, mRootTime, mTheta, and mVelocity.
Referenced by EvaluateDeadReckoningEvent(), EvaluateDeadReckoningEvent(), Execute(), and WsfXIO_PlatformInfoService::HandleRequest().
|
overridevirtual |
Execute the specified 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().
| void WsfXIO_PlatformInfoService::EvaluateDeadReckoningEvent::SendState | ( | WsfXIO_Subscription * | aSubscriptionPtr | ) |
References WsfXIO_Packet::cSYNCHRONIZED, WsfEvent::GetTime(), WsfXIO_EntityStateData::mAcceleration, mAcceleration, WsfXIO_EntityStateData::mLocation, mLocation, WsfXIO_EntityStateData::mOrientation, mPhi, WsfXIO_EntityStateData::mPlatformIndex, mPlatformIndex, mPsi, WsfXIO_EntityStateData::mSimTime, mTheta, WsfXIO_EntityStateData::mVelocity, mVelocity, WsfXIO_Subscription::SendResponse(), and WsfXIO_Packet::SetFlags().
Referenced by EvaluateDeadReckoningEvent(), Execute(), and WsfXIO_PlatformInfoService::HandleRequest().
| UtVec3d WsfXIO_PlatformInfoService::EvaluateDeadReckoningEvent::mAcceleration |
Referenced by CopyState(), Execute(), and SendState().
| double WsfXIO_PlatformInfoService::EvaluateDeadReckoningEvent::mInterval |
Referenced by EvaluateDeadReckoningEvent(), and Execute().
| UtVec3d WsfXIO_PlatformInfoService::EvaluateDeadReckoningEvent::mLocation |
Referenced by CopyState(), Execute(), and SendState().
| double WsfXIO_PlatformInfoService::EvaluateDeadReckoningEvent::mMaxError |
Referenced by EvaluateDeadReckoningEvent(), and Execute().
| double WsfXIO_PlatformInfoService::EvaluateDeadReckoningEvent::mMaxOrientationError |
Referenced by EvaluateDeadReckoningEvent(), and Execute().
| double WsfXIO_PlatformInfoService::EvaluateDeadReckoningEvent::mPhi |
Referenced by CopyState(), and SendState().
| size_t WsfXIO_PlatformInfoService::EvaluateDeadReckoningEvent::mPlatformIndex |
Referenced by EvaluateDeadReckoningEvent(), Execute(), WsfXIO_PlatformInfoService::HandleRequest(), and SendState().
| double WsfXIO_PlatformInfoService::EvaluateDeadReckoningEvent::mPsi |
Referenced by CopyState(), and SendState().
| double WsfXIO_PlatformInfoService::EvaluateDeadReckoningEvent::mRootTime |
Referenced by CopyState(), and Execute().
| WsfXIO_PlatformInfoService* WsfXIO_PlatformInfoService::EvaluateDeadReckoningEvent::mServicePtr |
Referenced by EvaluateDeadReckoningEvent(), and Execute().
| WsfXIO_SubscriptionId WsfXIO_PlatformInfoService::EvaluateDeadReckoningEvent::mSubscriptionId |
Referenced by EvaluateDeadReckoningEvent(), and Execute().
| double WsfXIO_PlatformInfoService::EvaluateDeadReckoningEvent::mTheta |
Referenced by CopyState(), and SendState().
| UtVec3d WsfXIO_PlatformInfoService::EvaluateDeadReckoningEvent::mVelocity |
Referenced by CopyState(), Execute(), and SendState().