ATLAS Offline Software
Loading...
Searching...
No Matches
BaseManager.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7
8
9//
10// includes
11//
12
14
20#include <TSystem.h>
21
22using namespace EL::msgEventLoop;
23
24//
25// method implementations
26//
27
28namespace EL
29{
30 namespace Detail
31 {
32 std::pair<Detail::ManagerOrder,std::string> BaseManager ::
33 getManagerOrder () const noexcept
34 {
35 return std::make_pair (ManagerOrder::BASE, "");
36 }
37
38
39
40 ::StatusCode BaseManager ::
41 doManagerStep (Detail::ManagerData& data) const
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 }
62 }
63}
#define ANA_MSG_INFO(xmsg)
Macro printing info messages.
char data[hepevt_bytes_allocation_ATLAS]
Definition HepEvt.cxx:11
@ initial
this is just the initial step we do, nothing really happens here
Definition ManagerStep.h:45
@ BASE
the most basic operations, common for all tasks
This module defines the arguments passed from the BATCH driver to the BATCH worker.
::StatusCode StatusCode
StatusCode definition for legacy code.
an internal data structure for passing data between different manager objects anbd step
Definition ManagerData.h:46