ATLAS Offline Software
Public Member Functions | List of all members
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 More...
 
virtual ::StatusCode doManagerStep (Detail::ManagerData &data) const override
 do whatever needs to be done for the given submission step More...
 

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 40 of file BaseManager.cxx.

42  {
43  switch (data.step)
44  {
46  // normally this should get overriden by the operation
47  // manager, but this is a safety fallback in case the
48  // operation doesn't do that, leaving us with nothing
49  // happening
50  data.nextStep = ManagerStep::final;
51  break;
52 
54  ANA_MSG_INFO ("done");
55  break;
56 
57  default:
58  break;
59  }
60  return ::StatusCode::SUCCESS;
61  }

◆ 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 32 of file BaseManager.cxx.

34  {
35  return std::make_pair (ManagerOrder::BASE, "");
36  }

The documentation for this class was generated from the following files:
data
char data[hepevt_bytes_allocation_ATLAS]
Definition: HepEvt.cxx:11
EL::Detail::ManagerStep::final
@ final
ANA_MSG_INFO
#define ANA_MSG_INFO(xmsg)
Macro printing info messages.
Definition: Control/AthToolSupport/AsgMessaging/AsgMessaging/MessageCheck.h:290
EL::Detail::ManagerStep::initial
@ initial
this is just the initial step we do, nothing really happens here
EL::Detail::ManagerOrder::BASE
@ BASE
the most basic operations, common for all tasks