|
WSF
|
#include <WsfTaskManager.hpp>


Public Member Functions | |
| EventBase (double aSimTime, WsfTaskManager *aManagerPtr) | |
| EventDisposition | Execute () override |
| virtual EventDisposition | ExecuteEvent (WsfTaskManager *aTaskManagerPtr)=0 |
| 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. | |
Additional Inherited Members | |
| Public Types inherited from WsfEvent | |
| enum | EventDisposition { cDELETE , cRESCHEDULE } |
Base class for task manager events. It ensures the platform is still alive prior to calling ExecuteEvent()
| WsfTaskManager::EventBase::EventBase | ( | double | aSimTime, |
| WsfTaskManager * | aManagerPtr ) |
|
overridevirtual |
Execute the specified event.
Implements WsfEvent.
References WsfEvent::cDELETE, ExecuteEvent(), and WsfPlatformPart::GetSimulation().
|
pure virtual |
Implemented in WsfTaskManager::TaskCompleteEvent, and WsfTaskManager::TrackUpdateEvent.
References WsfTaskManager::WsfTaskManager().
Referenced by Execute().