WSF
WsfXIO_PlatformPartInfoService::UpdatePartEvent Class Reference

#include <WsfXIO_PlatformInfoService.hpp>

Inheritance diagram for WsfXIO_PlatformPartInfoService::UpdatePartEvent:
Collaboration diagram for WsfXIO_PlatformPartInfoService::UpdatePartEvent:

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.
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_PlatformPartInfoServicemServicePtr
WsfArticulatedPartmPartPtr
WsfXIO_Destination mDestination
double mInterval
WsfXIO_PlatformPartStatePkt mStateData
bool mDisabled

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ UpdatePartEvent()

WsfXIO_PlatformPartInfoService::UpdatePartEvent::UpdatePartEvent ( double aSimTime,
WsfXIO_PlatformPartInfoService * aServicePtr,
WsfArticulatedPart * aPartPtr,
double aInterval )

Member Function Documentation

◆ CopyState()

void WsfXIO_PlatformPartInfoService::UpdatePartEvent::CopyState ( )

◆ Execute()

WsfEvent::EventDisposition WsfXIO_PlatformPartInfoService::UpdatePartEvent::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::GetTime(), mDisabled, mInterval, SendState(), and WsfEvent::SetTime().

◆ SendState()

void WsfXIO_PlatformPartInfoService::UpdatePartEvent::SendState ( )

References mDestination, and mStateData.

Referenced by Execute().

Member Data Documentation

◆ mDestination

WsfXIO_Destination WsfXIO_PlatformPartInfoService::UpdatePartEvent::mDestination

◆ mDisabled

bool WsfXIO_PlatformPartInfoService::UpdatePartEvent::mDisabled

◆ mInterval

double WsfXIO_PlatformPartInfoService::UpdatePartEvent::mInterval

◆ mPartPtr

WsfArticulatedPart* WsfXIO_PlatformPartInfoService::UpdatePartEvent::mPartPtr

Referenced by CopyState(), and UpdatePartEvent().

◆ mServicePtr

WsfXIO_PlatformPartInfoService* WsfXIO_PlatformPartInfoService::UpdatePartEvent::mServicePtr

Referenced by CopyState(), and UpdatePartEvent().

◆ mStateData

WsfXIO_PlatformPartStatePkt WsfXIO_PlatformPartInfoService::UpdatePartEvent::mStateData

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