WSF
WsfTaskManager::TaskCompleteEvent Class Reference

A event for scheduling the completion of a task. More...

#include <WsfTaskManager.hpp>

Inheritance diagram for WsfTaskManager::TaskCompleteEvent:
Collaboration diagram for WsfTaskManager::TaskCompleteEvent:

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.
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.

Additional Inherited Members

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

Detailed Description

A event for scheduling the completion of a task.

Constructor & Destructor Documentation

◆ TaskCompleteEvent()

WsfTaskManager::TaskCompleteEvent::TaskCompleteEvent ( double aSimTime,
WsfTaskManager * aManagerPtr,
WsfTrackId aTrackId,
WsfStringId aTaskType,
WsfStringId aResourceName,
WsfStringId aSubStatus )

Member Function Documentation

◆ ExecuteEvent()

WsfEvent::EventDisposition WsfTaskManager::TaskCompleteEvent::ExecuteEvent ( WsfTaskManager * aManagerPtr)
overridevirtual

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