SMTK
@SMTK_VERSION@
Simulation Modeling Tool Kit
|
A task manager is responsible for creating new tasks. More...
#include <Manager.h>
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) | |
Manager (const Manager &)=delete | |
void | operator= (const Manager &)=delete |
TaskInstances & | taskInstances () |
Return the set of managed task instances. More... | |
const TaskInstances & | taskInstances () const |
Active & | active () |
Return a tracker for the active task. | |
const Active & | active () const |
AdaptorInstances & | adaptorInstances () |
Return the set of managed adaptor instances. More... | |
const AdaptorInstances & | adaptorInstances () 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) |
nlohmann::json | getStyle (const smtk::string::Token &styleClass) const |
Given a style key, return a style config. | |
nlohmann::json | getStyles () const |
void | setStyles (const nlohmann::json &styles) |
UIState & | uiState () |
Store geometry changes from UI components. | |
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.
|
inline |
Return the set of managed adaptor instances.
This class also acts as a registrar for Adaptor subclasses.
|
inline |
Return the set of managed task instances.
This class also acts as a registrar for Task subclasses.