SMTK  @SMTK_VERSION@
Simulation Modeling Tool Kit
Public Types | Public Member Functions | List of all members
smtk::task::Manager Class Reference

A task manager is responsible for creating new tasks. More...

#include <Manager.h>

Inheritance diagram for smtk::task::Manager:
[legend]
Collaboration diagram for smtk::task::Manager:
[legend]

Public Types

using TaskInstances = smtk::task::Instances
 Managed instances of Task objects (and a registry of Task classes).
 
using AdaptorInstances = smtk::task::adaptor::Instances
 Managed instances of Adaptor objects (and a registry of Adaptor classes).
 

Public Member Functions

 smtkTypeMacroBase (smtk::task::Manager)
 
 smtkCreateMacro (smtk::task::Manager)
 
TaskInstancestaskInstances ()
 Return the set of managed task instances. More...
 
const TaskInstancestaskInstances () const
 
Activeactive ()
 Return a tracker for the active task.
 
const Activeactive () const
 
AdaptorInstancesadaptorInstances ()
 Return the set of managed adaptor instances. More...
 
const AdaptorInstancesadaptorInstances () const
 
smtk::common::Managers::Ptr managers () const
 Return the managers instance that contains this manager, if it exists.
 
void setManagers (const smtk::common::Managers::Ptr &managers)
 

Detailed Description

A task manager is responsible for creating new tasks.

Eventually, the task manager will also hold an inventory of created tasks and be a clearinghouse for task state transitions.

Member Function Documentation

◆ adaptorInstances()

AdaptorInstances& smtk::task::Manager::adaptorInstances ( )
inline

Return the set of managed adaptor instances.

This class also acts as a registrar for Adaptor subclasses.

◆ taskInstances()

TaskInstances& smtk::task::Manager::taskInstances ( )
inline

Return the set of managed task instances.

This class also acts as a registrar for Task subclasses.


The documentation for this class was generated from the following files: