QualityControl  1.5.1
O2 Data Quality Control Framework
o2::quality_control::core::TaskFactory Class Reference

Factory in charge of creating tasks. More...

#include <TaskFactory.h>

Collaboration diagram for o2::quality_control::core::TaskFactory:

Public Member Functions

TaskInterfacecreate (TaskConfig &taskConfig, std::shared_ptr< ObjectsManager > objectsManager)
 Create a new instance of a TaskInterface. The TaskInterface actual class is decided based on the parameters passed. More...
 

Detailed Description

Factory in charge of creating tasks.

The factory needs a library name and a class name provided as an object of type TaskConfig. The class loaded in the library must inherit from TaskInterface.

Member Function Documentation

TaskInterface * o2::quality_control::core::TaskFactory::create ( TaskConfig taskConfig,
std::shared_ptr< ObjectsManager objectsManager 
)

Create a new instance of a TaskInterface. The TaskInterface actual class is decided based on the parameters passed.

Todo:
make it static ?
Author
Barthelemy von Haller

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