QualityControl  1.5.1
O2 Data Quality Control Framework
o2::quality_control::core::TaskInterface Class Referenceabstract

Skeleton of a QC task. More...

#include <TaskInterface.h>

Inheritance diagram for o2::quality_control::core::TaskInterface:
Collaboration diagram for o2::quality_control::core::TaskInterface:

Public Member Functions

 TaskInterface (ObjectsManager *objectsManager)
 Constructor Can't be used when dynamically loading the class with ROOT. More...
 
 TaskInterface ()=default
 Default constructor.
 
virtual ~TaskInterface () noexcept=default
 Destructor.
 
 TaskInterface (const TaskInterface &other)=default
 Copy constructor.
 
 TaskInterface (TaskInterface &&other) noexcept=default
 Move constructor.
 
TaskInterfaceoperator= (const TaskInterface &other)=default
 Copy assignment operator.
 
TaskInterfaceoperator= (TaskInterface &&other)=default
 Move assignment operator.
 
virtual void loadCcdb (std::string url) final
 
virtual void initialize (o2::framework::InitContext &ctx)=0
 
virtual void startOfActivity (Activity &activity)=0
 
virtual void startOfCycle ()=0
 
virtual void monitorData (o2::framework::ProcessingContext &ctx)=0
 
virtual void endOfCycle ()=0
 
virtual void endOfActivity (Activity &activity)=0
 
virtual void reset ()=0
 
void setObjectsManager (std::shared_ptr< ObjectsManager > objectsManager)
 
void setName (const std::string &name)
 
void setCustomParameters (const std::unordered_map< std::string, std::string > &parameters)
 
const std::string & getName () const
 

Protected Member Functions

std::shared_ptr< ObjectsManagergetObjectsManager ()
 
TObjectretrieveCondition (std::string path, std::map< std::string, std::string > metadata={}, long timestamp=-1)
 
template<typename T >
T * retrieveConditionAny (std::string const &path, std::map< std::string, std::string > const &metadata={}, long timestamp=-1) const
 

Protected Attributes

std::unordered_map< std::string, std::string > mCustomParameters
 

Detailed Description

Skeleton of a QC task.

Purely abstract class defining the skeleton and the common interface of a QC task. It is therefore the parent class of any QC task. It is responsible for the instantiation, modification and destruction of the TObjects that are published.

It is a part of the template method design pattern.

Author
Barthelemy von Haller
Piotr Konopka

Constructor & Destructor Documentation

o2::quality_control::core::TaskInterface::TaskInterface ( ObjectsManager objectsManager)
explicit

Constructor Can't be used when dynamically loading the class with ROOT.

Parameters
objectsManager

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