Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  master (d98a2936)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
ApplicationMgr.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2025 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 #pragma once
12 
14 #include <Gaudi/MonitoringHub.h>
18 #include <GaudiKernel/IAlgorithm.h>
19 #include <GaudiKernel/IAppMgrUI.h>
22 #include <GaudiKernel/IProperty.h>
23 #include <GaudiKernel/IStateful.h>
25 #include <GaudiKernel/Kernel.h>
27 #include <GaudiKernel/Service.h>
28 #include <vector>
29 
30 class ISvcLocator;
31 class ServiceManager;
32 class AlgorithmManager;
33 class DLLClassManager;
34 class IMessageSvc;
35 class IIncidentSvc;
36 class IRunable;
37 class IDataManagerSvc;
38 class IConversionSvc;
39 
53  : public PropertyHolder<CommonMessaging<implements<IAppMgrUI, Gaudi::Interfaces::IQueueingEventProcessor, IService,
54  IStateful, INamedInterface, IProperty>>> {
55 public:
56  // default creator
57  ApplicationMgr( IInterface* = nullptr );
58 
59  void const* i_cast( const InterfaceID& iid ) const override;
60  // implementation of IInterface::queryInterface
61  StatusCode queryInterface( const InterfaceID& iid, void** pinterface ) override;
62 
63  // implementation of IAppMgrUI::run
64  StatusCode run() override;
65  // implementation of IAppMgrUI::configure
66  StatusCode configure() override;
67  // implementation of IAppMgrUI::terminate
68  StatusCode terminate() override;
69  // implementation of IAppMgrUI::initialize
70  StatusCode initialize() override;
71  // implementation of IAppMgrUI::start
72  StatusCode start() override;
73  // implementation of IAppMgrUI::stop
74  StatusCode stop() override;
75  // implementation of IAppMgrUI::finalize
76  StatusCode finalize() override;
77  // implementation of IAppMgrUI::nextEvent
78  StatusCode nextEvent( int maxevt ) override;
79  // implementation of IAppMgrUI::name
80  const std::string& name() const override;
86  StatusCode executeRun( int evtmax ) override;
88  StatusCode stopRun() override;
89 
90  // implementation of IStateful::state
91  Gaudi::StateMachine::State FSMState() const override;
92  // implementation of IStateful::targetState
94  // implementation of IStateful::reinitialize
95  StatusCode reinitialize() override;
96  // implementation of IStateful::reinitialize
97  StatusCode restart() override;
98  // implementation of IService::sysItinitilaize
100  // implementation of IService::sysStart
101  StatusCode sysStart() override { return StatusCode::SUCCESS; }
102  // implementation of IService::sysStop
103  StatusCode sysStop() override { return StatusCode::SUCCESS; }
104  // implementation of IService::sysFinalize
106  // implementation of IService::sysReinitialize
108  // implementation of IService::sysRestart
110 
112  void push( EventContext&& ctx ) override;
113  bool empty() const override;
114  std::optional<Gaudi::Interfaces::IQueueingEventProcessor::ResultType> pop() override;
116 
118 
128 
129  template <class I>
131  return m_managers[I::interfaceID().id()];
132  }
133 
135  // Cache the casted pointer to ISvcManager
136  if ( !m_svcManager ) { m_svcManager = getManager<IService>(); }
137  return m_svcManager;
138  }
139 
141  // Cache the casted pointer to IAlgManager
142  if ( !m_algManager ) { m_algManager = getManager<IAlgorithm>(); }
143  return m_algManager;
144  }
145 
147  SmartIF<ISvcLocator>& serviceLocator() const override { return m_svcLocator; }
148 
150  void outputLevelUpdate() override;
151 
153 
155  void printAlgsSequences();
156 
157 protected:
158  // implementation of IService::setServiceManager
159  void setServiceManager( ISvcManager* ) override {}
160 
163 
168  StatusCode GoToState( Gaudi::StateMachine::State state, bool ignoreFailures = false );
169 
172  typedef std::map<unsigned long, SmartIF<IComponentManager>> ManagersMap;
179 
182 
185 
186  // data members
190 
191  Gaudi::Property<int> m_SIGo{ this, "Go", 0,
192  [this]( auto& ) {
193  // Re-initialize everything
194  this->reinitialize().ignore();
195  // Execute a number of events
196  this->executeRun( m_evtMax ).ignore();
197  },
198  "For SI's \"Go\" command via callback" };
199  Gaudi::Property<int> m_SIExit{ this, "Exit", 0,
200  [this]( auto& ) {
201  finalize().ignore();
202  terminate().ignore();
203  ::exit( 0 );
204  },
205  "For SI's \"Exit\" command via callback" };
207  "TopAlg",
208  {},
210  "List of top level algorithms names",
211  "vector<Algorithm>" };
213  this, "OutStream", {}, &ApplicationMgr::evtLoopPropertyHandler, "List of output stream names" };
214  Gaudi::Property<std::string> m_messageSvcType{ this, "MessageSvcType", "MessageSvc", "MessageSvc type",
215  "Service:IMessageSvc" };
216  Gaudi::Property<std::string> m_jobOptionsSvcType{ this, "JobOptionsSvcType", "JobOptionsSvc", "JobOptionsSvc type",
217  "Service:Gaudi::Interfaces::IOptionsSvc" };
218 
219  std::string m_name = "ApplicationMgr";
222 
223  Gaudi::Property<std::vector<std::string>> m_svcMapping{ this, "SvcMapping", {}, "Default mapping of services" };
225  this, "SvcOptMapping", {}, "Default mapping of optional services" };
226 
230 
232 
234 
235  //
236  // The public ApplicationMgr properties
237  //
238 
239  Gaudi::Property<int> m_evtMax{ this, "EvtMax", -1, "Number of events to be processed (-1 means all events)" };
241  this, "ExtSvc", {}, "List of external services names", "vector<Service>" };
242  Gaudi::Property<bool> m_extSvcCreates{ this, "ExtSvcCreates", true,
243  "LHCb (default) or ATLAS definition of \"ExtSvc\"" };
244 
245  Gaudi::Property<std::vector<std::string>> m_dllNameList{ this, "Dlls", {}, "List of DDL's names" };
246  Gaudi::Property<std::string> m_jobOptionsType{ this, "JobOptionsType", "FILE", "Source type (e.g. dbase, file...)" };
247  Gaudi::Property<std::string> m_jobOptionsPath{ this, "JobOptionsPath", {}, "The \"file\" to look for properties" };
249  this, "JobOptionsPostAction", {}, "additional command to run on config" };
251  this, "JobOptionsPreAction", {}, "additional command to run on config" };
252  Gaudi::Property<std::string> m_runableType{ this, "Runable", "AppMgrRunable", "Runable type", "Service:IRunable" };
253  Gaudi::Property<std::string> m_eventLoopMgr{ this, "EventLoop", "EventLoopMgr", "Processing manager type",
254  "Service:IEventProcessor" };
255  Gaudi::Property<std::string> m_evtsel{ this, "EvtSel", {}, "Event selection" };
256  Gaudi::Property<std::string> m_histPersName{ this, "HistogramPersistency", "NONE", "Name of the Hist Pers Svc" };
257  Gaudi::Property<int> m_outputLevel{ this, "OutputLevel", MSG::INFO, "Message output level" };
258  Gaudi::Property<std::string> m_appName{ this, "AppName", "ApplicationMgr", "The name of the application" };
259  Gaudi::Property<std::string> m_appVersion{ this, "AppVersion", {}, "The version of the application" };
260  Gaudi::Property<bool> m_actHistory{ this, "ActivateHistory", false, "Activate HistorySvc" };
261  Gaudi::Property<int> m_pluginDebugLevel{ this, "PluginDebugLevel", 0,
262  [this]( auto& ) {
263  // Setup debug level for the plugin system
264  if ( m_pluginDebugLevel.value() ) {
265  MsgStream log( m_messageSvc, this->name() );
266  log << MSG::INFO
267  << "Updating Gaudi::PluginService::SetDebug(level) to level="
269  }
271  },
272  "Debug level for the plugin system" };
273 
275  this, "CreateSvc", {}, "List of extra services to be created" };
276 
278  Gaudi::Property<bool> m_auditTools{ this, "AuditTools", false };
279  Gaudi::Property<bool> m_auditSvcs{ this, "AuditServices", false };
280  Gaudi::Property<bool> m_auditAlgs{ this, "AuditAlgorithms", false };
281 
283  this, "Environment", {}, "Environment variables to set" };
284 
285  Gaudi::Property<bool> m_loopCheck{ this, "InitializationLoopCheck", true,
286  [this]( auto& ) { this->svcManager()->setLoopCheckEnabled( m_loopCheck ); },
287  "For ServiceMgr initialization loop checking" };
288 
292  this, "StopOnSignal", false, "Flag to enable/disable the signal handler that schedule a stop of the event loop" };
293 
294  Gaudi::Property<bool> m_propertiesPrint{ this, "PropertiesPrint", false,
295  "Flag to activate the printout of properties" };
296 
299  "Return code of the application. Set internally in case of error conditions." };
300 
301  Gaudi::Property<bool> m_printAlgsSequence{ this, "PrintAlgsSequence", false,
302  "Print the sequence of algorithms that have been loaded." };
303 
304  Gaudi::Property<bool> m_useMessageSvcForROOTMessages{ this, "UseMessageSvcForROOTMessages", true,
305  "Replace ROOT error handler with MessageSvc." };
306 
307  // For concurrency
309 
310 private:
311  std::vector<std::string> m_okDlls;
312 
314  template <typename SELF, typename PIMPL, typename METHOD, typename... ARGS>
315  static auto i_delegateToEvtProc( SELF* self, PIMPL& member, std::string_view method_name, METHOD&& method,
316  ARGS&&... args ) {
317  if ( self->m_state == Gaudi::StateMachine::RUNNING ) {
318  if ( bool( member ) ) {
319  return std::invoke( method, *member.get(), std::forward<ARGS>( args )... );
320  } else {
321  std::stringstream s;
322  s << method_name << ": event processor is not a \""
323  << System::typeinfoName( typeid( decltype( *member.get() ) ) ) << '"';
324  throw GaudiException{ s.str(), self->name(), StatusCode::FAILURE };
325  }
326  }
327  std::stringstream s;
328  s << method_name << ": Invalid state \"" << self->FSMState() << '"';
329  throw GaudiException{ s.str(), self->name(), StatusCode::FAILURE };
330  }
331 };
ApplicationMgr::printAlgsSequences
void printAlgsSequences()
Print the sequence of algorithms that have been loaded.
Definition: ApplicationMgr.cpp:1054
Gaudi::ReturnCode::Success
constexpr int Success
Definition: AppReturnCode.h:25
Gaudi::Details::PropertyBase
PropertyBase base class allowing PropertyBase* collections to be "homogeneous".
Definition: PropertyBase.h:34
ApplicationMgr::m_auditTools
Gaudi::Property< bool > m_auditTools
Defaults for auditors.
Definition: ApplicationMgr.h:278
ApplicationMgr::m_algManager
SmartIF< IAlgManager > m_algManager
Cached pointer to the manager of algorithms.
Definition: ApplicationMgr.h:184
ApplicationMgr::sysInitialize
StatusCode sysInitialize() override
Definition: ApplicationMgr.h:99
IAlgManager.h
ApplicationMgr::m_propertiesPrint
Gaudi::Property< bool > m_propertiesPrint
Definition: ApplicationMgr.h:294
IMessageSvc
Definition: IMessageSvc.h:34
Gaudi.Configuration.log
log
Definition: Configuration.py:28
ApplicationMgr::empty
bool empty() const override
Definition: ApplicationMgr.cpp:796
AppReturnCode.h
IDataManagerSvc
Definition: IDataManagerSvc.h:47
ApplicationMgr::decodeDllNameList
StatusCode decodeDllNameList()
Definition: ApplicationMgr.cpp:956
MSG::INFO
@ INFO
Definition: IMessageSvc.h:22
MonitoringHub.h
ApplicationMgr::outputLevelUpdate
void outputLevelUpdate() override
Function to call to update the outputLevel of the components (after a change in MessageSvc).
Definition: ApplicationMgr.cpp:1028
ApplicationMgr::run
StatusCode run() override
Definition: ApplicationMgr.cpp:759
ApplicationMgr::m_runable
SmartIF< IRunable > m_runable
Reference to the runable object.
Definition: ApplicationMgr.h:228
ApplicationMgr::i_cast
void const * i_cast(const InterfaceID &iid) const override
Definition: ApplicationMgr.cpp:117
ApplicationMgr::i_startup
StatusCode i_startup()
Internal startup routine.
Definition: ApplicationMgr.cpp:160
ApplicationMgr::stop
StatusCode stop() override
Definition: ApplicationMgr.cpp:538
ApplicationMgr::m_name
std::string m_name
Name.
Definition: ApplicationMgr.h:219
gaudirun.s
string s
Definition: gaudirun.py:346
ApplicationMgr::m_messageSvcType
Gaudi::Property< std::string > m_messageSvcType
Definition: ApplicationMgr.h:214
ApplicationMgr::name
const std::string & name() const override
Definition: ApplicationMgr.cpp:834
ISvcLocator
Definition: ISvcLocator.h:42
GaudiException
Definition: GaudiException.h:29
ApplicationMgr::sysFinalize
StatusCode sysFinalize() override
Definition: ApplicationMgr.h:105
IQueueingEventProcessor.h
ApplicationMgr::FSMState
Gaudi::StateMachine::State FSMState() const override
Definition: ApplicationMgr.cpp:836
ApplicationMgr::sysStop
StatusCode sysStop() override
Definition: ApplicationMgr.h:103
ApplicationMgr::m_stopOnSignal
Gaudi::Property< bool > m_stopOnSignal
Property to enable/disable the "stop on signal" service.
Definition: ApplicationMgr.h:291
ServiceManager
Definition: ServiceManager.h:40
ApplicationMgr::m_okDlls
std::vector< std::string > m_okDlls
names of successfully loaded dlls
Definition: ApplicationMgr.h:311
ApplicationMgr::createEventContext
EventContext createEventContext() override
implementation of IEventProcessor::createEventContext()
Definition: ApplicationMgr.cpp:804
System::typeinfoName
GAUDI_API const std::string typeinfoName(const std::type_info &)
Get platform independent information about the class type.
Definition: System.cpp:260
PropertyHolder
Helper class to implement the IProperty interface.
Definition: PropertyHolder.h:68
ISvcManager
Definition: ISvcManager.h:30
ApplicationMgr::i_delegateToEvtProc
static auto i_delegateToEvtProc(SELF *self, PIMPL &member, std::string_view method_name, METHOD &&method, ARGS &&... args)
Helper to delegate calls to event processor implementation.
Definition: ApplicationMgr.h:315
IAppMgrUI.h
ApplicationMgr::terminate
StatusCode terminate() override
Definition: ApplicationMgr.cpp:617
ApplicationMgr::executeRun
StatusCode executeRun(int evtmax) override
implementation of IEventProcessor::executeRun(int)
Definition: ApplicationMgr.cpp:813
ApplicationMgr::finalize
StatusCode finalize() override
Definition: ApplicationMgr.cpp:573
ApplicationMgr::m_jobOptionsSvcType
Gaudi::Property< std::string > m_jobOptionsSvcType
Definition: ApplicationMgr.h:216
ApplicationMgr::nextEvent
StatusCode nextEvent(int maxevt) override
Definition: ApplicationMgr.cpp:524
ApplicationMgr::ApplicationMgr
ApplicationMgr(IInterface *=nullptr)
Definition: ApplicationMgr.cpp:83
ApplicationMgr::ManagersMap
std::map< unsigned long, SmartIF< IComponentManager > > ManagersMap
Typedef for the map of component managers, the key is the "id" field of the basic InterfaceID of the ...
Definition: ApplicationMgr.h:172
ApplicationMgr::createSvcNameListHandler
void createSvcNameListHandler(Gaudi::Details::PropertyBase &)
Definition: ApplicationMgr.cpp:890
AlgorithmManager
Definition: AlgorithmManager.h:39
DLLClassManager
Definition: DLLClassManager.h:37
ApplicationMgr::svcManager
SmartIF< ISvcManager > & svcManager()
Definition: ApplicationMgr.h:134
ApplicationMgr::m_dllNameList
Gaudi::Property< std::vector< std::string > > m_dllNameList
Definition: ApplicationMgr.h:245
ApplicationMgr::m_auditAlgs
Gaudi::Property< bool > m_auditAlgs
Definition: ApplicationMgr.h:280
Gaudi::StateMachine::State
State
Allowed states for classes implementing the state machine (ApplicationMgr, Algorithm,...
Definition: StateMachine.h:21
ApplicationMgr::getManager
SmartIF< IComponentManager > & getManager()
Definition: ApplicationMgr.h:130
ApplicationMgr::dllNameListHandler
void dllNameListHandler(Gaudi::Details::PropertyBase &theProp)
Definition: ApplicationMgr.cpp:950
GaudiPython.Pythonizations.self
self
Definition: Pythonizations.py:578
ApplicationMgr::m_returnCode
Gaudi::Property< int > m_returnCode
Property to record the error conditions occurring during the running.
Definition: ApplicationMgr.h:298
GaudiPython.Pythonizations.ctx
ctx
Definition: Pythonizations.py:578
StatusCode
Definition: StatusCode.h:64
ApplicationMgr::restart
StatusCode restart() override
Definition: ApplicationMgr.cpp:863
ApplicationMgr::configure
StatusCode configure() override
Definition: ApplicationMgr.cpp:278
ApplicationMgr::m_jobOptionsPostAction
Gaudi::Property< std::string > m_jobOptionsPostAction
Definition: ApplicationMgr.h:250
ApplicationMgr::m_histPersName
Gaudi::Property< std::string > m_histPersName
Definition: ApplicationMgr.h:256
Gaudi::StateMachine::OFFLINE
@ OFFLINE
Definition: StateMachine.h:22
ApplicationMgr::m_evtsel
Gaudi::Property< std::string > m_evtsel
Definition: ApplicationMgr.h:255
ApplicationMgr::m_jobOptionsPreAction
Gaudi::Property< std::string > m_jobOptionsPreAction
Definition: ApplicationMgr.h:248
ApplicationMgr::pop
std::optional< Gaudi::Interfaces::IQueueingEventProcessor::ResultType > pop() override
Definition: ApplicationMgr.cpp:800
Gaudi::Property::value
const ValueType & value() const
Definition: Property.h:229
ApplicationMgr::m_declaredManagers
Gaudi::Property< std::vector< std::string > > m_declaredManagers
Property to declare the list of known managers.
Definition: ApplicationMgr.h:178
ApplicationMgr::m_svcLocator
SmartIF< ISvcLocator > m_svcLocator
Reference to its own service locator (must be instantiated prior to any service!)
Definition: ApplicationMgr.h:187
ApplicationMgr::m_appVersion
Gaudi::Property< std::string > m_appVersion
Definition: ApplicationMgr.h:259
ApplicationMgr::sysReinitialize
StatusCode sysReinitialize() override
Definition: ApplicationMgr.h:107
ApplicationMgr::m_jobOptionsType
Gaudi::Property< std::string > m_jobOptionsType
Definition: ApplicationMgr.h:246
ApplicationMgr::sysRestart
StatusCode sysRestart() override
Definition: ApplicationMgr.h:109
IStateful.h
ApplicationMgr::m_svcManager
SmartIF< ISvcManager > m_svcManager
Cached pointer to the manager of services.
Definition: ApplicationMgr.h:181
ApplicationMgr::executeEvent
StatusCode executeEvent(EventContext &&ctx) override
implementation of IEventProcessor::executeEvent(void*)
Definition: ApplicationMgr.cpp:782
SmartIF< IComponentManager >
ApplicationMgr::m_runableType
Gaudi::Property< std::string > m_runableType
Definition: ApplicationMgr.h:252
CommonMessaging.h
endmsg
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:198
ApplicationMgr::targetFSMState
Gaudi::StateMachine::State targetFSMState() const override
Definition: ApplicationMgr.cpp:837
ApplicationMgr::monitoringHub
Gaudi::Monitoring::Hub & monitoringHub() override
Definition: ApplicationMgr.h:152
ApplicationMgr::m_topAlgNameList
Gaudi::Property< std::vector< std::string > > m_topAlgNameList
Definition: ApplicationMgr.h:206
ApplicationMgr::pluginDebugPropertyHandler
void pluginDebugPropertyHandler(Gaudi::Details::PropertyBase &theProp)
ApplicationMgr::m_processingMgr
SmartIF< IEventProcessor > m_processingMgr
Reference to processing manager object.
Definition: ApplicationMgr.h:229
IRunable
Definition: IRunable.h:27
Gaudi::StateMachine::RUNNING
@ RUNNING
Definition: StateMachine.h:25
MsgStream
Definition: MsgStream.h:29
ApplicationMgr::m_svcMapping
Gaudi::Property< std::vector< std::string > > m_svcMapping
Definition: ApplicationMgr.h:223
Gaudi::PluginService::v1::SetDebug
GAUDIPS_API void SetDebug(int debugLevel)
Backward compatibility with Reflex.
Definition: PluginServiceV1.cpp:314
ApplicationMgr::m_svcOptMapping
Gaudi::Property< std::vector< std::string > > m_svcOptMapping
Definition: ApplicationMgr.h:224
ApplicationMgr::decodeExtSvcNameList
StatusCode decodeExtSvcNameList()
Definition: ApplicationMgr.cpp:924
ApplicationMgr::m_extSvcNameList
Gaudi::Property< std::vector< std::string > > m_extSvcNameList
Definition: ApplicationMgr.h:240
ApplicationMgr::m_eventLoopMgr
Gaudi::Property< std::string > m_eventLoopMgr
Definition: ApplicationMgr.h:253
StatusCode::ignore
const StatusCode & ignore() const
Allow discarding a StatusCode without warning.
Definition: StatusCode.h:139
Service.h
ApplicationMgr::m_extSvcCreates
Gaudi::Property< bool > m_extSvcCreates
Definition: ApplicationMgr.h:242
ApplicationMgr::m_useMessageSvcForROOTMessages
Gaudi::Property< bool > m_useMessageSvcForROOTMessages
Definition: ApplicationMgr.h:304
ApplicationMgr::m_createSvcNameList
Gaudi::Property< std::vector< std::string > > m_createSvcNameList
Definition: ApplicationMgr.h:274
ApplicationMgr::m_actHistory
Gaudi::Property< bool > m_actHistory
Definition: ApplicationMgr.h:260
ApplicationMgr::serviceLocator
SmartIF< ISvcLocator > & serviceLocator() const override
Needed to locate the message service.
Definition: ApplicationMgr.h:147
ApplicationMgr::m_SIExit
Gaudi::Property< int > m_SIExit
Definition: ApplicationMgr.h:199
ApplicationMgr::m_monitoringHub
Gaudi::Monitoring::Hub m_monitoringHub
Definition: ApplicationMgr.h:233
StatusCode::SUCCESS
constexpr static const auto SUCCESS
Definition: StatusCode.h:99
ApplicationMgr::decodeCreateSvcNameList
StatusCode decodeCreateSvcNameList()
Definition: ApplicationMgr.cpp:896
ApplicationMgr::m_appName
Gaudi::Property< std::string > m_appName
Definition: ApplicationMgr.h:258
gaudirun.args
args
Definition: gaudirun.py:336
IComponentManager.h
ApplicationMgr
Definition: ApplicationMgr.h:54
ApplicationMgr::stopRun
StatusCode stopRun() override
implementation of IEventProcessor::stopRun()
Definition: ApplicationMgr.cpp:824
Kernel.h
IInterface
Definition: IInterface.h:225
ApplicationMgr::evtLoopPropertyHandler
void evtLoopPropertyHandler(Gaudi::Details::PropertyBase &theProp)
Definition: ApplicationMgr.cpp:883
EventContext
Definition: EventContext.h:34
ApplicationMgr::m_queueingProcessor
SmartIF< IQueueingEventProcessor > m_queueingProcessor
Reference to a queueing processing manager object.
Definition: ApplicationMgr.h:231
ApplicationMgr::m_outputLevel
Gaudi::Property< int > m_outputLevel
Definition: ApplicationMgr.h:257
ApplicationMgr::queryInterface
StatusCode queryInterface(const InterfaceID &iid, void **pinterface) override
Definition: ApplicationMgr.cpp:137
ApplicationMgr::m_messageSvc
SmartIF< IMessageSvc > m_messageSvc
Reference to the message service.
Definition: ApplicationMgr.h:227
ApplicationMgr::m_managers
ManagersMap m_managers
Map of known component managers.
Definition: ApplicationMgr.h:176
ApplicationMgr::m_state
Gaudi::StateMachine::State m_state
Internal State.
Definition: ApplicationMgr.h:220
ApplicationMgr::sysStart
StatusCode sysStart() override
Definition: ApplicationMgr.h:101
ApplicationMgr::m_jobOptionsPath
Gaudi::Property< std::string > m_jobOptionsPath
Definition: ApplicationMgr.h:247
ApplicationMgr::m_printAlgsSequence
Gaudi::Property< bool > m_printAlgsSequence
Definition: ApplicationMgr.h:301
ApplicationMgr::m_useHiveAlgorithmManager
bool m_useHiveAlgorithmManager
Definition: ApplicationMgr.h:308
IProperty.h
ApplicationMgr::extSvcNameListHandler
void extSvcNameListHandler(Gaudi::Details::PropertyBase &theProp)
Definition: ApplicationMgr.cpp:917
ApplicationMgr::GoToState
StatusCode GoToState(Gaudi::StateMachine::State state, bool ignoreFailures=false)
Reach a state from current state (whichever it is) going through the correct transitions.
Definition: ApplicationMgr.cpp:676
InterfaceID
Definition: IInterface.h:38
IAlgorithm.h
ApplicationMgr::reinitialize
StatusCode reinitialize() override
Definition: ApplicationMgr.cpp:839
ApplicationMgr::m_loopCheck
Gaudi::Property< bool > m_loopCheck
Definition: ApplicationMgr.h:285
Gaudi::Monitoring::Hub
Central entity in a Gaudi application that manages monitoring objects (i.e.
Definition: MonitoringHub.h:47
StatusCode::FAILURE
constexpr static const auto FAILURE
Definition: StatusCode.h:100
ApplicationMgr::m_environment
Gaudi::Property< std::map< std::string, std::string > > m_environment
Definition: ApplicationMgr.h:282
compareRootHistos.state
state
Definition: compareRootHistos.py:496
ApplicationMgr::setServiceManager
void setServiceManager(ISvcManager *) override
Definition: ApplicationMgr.h:159
IIncidentSvc
Definition: IIncidentSvc.h:30
PropertyHolder.h
ApplicationMgr::m_pluginDebugLevel
Gaudi::Property< int > m_pluginDebugLevel
Definition: ApplicationMgr.h:261
ApplicationMgr::algManager
SmartIF< IAlgManager > & algManager()
Definition: ApplicationMgr.h:140
IEventProcessor.h
ApplicationMgr::m_SIGo
Gaudi::Property< int > m_SIGo
Definition: ApplicationMgr.h:191
Gaudi::Property
Implementation of property with value of concrete type.
Definition: Property.h:35
ApplicationMgr::m_classManager
SmartIF< DLLClassManager > m_classManager
Reference to the class manager.
Definition: ApplicationMgr.h:189
ApplicationMgr::push
void push(EventContext &&ctx) override
Definition: ApplicationMgr.cpp:791
ISvcManager.h
ApplicationMgr::start
StatusCode start() override
Definition: ApplicationMgr.cpp:493
ApplicationMgr::m_auditSvcs
Gaudi::Property< bool > m_auditSvcs
Definition: ApplicationMgr.h:279
ApplicationMgr::m_evtMax
Gaudi::Property< int > m_evtMax
Definition: ApplicationMgr.h:239
ApplicationMgr::m_outStreamNameList
Gaudi::Property< std::vector< std::string > > m_outStreamNameList
Definition: ApplicationMgr.h:212
ApplicationMgr::m_targetState
Gaudi::StateMachine::State m_targetState
Internal State.
Definition: ApplicationMgr.h:221
ApplicationMgr::initialize
StatusCode initialize() override
Definition: ApplicationMgr.cpp:444
IConversionSvc
Definition: IConversionSvc.h:43