| The Gaudi Framework v30r0 (c919700c)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

ApplicationMgr.h
Go to the documentation of this file.
1 #ifndef GAUDI_APPLICATIONMGR_H
2 #define GAUDI_APPLICATIONMGR_H
3
4 #include "GaudiKernel/AppReturnCode.h"
5 #include "GaudiKernel/CommonMessaging.h"
6 #include "GaudiKernel/IAlgManager.h"
7 #include "GaudiKernel/IAlgorithm.h"
8 #include "GaudiKernel/IAppMgrUI.h"
9 #include "GaudiKernel/IComponentManager.h"
10 #include "GaudiKernel/IEventProcessor.h"
11 #include "GaudiKernel/IProperty.h"
12 #include "GaudiKernel/IStateful.h"
13 #include "GaudiKernel/ISvcManager.h"
14 #include "GaudiKernel/Kernel.h"
15 #include "GaudiKernel/PropertyHolder.h"
16 #include "GaudiKernel/Service.h"
17
18 // STL include files
19 #include <list>
20 #include <vector>
21
22 // Forward declarations
23 class ISvcLocator;
24 class ServiceManager;
25 class AlgorithmManager;
26 class DLLClassManager;
27
28 class IMessageSvc;
29 class IIncidentSvc;
30 class IRunable;
31 class IDataManagerSvc;
32 class IConversionSvc;
33 class IJobOptionsSvc;
34
47 class ApplicationMgr
48 : public PropertyHolder<
49 CommonMessaging<implements<IAppMgrUI, IEventProcessor, IService, IStateful, INamedInterface, IProperty>>>
50 {
51 public:
52 // default creator
53 ApplicationMgr( IInterface* = nullptr );
54 // virtual destructor
55 ~ApplicationMgr() override = default;
56
57 // implementation of IInterface::queryInterface
58 StatusCode queryInterface( const InterfaceID& iid, void** pinterface ) override;
59
60 // implementation of IAppMgrUI::run
61 StatusCode run() override;
62 // implementation of IAppMgrUI::configure
63 StatusCode configure() override;
64 // implementation of IAppMgrUI::terminate
65 StatusCode terminate() override;
66 // implementation of IAppMgrUI::initialize
67 StatusCode initialize() override;
68 // implementation of IAppMgrUI::start
69 StatusCode start() override;
70 // implementation of IAppMgrUI::stop
71 StatusCode stop() override;
72 // implementation of IAppMgrUI::finalize
73 StatusCode finalize() override;
74 // implementation of IAppMgrUI::nextEvent
75 StatusCode nextEvent( int maxevt ) override;
76 // implementation of IAppMgrUI::name
77 const std::string& name() const override;
79 StatusCode executeEvent( void* par ) override;
81 StatusCode executeRun( int evtmax ) override;
83 StatusCode stopRun() override;
84
85 // implementation of IStateful::state
86 Gaudi::StateMachine::State FSMState() const override;
87 // implementation of IStateful::targetState
88 Gaudi::StateMachine::State targetFSMState() const override;
89 // implementation of IStateful::reinitialize
90 StatusCode reinitialize() override;
91 // implementation of IStateful::reinitialize
92 StatusCode restart() override;
93 // implementation of IService::sysItinitilaize
94 StatusCode sysInitialize() override { return StatusCode::SUCCESS; }
95 // implementation of IService::sysStart
96 StatusCode sysStart() override { return StatusCode::SUCCESS; }
97 // implementation of IService::sysStop
98 StatusCode sysStop() override { return StatusCode::SUCCESS; }
99 // implementation of IService::sysFinalize
100 StatusCode sysFinalize() override { return StatusCode::SUCCESS; }
101 // implementation of IService::sysReinitialize
102 StatusCode sysReinitialize() override { return StatusCode::SUCCESS; }
103 // implementation of IService::sysRestart
104 StatusCode sysRestart() override { return StatusCode::SUCCESS; }
105
106 // SI Go Handler
107 void SIGoHandler( Gaudi::Details::PropertyBase& theProp );
108 // SI Exit handler
109 void SIExitHandler( Gaudi::Details::PropertyBase& theProp );
110
112
113 void evtLoopPropertyHandler( Gaudi::Details::PropertyBase& theProp );
114 StatusCode decodeExtSvcNameList();
115 StatusCode decodeCreateSvcNameList();
116 void createSvcNameListHandler( Gaudi::Details::PropertyBase& );
117 void extSvcNameListHandler( Gaudi::Details::PropertyBase& theProp );
118 StatusCode decodeMultiThreadSvcNameList();
119 void multiThreadSvcNameListHandler( Gaudi::Details::PropertyBase& theProp );
120 StatusCode decodeDllNameList();
121 void dllNameListHandler( Gaudi::Details::PropertyBase& theProp );
122 void pluginDebugPropertyHandler( Gaudi::Details::PropertyBase& theProp );
123 void initLoopCheckHndlr( Gaudi::Details::PropertyBase& );
125
126 template <class I>
127 SmartIF<IComponentManager>& getManager()
128 {
129 return m_managers[I::interfaceID().id()];
130 }
131
132 inline SmartIF<ISvcManager>& svcManager()
133 {
134 // Cache the casted pointer to ISvcManager
135 if ( !m_svcManager ) {
136 m_svcManager = getManager<IService>();
137 }
138 return m_svcManager;
139 }
140
141 inline SmartIF<IAlgManager>& algManager()
142 {
143 // Cache the casted pointer to IAlgManager
144 if ( !m_algManager ) {
145 m_algManager = getManager<IAlgorithm>();
146 }
147 return m_algManager;
148 }
149
151 SmartIF<ISvcLocator>& serviceLocator() const override { return m_svcLocator; }
152
154 void outputLevelUpdate() override;
155
156 protected:
158 StatusCode declareMultiSvcType( const std::string& name, const std::string& type );
160 StatusCode addMultiSvc( const Gaudi::Utils::TypeNameString& typeName, int prio );
161
162 // implementation of IService::setServiceManager
163 void setServiceManager( ISvcManager* ) override {}
164
166 StatusCode i_startup();
167
172 StatusCode GoToState( Gaudi::StateMachine::State state, bool ignoreFailures = false );
173
176 typedef std::map<unsigned long, SmartIF<IComponentManager>> ManagersMap;
180 ManagersMap m_managers;
182 Gaudi::Property<std::vector<std::string>> m_declaredManagers;
183
185 SmartIF<ISvcManager> m_svcManager;
186
188 SmartIF<IAlgManager> m_algManager;
189
190 // data members
191 mutable SmartIF<ISvcLocator> m_svcLocator;
192 SmartIF<DLLClassManager> m_classManager;
194
195 Gaudi::Property<int> m_SIGo{this, "Go", 0, "For SI's \"Go\" command via callback"};
196 Gaudi::Property<int> m_SIExit{this, "Exit", 0, "For SI's \"Exit\" command via callback"};
197 Gaudi::Property<std::vector<std::string>> m_topAlgNameList{this, "TopAlg", {}, "List of top level algorithms names"};
198 Gaudi::Property<std::vector<std::string>> m_outStreamNameList{this, "OutStream", {}, "List of output stream names"};
199 Gaudi::Property<std::string> m_outStreamType{this, "OutStreamType", "OutputStream",
200 "[[deprecated]] Output stream type"};
201 Gaudi::Property<std::string> m_messageSvcType{this, "MessageSvcType", "MessageSvc", "MessageSvc type"};
202 Gaudi::Property<std::string> m_jobOptionsSvcType{this, "JobOptionsSvcType", "JobOptionsSvc", "JobOptionsSvc type"};
203
204 std::string m_name = "ApplicationMgr";
205 Gaudi::StateMachine::State m_state = Gaudi::StateMachine::OFFLINE;
206 Gaudi::StateMachine::State m_targetState = Gaudi::StateMachine::OFFLINE;
207
208 Gaudi::Property<std::vector<std::string>> m_svcMapping{this, "SvcMapping", {}, "Default mapping of services"};
209 Gaudi::Property<std::vector<std::string>> m_svcOptMapping{
210 this, "SvcOptMapping", {}, "Default mapping of optional services"};
211
212 SmartIF<IMessageSvc> m_messageSvc;
213 SmartIF<IRunable> m_runable;
214 SmartIF<IEventProcessor> m_processingMgr;
215 SmartIF<IJobOptionsSvc> m_jobOptionsSvc;
216
217 //
218 // The public ApplicationMgr properties
219 //
220
221 Gaudi::Property<int> m_evtMax{this, "EvtMax", -1, "Number of events to be processed (-1 means all events)"};
222 Gaudi::Property<std::vector<std::string>> m_extSvcNameList{this, "ExtSvc", {}, "List of external services names"};
223 Gaudi::Property<bool> m_extSvcCreates{this, "ExtSvcCreates", true,
224 "LHCb (default) or ATLAS definition of \"ExtSvc\""};
225
227 Gaudi::Property<std::vector<std::string>> m_multiThreadSvcNameList{this, "MultiThreadExtSvc"};
228 Gaudi::Property<int> m_noOfEvtThreads{this, "NoOfThreads", 0, "MultiThreadSvc copies"};
229
230 Gaudi::Property<std::vector<std::string>> m_dllNameList{this, "Dlls", {}, "List of DDL's names"};
231 Gaudi::Property<std::string> m_jobOptionsType{this, "JobOptionsType", "FILE", "Source type (e.g. dbase, file...)"};
232 Gaudi::Property<std::string> m_jobOptionsPath{this, "JobOptionsPath", {}, "The \"file\" to look for properties"};
233 Gaudi::Property<std::string> m_jobOptionsPreAction{
234 this, "JobOptionsPostAction", {}, "additional command to run on config"};
235 Gaudi::Property<std::string> m_jobOptionsPostAction{
236 this, "JobOptionsPreAction", {}, "additional command to run on config"};
237 Gaudi::Property<std::string> m_runableType{this, "Runable", "AppMgrRunable", "Runable type"};
238 Gaudi::Property<std::string> m_eventLoopMgr{this, "EventLoop", "EventLoopMgr", "Processing manager type"};
239 Gaudi::Property<std::string> m_evtsel{this, "EvtSel", {}, "Event selection"};
240 Gaudi::Property<std::string> m_histPersName{this, "HistogramPersistency", "NONE", "Name of the Hist Pers Svc"};
241 Gaudi::Property<int> m_outputLevel{this, "OutputLevel", MSG::INFO, "Message output level"};
242 Gaudi::Property<std::string> m_appName{this, "AppName", "ApplicationMgr", "The name of the application"};
243 Gaudi::Property<std::string> m_appVersion{this, "AppVersion", {}, "The version of the application"};
244 Gaudi::Property<bool> m_actHistory{this, "ActivateHistory", false, "Activate HistorySvc"};
245 Gaudi::Property<bool> m_codeCheck{this, "StatusCodeCheck", false, "Activate StatusCode checking"};
246 Gaudi::Property<int> m_pluginDebugLevel{this, "PluginDebugLevel", 0, "Debug level for the plugin system"};
247
248 Gaudi::Property<std::vector<std::string>> m_createSvcNameList{
249 this, "CreateSvc", {}, "List of extra services to be created"};
250
252 Gaudi::Property<bool> m_auditTools{this, "AuditTools", false};
253 Gaudi::Property<bool> m_auditSvcs{this, "AuditServices", false};
254 Gaudi::Property<bool> m_auditAlgs{this, "AuditAlgorithms", false};
255
256 Gaudi::Property<std::map<std::string, std::string>> m_environment{
257 this, "Environment", {}, "Environment variables to set"};
258
259 Gaudi::Property<bool> m_loopCheck{this, "InitializationLoopCheck", true,
260 "For ServiceMgr initialization loop checking"};
261
264 Gaudi::Property<bool> m_stopOnSignal{
265 this, "StopOnSignal", false, "Flag to enable/disable the signal handler that schedule a stop of the event loop"};
266
269 Gaudi::Property<bool> m_stalledEventMonitoring{
270 this, "StalledEventMonitoring", false, "Flag to enable/disable the monitoring and reporting of stalled events"};
271
272 Gaudi::Property<bool> m_propertiesPrint{this, "PropertiesPrint", false,
273 "Flag to activate the printout of properties"};
274
276 Gaudi::Property<int> m_returnCode{this, "ReturnCode", Gaudi::ReturnCode::Success,
277 "Return code of the application. Set internally in case of error conditions."};
278
279 // For concurrency
280 bool m_useHiveAlgorithmManager;
281
282 private:
283 std::vector<std::string> m_okDlls;
284 };
285 #endif // GAUDI_APPLICATIONMGR_H
ServiceManager
The ServiceManager class is in charge of the creation of concrete instances of Services.
Definition: ServiceManager.h:36
ApplicationMgr::m_targetState
Gaudi::StateMachine::State m_targetState
Internal State.
Definition: ApplicationMgr.h:206
AlgorithmManager
The AlgorithmManager class is in charge of the creation of concrete instances of Algorithms.
Definition: AlgorithmManager.h:31
ApplicationMgr::initialize
StatusCode initialize() override
Definition: ApplicationMgr.cpp:437
PropertyHolder.h
StatusCode::SUCCESS
Definition: StatusCode.h:29
ApplicationMgr::m_propertiesPrint
Gaudi::Property< bool > m_propertiesPrint
Definition: ApplicationMgr.h:272
SmartIF< IComponentManager >
Kernel.h
ISvcLocator
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:25
ApplicationMgr::decodeDllNameList
StatusCode decodeDllNameList()
Definition: ApplicationMgr.cpp:1140
ApplicationMgr::m_returnCode
Gaudi::Property< int > m_returnCode
Property to record the error conditions occurring during the running.
Definition: ApplicationMgr.h:276
ApplicationMgr::SIExitHandler
void SIExitHandler(Gaudi::Details::PropertyBase &theProp)
Definition: ApplicationMgr.cpp:930
ApplicationMgr::m_stopOnSignal
Gaudi::Property< bool > m_stopOnSignal
Property to enable/disable the "stop on signal" service.
Definition: ApplicationMgr.h:264
IEventProcessor.h
ApplicationMgr::m_auditSvcs
Gaudi::Property< bool > m_auditSvcs
Definition: ApplicationMgr.h:253
ApplicationMgr::m_codeCheck
Gaudi::Property< bool > m_codeCheck
Definition: ApplicationMgr.h:245
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:176
ApplicationMgr::m_evtMax
Gaudi::Property< int > m_evtMax
Definition: ApplicationMgr.h:221
ApplicationMgr::m_runable
SmartIF< IRunable > m_runable
Reference to the runable object.
Definition: ApplicationMgr.h:213
IConversionSvc
Definition: IConversionSvc.h:37
compareRootHistos.state
state
Definition: compareRootHistos.py:424
Gaudi::Property
Implementation of property with value of concrete type.
Definition: Property.h:319
IAppMgrUI.h
IDataManagerSvc
Definition: IDataManagerSvc.h:46
ApplicationMgr::SIGoHandler
void SIGoHandler(Gaudi::Details::PropertyBase &theProp)
Definition: ApplicationMgr.cpp:913
ISvcManager
The ISvcManager is the interface implemented by the Service Factory in the Application Manager to sup...
Definition: ISvcManager.h:28
ApplicationMgr::m_managers
ManagersMap m_managers
Map of known component managers.
Definition: ApplicationMgr.h:180
IAlgorithm.h
ApplicationMgr::sysStart
StatusCode sysStart() override
Definition: ApplicationMgr.h:96
ApplicationMgr::m_outStreamType
Gaudi::Property< std::string > m_outStreamType
Definition: ApplicationMgr.h:199
ApplicationMgr::m_jobOptionsType
Gaudi::Property< std::string > m_jobOptionsType
Definition: ApplicationMgr.h:231
ApplicationMgr::name
const std::string & name() const override
Definition: ApplicationMgr.cpp:865
ApplicationMgr::m_SIGo
Gaudi::Property< int > m_SIGo
Definition: ApplicationMgr.h:195
ApplicationMgr::multiThreadSvcNameListHandler
void multiThreadSvcNameListHandler(Gaudi::Details::PropertyBase &theProp)
Definition: ApplicationMgr.cpp:1029
ApplicationMgr::m_environment
Gaudi::Property< std::map< std::string, std::string > > m_environment
Definition: ApplicationMgr.h:256
ApplicationMgr::m_multiThreadSvcNameList
Gaudi::Property< std::vector< std::string > > m_multiThreadSvcNameList
List of external services names for which we want a copy per evt thread.
Definition: ApplicationMgr.h:227
ApplicationMgr::outputLevelUpdate
void outputLevelUpdate() override
Function to call to update the outputLevel of the components (after a change in MessageSvc).
Definition: ApplicationMgr.cpp:1235
ApplicationMgr::m_auditAlgs
Gaudi::Property< bool > m_auditAlgs
Definition: ApplicationMgr.h:254
ApplicationMgr::m_appVersion
Gaudi::Property< std::string > m_appVersion
Definition: ApplicationMgr.h:243
ApplicationMgr::m_okDlls
std::vector< std::string > m_okDlls
names of successfully loaded dlls
Definition: ApplicationMgr.h:283
ApplicationMgr::sysRestart
StatusCode sysRestart() override
Definition: ApplicationMgr.h:104
Gaudi::StateMachine::State
State
Allowed states for classes implementing the state machine (ApplicationMgr, Algorithm, Service, AlgTool).
Definition: StateMachine.h:14
ApplicationMgr::sysFinalize
StatusCode sysFinalize() override
Definition: ApplicationMgr.h:100
ApplicationMgr::nextEvent
StatusCode nextEvent(int maxevt) override
Definition: ApplicationMgr.cpp:528
ApplicationMgr::m_jobOptionsSvc
SmartIF< IJobOptionsSvc > m_jobOptionsSvc
Reference to JobOption service.
Definition: ApplicationMgr.h:215
ApplicationMgr::createSvcNameListHandler
void createSvcNameListHandler(Gaudi::Details::PropertyBase &)
Definition: ApplicationMgr.cpp:952
std::map
STL class.
ApplicationMgr::m_outStreamNameList
Gaudi::Property< std::vector< std::string > > m_outStreamNameList
Definition: ApplicationMgr.h:198
ISvcManager.h
ApplicationMgr::m_processingMgr
SmartIF< IEventProcessor > m_processingMgr
Reference to processing manager object.
Definition: ApplicationMgr.h:214
ApplicationMgr::terminate
StatusCode terminate() override
Definition: ApplicationMgr.cpp:636
ApplicationMgr::svcManager
SmartIF< ISvcManager > & svcManager()
Definition: ApplicationMgr.h:132
ApplicationMgr::getManager
SmartIF< IComponentManager > & getManager()
Definition: ApplicationMgr.h:127
ApplicationMgr::m_eventLoopMgr
Gaudi::Property< std::string > m_eventLoopMgr
Definition: ApplicationMgr.h:238
std::string
STL class.
ApplicationMgr::m_evtsel
Gaudi::Property< std::string > m_evtsel
Definition: ApplicationMgr.h:239
ApplicationMgr::addMultiSvc
StatusCode addMultiSvc(const Gaudi::Utils::TypeNameString &typeName, int prio)
add one or more copies of svc type/name as determined by NoOfThreads
Definition: ApplicationMgr.cpp:1097
Service.h
ApplicationMgr::sysReinitialize
StatusCode sysReinitialize() override
Definition: ApplicationMgr.h:102
ApplicationMgr::evtLoopPropertyHandler
void evtLoopPropertyHandler(Gaudi::Details::PropertyBase &theProp)
Definition: ApplicationMgr.cpp:941
InterfaceID
Interface ID class.
Definition: IInterface.h:29
ApplicationMgr::m_outputLevel
Gaudi::Property< int > m_outputLevel
Definition: ApplicationMgr.h:241
Gaudi::Utils::TypeNameString
Helper class to parse a string of format "type/name".
Definition: TypeNameString.h:12
compareOutputFiles.par
string par
Definition: compareOutputFiles.py:437
IJobOptionsSvc
Main interface for the JobOptions service.
Definition: IJobOptionsSvc.h:20
ApplicationMgr::executeRun
StatusCode executeRun(int evtmax) override
implementation of IEventProcessor::executeRun(int)
Definition: ApplicationMgr.cpp:834
ApplicationMgr::m_topAlgNameList
Gaudi::Property< std::vector< std::string > > m_topAlgNameList
Definition: ApplicationMgr.h:197
ApplicationMgr::targetFSMState
Gaudi::StateMachine::State targetFSMState() const override
Definition: ApplicationMgr.cpp:870
ApplicationMgr::extSvcNameListHandler
void extSvcNameListHandler(Gaudi::Details::PropertyBase &theProp)
Definition: ApplicationMgr.cpp:988
ApplicationMgr::initLoopCheckHndlr
void initLoopCheckHndlr(Gaudi::Details::PropertyBase &)
Definition: ApplicationMgr.cpp:1230
ApplicationMgr::m_svcLocator
SmartIF< ISvcLocator > m_svcLocator
Reference to its own service locator (must be instantiated prior to any service!) ...
Definition: ApplicationMgr.h:191
StatusCode
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:26
IInterface
Definition of the basic interface.
Definition: IInterface.h:277
gaudirun.type
type
Definition: gaudirun.py:133
CommonMessaging.h
ApplicationMgr::m_extSvcNameList
Gaudi::Property< std::vector< std::string > > m_extSvcNameList
Definition: ApplicationMgr.h:222
IMessageSvc
The IMessage is the interface implemented by the message service.
Definition: IMessageSvc.h:38
ApplicationMgr::dllNameListHandler
void dllNameListHandler(Gaudi::Details::PropertyBase &theProp)
Definition: ApplicationMgr.cpp:1130
ApplicationMgr::m_runableType
Gaudi::Property< std::string > m_runableType
Definition: ApplicationMgr.h:237
ApplicationMgr::m_declaredManagers
Gaudi::Property< std::vector< std::string > > m_declaredManagers
Property to declare the list of known managers.
Definition: ApplicationMgr.h:182
DLLClassManager
Definition: DLLClassManager.h:27
ApplicationMgr::sysStop
StatusCode sysStop() override
Definition: ApplicationMgr.h:98
ApplicationMgr::m_SIExit
Gaudi::Property< int > m_SIExit
Definition: ApplicationMgr.h:196
ApplicationMgr::m_stalledEventMonitoring
Gaudi::Property< bool > m_stalledEventMonitoring
Property to enable/disable the monitoring and reporting of stalled events.
Definition: ApplicationMgr.h:269
Gaudi::Details::PropertyBase
PropertyBase base class allowing PropertyBase* collections to be "homogeneous".
Definition: Property.h:32
ApplicationMgr::m_svcManager
SmartIF< ISvcManager > m_svcManager
Cached pointer to the manager of services.
Definition: ApplicationMgr.h:185
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:695
ApplicationMgr::finalize
StatusCode finalize() override
Definition: ApplicationMgr.cpp:584
ApplicationMgr::m_svcOptMapping
Gaudi::Property< std::vector< std::string > > m_svcOptMapping
Definition: ApplicationMgr.h:209
IStateful.h
ApplicationMgr::m_jobOptionsPreAction
Gaudi::Property< std::string > m_jobOptionsPreAction
Definition: ApplicationMgr.h:233
ApplicationMgr::m_svcMapping
Gaudi::Property< std::vector< std::string > > m_svcMapping
Definition: ApplicationMgr.h:208
ApplicationMgr::m_dllNameList
Gaudi::Property< std::vector< std::string > > m_dllNameList
Definition: ApplicationMgr.h:230
ApplicationMgr::executeEvent
StatusCode executeEvent(void *par) override
implementation of IEventProcessor::executeEvent(void*)
Definition: ApplicationMgr.cpp:819
ApplicationMgr
The Application Manager class.
Definition: ApplicationMgr.h:47
ApplicationMgr::m_actHistory
Gaudi::Property< bool > m_actHistory
Definition: ApplicationMgr.h:244
AppReturnCode.h
ApplicationMgr::queryInterface
StatusCode queryInterface(const InterfaceID &iid, void **pinterface) override
Definition: ApplicationMgr.cpp:93
ApplicationMgr::decodeExtSvcNameList
StatusCode decodeExtSvcNameList()
Definition: ApplicationMgr.cpp:999
IProperty.h
ApplicationMgr::m_extSvcCreates
Gaudi::Property< bool > m_extSvcCreates
Definition: ApplicationMgr.h:223
ApplicationMgr::m_auditTools
Gaudi::Property< bool > m_auditTools
Defaults for auditors.
Definition: ApplicationMgr.h:252
std::vector< std::string >
ApplicationMgr::m_classManager
SmartIF< DLLClassManager > m_classManager
Reference to the class manager.
Definition: ApplicationMgr.h:193
ApplicationMgr::m_jobOptionsSvcType
Gaudi::Property< std::string > m_jobOptionsSvcType
Definition: ApplicationMgr.h:202
ApplicationMgr::start
StatusCode start() override
Definition: ApplicationMgr.cpp:494
ApplicationMgr::m_createSvcNameList
Gaudi::Property< std::vector< std::string > > m_createSvcNameList
Definition: ApplicationMgr.h:248
ApplicationMgr::restart
StatusCode restart() override
Definition: ApplicationMgr.cpp:896
ApplicationMgr::configure
StatusCode configure() override
Definition: ApplicationMgr.cpp:241
ApplicationMgr::ApplicationMgr
ApplicationMgr(IInterface *=nullptr)
Definition: ApplicationMgr.cpp:47
IComponentManager.h
ApplicationMgr::pluginDebugPropertyHandler
void pluginDebugPropertyHandler(Gaudi::Details::PropertyBase &theProp)
Definition: ApplicationMgr.cpp:1219
ApplicationMgr::stopRun
StatusCode stopRun() override
implementation of IEventProcessor::stopRun()
Definition: ApplicationMgr.cpp:851
ApplicationMgr::decodeCreateSvcNameList
StatusCode decodeCreateSvcNameList()
Definition: ApplicationMgr.cpp:962
ApplicationMgr::m_jobOptionsPostAction
Gaudi::Property< std::string > m_jobOptionsPostAction
Definition: ApplicationMgr.h:235
ApplicationMgr::~ApplicationMgr
~ApplicationMgr() override=default
IRunable
Runable interface definition.
Definition: IRunable.h:18
PropertyHolder
Helper class to implement the IProperty interface.
Definition: PropertyHolder.h:73
ApplicationMgr::m_algManager
SmartIF< IAlgManager > m_algManager
Cached pointer to the manager of algorithms.
Definition: ApplicationMgr.h:188
ApplicationMgr::i_startup
StatusCode i_startup()
Internal startup routine.
Definition: ApplicationMgr.cpp:130
ApplicationMgr::stop
StatusCode stop() override
Definition: ApplicationMgr.cpp:546
ApplicationMgr::m_name
std::string m_name
Name.
Definition: ApplicationMgr.h:204
IAlgManager.h
ApplicationMgr::m_messageSvcType
Gaudi::Property< std::string > m_messageSvcType
Definition: ApplicationMgr.h:201
ApplicationMgr::reinitialize
StatusCode reinitialize() override
Definition: ApplicationMgr.cpp:875
ApplicationMgr::m_state
Gaudi::StateMachine::State m_state
Internal State.
Definition: ApplicationMgr.h:205
ApplicationMgr::m_appName
Gaudi::Property< std::string > m_appName
Definition: ApplicationMgr.h:242
ApplicationMgr::FSMState
Gaudi::StateMachine::State FSMState() const override
Definition: ApplicationMgr.cpp:868
ApplicationMgr::m_histPersName
Gaudi::Property< std::string > m_histPersName
Definition: ApplicationMgr.h:240
ApplicationMgr::serviceLocator
SmartIF< ISvcLocator > & serviceLocator() const override
Needed to locate the message service.
Definition: ApplicationMgr.h:151
maxevt
int maxevt
Definition: Bootstrap.cpp:279
Gaudi::ReturnCode::Success
constexpr int Success
Definition: AppReturnCode.h:18
ApplicationMgr::run
StatusCode run() override
Definition: ApplicationMgr.cpp:790
GaudiDict::typeName
std::string typeName(const std::type_info &typ)
Definition: Dictionary.cpp:23
MSG::INFO
Definition: IMessageSvc.h:16
ApplicationMgr::decodeMultiThreadSvcNameList
StatusCode decodeMultiThreadSvcNameList()
Definition: ApplicationMgr.cpp:1040
Gaudi::StateMachine::OFFLINE
Definition: StateMachine.h:15
ApplicationMgr::algManager
SmartIF< IAlgManager > & algManager()
Definition: ApplicationMgr.h:141
ApplicationMgr::m_noOfEvtThreads
Gaudi::Property< int > m_noOfEvtThreads
Definition: ApplicationMgr.h:228
ApplicationMgr::setServiceManager
void setServiceManager(ISvcManager *) override
Definition: ApplicationMgr.h:163
ApplicationMgr::m_messageSvc
SmartIF< IMessageSvc > m_messageSvc
Reference to the message service.
Definition: ApplicationMgr.h:212
ApplicationMgr::sysInitialize
StatusCode sysInitialize() override
Definition: ApplicationMgr.h:94
ApplicationMgr::m_pluginDebugLevel
Gaudi::Property< int > m_pluginDebugLevel
Definition: ApplicationMgr.h:246
ApplicationMgr::m_jobOptionsPath
Gaudi::Property< std::string > m_jobOptionsPath
Definition: ApplicationMgr.h:232
IIncidentSvc
The interface implemented by the IncidentSvc service.
Definition: IIncidentSvc.h:23
ApplicationMgr::m_useHiveAlgorithmManager
bool m_useHiveAlgorithmManager
Definition: ApplicationMgr.h:280
ApplicationMgr::m_loopCheck
Gaudi::Property< bool > m_loopCheck
Definition: ApplicationMgr.h:259
ApplicationMgr::declareMultiSvcType
StatusCode declareMultiSvcType(const std::string &name, const std::string &type)
declare one or more copies of svc type/name as determined by NoOfThreads
Definition: ApplicationMgr.cpp:1068