![]() |
Project
|
#include <Dispatcher.h>
Inherits o2::framework::Task.
Public Member Functions | |
Dispatcher (const std::string name, const std::string reconfigurationSource) | |
Constructor. | |
~Dispatcher () override | |
Destructor. | |
void | init (framework::InitContext &ctx) override |
Dispatcher init callback. | |
void | run (framework::ProcessingContext &ctx) override |
Dispatcher process callback. | |
void | registerPolicy (std::unique_ptr< DataSamplingPolicy > &&) |
Register a Data Sampling Policy. | |
size_t | numberOfPolicies () |
Returns the number of registered policies. | |
const std::string & | getName () |
framework::Inputs | getInputSpecs () |
Assembles InputSpecs of all registered policies in a single vector, removing overlapping entries. | |
framework::Outputs | getOutputSpecs () |
framework::Options | getOptions () |
![]() | |
virtual | ~Task () |
virtual void | endOfStream (EndOfStreamContext &context) |
This is invoked whenever we have an EndOfStream event. | |
virtual void | finaliseCCDB (ConcreteDataMatcher &matcher, void *obj) |
virtual void | stop () |
This is invoked on stop. | |
Definition at line 42 of file Dispatcher.h.
o2::utilities::Dispatcher::Dispatcher | ( | const std::string | name, |
const std::string | reconfigurationSource | ||
) |
Constructor.
Definition at line 40 of file Dispatcher.cxx.
|
overridedefault |
Destructor.
Inputs o2::utilities::Dispatcher::getInputSpecs | ( | ) |
Assembles InputSpecs of all registered policies in a single vector, removing overlapping entries.
Definition at line 189 of file Dispatcher.cxx.
const std::string & o2::utilities::Dispatcher::getName | ( | ) |
Definition at line 184 of file Dispatcher.cxx.
framework::Options o2::utilities::Dispatcher::getOptions | ( | ) |
Definition at line 235 of file Dispatcher.cxx.
Outputs o2::utilities::Dispatcher::getOutputSpecs | ( | ) |
Definition at line 222 of file Dispatcher.cxx.
|
overridevirtual |
Dispatcher init callback.
Reimplemented from o2::framework::Task.
Definition at line 47 of file Dispatcher.cxx.
size_t o2::utilities::Dispatcher::numberOfPolicies | ( | ) |
Returns the number of registered policies.
Definition at line 240 of file Dispatcher.cxx.
void o2::utilities::Dispatcher::registerPolicy | ( | std::unique_ptr< DataSamplingPolicy > && | policy | ) |
Register a Data Sampling Policy.
Definition at line 179 of file Dispatcher.cxx.
|
overridevirtual |
Dispatcher process callback.
Implements o2::framework::Task.
Definition at line 80 of file Dispatcher.cxx.