WSF
engage::TaskManager Class Reference

#include <TaskManager.hpp>

Public Member Functions

 TaskManager (WsfScenario &aScenario, const InputConfig &aInputConfig)
 ~TaskManager ()
void Execute ()
bool GetNextTask (Task &aTask)
const InputConfigGetInputConfig () const
WsfScenarioGetScenario () const

Constructor & Destructor Documentation

◆ TaskManager()

engage::TaskManager::TaskManager ( WsfScenario & aScenario,
const InputConfig & aInputConfig )

◆ ~TaskManager()

engage::TaskManager::~TaskManager ( )

Member Function Documentation

◆ Execute()

◆ GetInputConfig()

const InputConfig & engage::TaskManager::GetInputConfig ( ) const
inline

◆ GetNextTask()

bool engage::TaskManager::GetNextTask ( Task & aTask)

Get the index of the next task to be run.

This is called by a simulation thread to get the next task to be run.

Parameters
aTask[output] The information of the task to run.
Returns
true if a task is to be run or false if no more tasks remain.

Referenced by Execute().

◆ GetScenario()

WsfScenario & engage::TaskManager::GetScenario ( ) const
inline

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