|
WSF
|
#include <WsfArticulatedPartEvent.hpp>


Public Types | |
| enum | EventType { cUPDATE_ARTICULATION } |
| Public Types inherited from WsfEvent | |
| enum | EventDisposition { cDELETE , cRESCHEDULE } |
Public Member Functions | |
| WsfArticulatedPartEvent (double aSimTime, EventType aEventType, WsfArticulatedPart *aArticulatedPartPtr) | |
| EventDisposition | Execute () override |
| 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. | |
An event to process articulated part updates.
This event is queued by WsfEventStepSimulation (or anything that wants to behave like it).
| WsfArticulatedPartEvent::WsfArticulatedPartEvent | ( | double | aSimTime, |
| EventType | aEventType, | ||
| WsfArticulatedPart * | aArticulatedPartPtr ) |
References platformPtr, and WsfEvent::WsfEvent().
|
overridevirtual |
Execute the specified event.
Implements WsfEvent.
References WsfEvent::cDELETE, WsfEvent::cRESCHEDULE, cUPDATE_ARTICULATION, WsfSimulation::GetPlatformByIndex(), WsfEvent::GetSimulation(), WsfEvent::GetTime(), platformPtr, WsfEvent::SetTime(), and simTime.