Go to the source code of this file.
◆ CHECK
Value: if ( SC.isFailure() ) return 1;
Definition at line 20 of file TestAppMgrStateMachine.cpp.
20#define CHECK( SC ) \
21 if ( SC.isFailure() ) return 1;
◆ main()
Definition at line 23 of file TestAppMgrStateMachine.cpp.
23 {
26
27 if ( !appMgr || !propMgr ) {
28 std::cout << "Fatal error while creating the ApplicationMgr " << std::endl;
29 return 1;
30 }
31
33 propMgr->setProperty(
"EvtMax", 1 ).
ignore();
34
42}
The IProperty is the basic interface for all components which have properties that can be set or get.
StatusCode setProperty(const Gaudi::Details::PropertyBase &p)
Set the property from a property.
Small smart pointer class with automatic reference counting for IInterface.
const StatusCode & ignore() const
Allow discarding a StatusCode without warning.
GAUDI_API IAppMgrUI * createApplicationMgr(const std::string &dllname, const std::string &factname)