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
19
20using namespace EL::msgEventLoop;
21
22//
23// method implementations
24//
25
26namespace EL
27{
28 namespace Detail
29 {
30 std::pair<Detail::ManagerOrder,std::string> BaseManager ::
31 getManagerOrder () const noexcept
32 {
33 return std::make_pair (ManagerOrder::BASE, "");
34 }
35
36
37
38 ::StatusCode BaseManager ::
39 doManagerStep (Detail::ManagerData& data) const
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 }
60 }
61}
#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
@ 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