ATLAS Offline Software
Loading...
Searching...
No Matches
EL::Detail::BaseManager Class Referencefinal

a Manager to handle all of the basic tasks More...

#include <BaseManager.h>

Inheritance diagram for EL::Detail::BaseManager:
Collaboration diagram for EL::Detail::BaseManager:

Public Member Functions

virtual std::pair< Detail::ManagerOrder, std::string > getManagerOrder () const noexcept override
 get the order/name of this manager
virtual::StatusCode doManagerStep (Detail::ManagerData &data) const override
 do whatever needs to be done for the given submission step

Detailed Description

a Manager to handle all of the basic tasks

Definition at line 22 of file BaseManager.h.

Member Function Documentation

◆ doManagerStep()

StatusCode EL::Detail::BaseManager::doManagerStep ( Detail::ManagerData & data) const
overridevirtual

do whatever needs to be done for the given submission step

Guarantee
basic
Failures
job configuration errors
driver errors

Implements EL::Detail::Manager.

Definition at line 38 of file BaseManager.cxx.

40 {
41 switch (data.step)
42 {
44 // normally this should get overriden by the operation
45 // manager, but this is a safety fallback in case the
46 // operation doesn't do that, leaving us with nothing
47 // happening
48 data.nextStep = ManagerStep::final;
49 break;
50
52 ANA_MSG_INFO ("done");
53 break;
54
55 default:
56 break;
57 }
58 return ::StatusCode::SUCCESS;
59 }
#define ANA_MSG_INFO(xmsg,...)
Macro printing info messages.
@ initial
this is just the initial step we do, nothing really happens here
Definition ManagerStep.h:45

◆ getManagerOrder()

std::pair< Detail::ManagerOrder, std::string > EL::Detail::BaseManager::getManagerOrder ( ) const
overridevirtualnoexcept

get the order/name of this manager

This is both used to identify the manager we are looking at, and to make sure they get executed in the right order. It is a mistake to load two managers that report the same order.

This is a pair of an enum that defines the absolute order of managers, and a string that identifies the stream that this manager belongs to. If this manager is not specific to a stream this should be the empty stream.

Guarantee
no-fail

Implements EL::Detail::Manager.

Definition at line 30 of file BaseManager.cxx.

32 {
33 return std::make_pair (ManagerOrder::BASE, "");
34 }
@ BASE
the most basic operations, common for all tasks

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