|
WSF
|
A event for scheduling the completion of a task. More...
#include <WsfTaskManager.hpp>


Public Member Functions | |
| TaskCompleteEvent (double aSimTime, WsfTaskManager *aManagerPtr, WsfTrackId aTrackId, WsfStringId aTaskType, WsfStringId aResourceName, WsfStringId aSubStatus) | |
| EventDisposition | ExecuteEvent (WsfTaskManager *aManagerPtr) override |
| Public Member Functions inherited from WsfTaskManager::EventBase | |
| EventBase (double aSimTime, WsfTaskManager *aManagerPtr) | |
| 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. | |
Additional Inherited Members | |
| Public Types inherited from WsfEvent | |
| enum | EventDisposition { cDELETE , cRESCHEDULE } |
A event for scheduling the completion of a task.
| WsfTaskManager::TaskCompleteEvent::TaskCompleteEvent | ( | double | aSimTime, |
| WsfTaskManager * | aManagerPtr, | ||
| WsfTrackId | aTrackId, | ||
| WsfStringId | aTaskType, | ||
| WsfStringId | aResourceName, | ||
| WsfStringId | aSubStatus ) |
References WsfTaskManager::EventBase::EventBase(), and WsfTaskManager::WsfTaskManager().
|
overridevirtual |
Implements WsfTaskManager::EventBase.
References WsfEvent::cDELETE, WsfEvent::GetTime(), WsfTaskManager::ReportTaskComplete(), and WsfTaskManager::WsfTaskManager().