|
WSF
|
#include <WsfXIO_PlatformInfoService.hpp>


Public Member Functions | |
| UpdatePartEvent (double aSimTime, WsfXIO_PlatformPartInfoService *aServicePtr, WsfArticulatedPart *aPartPtr, double aInterval) | |
| EventDisposition | Execute () override |
| void | SendState () |
| void | CopyState () |
| 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_PlatformPartInfoService * | mServicePtr |
| WsfArticulatedPart * | mPartPtr |
| WsfXIO_Destination | mDestination |
| double | mInterval |
| WsfXIO_PlatformPartStatePkt | mStateData |
| bool | mDisabled |
Additional Inherited Members | |
| Public Types inherited from WsfEvent | |
| enum | EventDisposition { cDELETE , cRESCHEDULE } |
| WsfXIO_PlatformPartInfoService::UpdatePartEvent::UpdatePartEvent | ( | double | aSimTime, |
| WsfXIO_PlatformPartInfoService * | aServicePtr, | ||
| WsfArticulatedPart * | aPartPtr, | ||
| double | aInterval ) |
| void WsfXIO_PlatformPartInfoService::UpdatePartEvent::CopyState | ( | ) |
References WsfEvent::GetSimulation(), WsfXIO_ObjectInfoLoad::Load_EM_Rcvr(), WsfXIO_ObjectInfoLoad::Load_EM_Xmtr(), mPartPtr, mServicePtr, and mStateData.
Referenced by Execute().
|
overridevirtual |
Execute the specified event.
Implements WsfEvent.
References WsfEvent::cDELETE, CopyState(), WsfEvent::cRESCHEDULE, WsfEvent::GetTime(), mDisabled, mInterval, SendState(), and WsfEvent::SetTime().
| void WsfXIO_PlatformPartInfoService::UpdatePartEvent::SendState | ( | ) |
References mDestination, and mStateData.
Referenced by Execute().
| WsfXIO_Destination WsfXIO_PlatformPartInfoService::UpdatePartEvent::mDestination |
| bool WsfXIO_PlatformPartInfoService::UpdatePartEvent::mDisabled |
Referenced by Execute(), WsfXIO_PlatformPartInfoService::SubscriptionCancelledT(), and UpdatePartEvent().
| double WsfXIO_PlatformPartInfoService::UpdatePartEvent::mInterval |
Referenced by Execute(), WsfXIO_PlatformPartInfoService::HandleRequest(), and UpdatePartEvent().
| WsfArticulatedPart* WsfXIO_PlatformPartInfoService::UpdatePartEvent::mPartPtr |
Referenced by CopyState(), and UpdatePartEvent().
| WsfXIO_PlatformPartInfoService* WsfXIO_PlatformPartInfoService::UpdatePartEvent::mServicePtr |
Referenced by CopyState(), and UpdatePartEvent().
| WsfXIO_PlatformPartStatePkt WsfXIO_PlatformPartInfoService::UpdatePartEvent::mStateData |
Referenced by CopyState(), SendState(), and UpdatePartEvent().