AGXDynamics  2.31.1.0
agx::TaskManager Class Referenceabstract

#include <TaskManager.h>

+ Inheritance diagram for agx::TaskManager:

Public Types

enum  Priority { HIGHEST_PRIORITY = 2147483647, LOWEST_PRIORITY = 10000, DEFAULT_PRIORITY = 1073741824 }
 Specifies the ranges of the priority which can be assigned to a singleton at the time of creation. More...
 

Public Member Functions

Task * create (const Path &path, Device *device, const Name &implementation)
 
Task * create (const Path &path, Device *device, const ParameterTable &parameterList, const Name &implementation=Name())
 
Task * create (const Path &path, const Name &implementation, agx::ParameterBindingVector &parameterList, bool allowFormatPromotions, Device *device)
 
virtual std::string getClassName () const =0
 
int getPriority () const
 Return the shutdown priority of the singleton instance. More...
 

Static Public Member Functions

static TaskManager * instance ()
 

Protected Member Functions

virtual ~TaskManager ()
 
void _shutdown ()
 
virtual void shutdown () override
 Implement this method to cleanup your Singleton class. More...
 

Detailed Description

Definition at line 126 of file TaskManager.h.

Member Enumeration Documentation

◆ Priority

enum agx::Singleton::Priority
inherited

Specifies the ranges of the priority which can be assigned to a singleton at the time of creation.

Enumerator
HIGHEST_PRIORITY 

The highest priority that can be given to a singleton.

LOWEST_PRIORITY 

The lowest priority that can be given to a singleton.

DEFAULT_PRIORITY 

The default priority given to a singleton.

Definition at line 35 of file Singleton.h.

Constructor & Destructor Documentation

◆ ~TaskManager()

virtual agx::TaskManager::~TaskManager ( )
protectedvirtual

Member Function Documentation

◆ _shutdown()

void agx::Singleton::_shutdown ( )
protectedinherited

◆ create() [1/3]

Task* agx::TaskManager::create ( const Path &  path,
Device *  device,
const Name &  implementation 
)

◆ create() [2/3]

Task* agx::TaskManager::create ( const Path &  path,
Device *  device,
const ParameterTable &  parameterList,
const Name &  implementation = Name() 
)

◆ create() [3/3]

Task* agx::TaskManager::create ( const Path &  path,
const Name &  implementation,
agx::ParameterBindingVector &  parameterList,
bool  allowFormatPromotions,
Device *  device 
)

◆ getClassName()

virtual std::string agx::Singleton::getClassName ( ) const
pure virtualinherited

◆ getPriority()

int agx::Singleton::getPriority ( ) const
inherited

Return the shutdown priority of the singleton instance.

◆ instance()

static TaskManager* agx::TaskManager::instance ( )
static

◆ shutdown()

virtual void agx::TaskManager::shutdown ( )
overrideprotectedvirtual

Implement this method to cleanup your Singleton class.

Reimplemented from agx::Singleton.


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