QualityControl
1.5.1
O2 Data Quality Control Framework
|
Factory in charge of creating tasks. More...
#include <TaskFactory.h>
Public Member Functions | |
TaskInterface * | 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. More... | |
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.
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.