The Gaudi Framework  master (37c0b60a)
GaudiTesting::GaudiEnv Class Reference

#include </builds/gaudi/Gaudi/GaudiTestSuite/src/ToolVisitorTest/GaudiEnv.h>

Collaboration diagram for GaudiTesting::GaudiEnv:

Public Member Functions

 GaudiEnv ()
 

Public Attributes

IInterfacem_iface
 
SmartIF< ISvcManagerm_svcMgr
 
SmartIF< IAppMgrUIm_appMgr
 
SmartIF< IPropertym_propMgr
 
SmartIF< ISvcLocatorm_svcLoc
 
SmartIF< IToolSvcm_toolSvc
 

Detailed Description

Definition at line 37 of file GaudiEnv.h.

Constructor & Destructor Documentation

◆ GaudiEnv()

GaudiTesting::GaudiEnv::GaudiEnv ( )
inline

Definition at line 39 of file GaudiEnv.h.

41  , m_svcMgr( m_iface )
42  , m_appMgr( m_iface )
43  , m_propMgr( m_iface )
44  , m_svcLoc( m_iface ) {
45  Ensures( m_iface != nullptr );
50  m_toolSvc = m_svcLoc->service( "ToolSvc" );
52  m_propMgr->setProperty( "EvtSel", "NONE" ).ignore();
53  m_propMgr->setProperty( "JobOptionsType", "NONE" ).ignore();
54  Ensures( ( m_appMgr->configure().isSuccess() ) );
55  Ensures( ( m_appMgr->initialize().isSuccess() ) );
56  }

Member Data Documentation

◆ m_appMgr

SmartIF<IAppMgrUI> GaudiTesting::GaudiEnv::m_appMgr

Definition at line 59 of file GaudiEnv.h.

◆ m_iface

IInterface* GaudiTesting::GaudiEnv::m_iface

Definition at line 57 of file GaudiEnv.h.

◆ m_propMgr

SmartIF<IProperty> GaudiTesting::GaudiEnv::m_propMgr

Definition at line 60 of file GaudiEnv.h.

◆ m_svcLoc

SmartIF<ISvcLocator> GaudiTesting::GaudiEnv::m_svcLoc

Definition at line 61 of file GaudiEnv.h.

◆ m_svcMgr

SmartIF<ISvcManager> GaudiTesting::GaudiEnv::m_svcMgr

Definition at line 58 of file GaudiEnv.h.

◆ m_toolSvc

SmartIF<IToolSvc> GaudiTesting::GaudiEnv::m_toolSvc

Definition at line 62 of file GaudiEnv.h.


The documentation for this class was generated from the following file:
GaudiTesting::GaudiEnv::m_iface
IInterface * m_iface
Definition: GaudiEnv.h:57
Gaudi::createApplicationMgr
GAUDI_API IAppMgrUI * createApplicationMgr(const std::string &dllname, const std::string &factname)
GaudiTesting::GaudiEnv::m_toolSvc
SmartIF< IToolSvc > m_toolSvc
Definition: GaudiEnv.h:62
GaudiTesting::GaudiEnv::m_appMgr
SmartIF< IAppMgrUI > m_appMgr
Definition: GaudiEnv.h:59
SmartIF::isValid
bool isValid() const
Allow for check if smart pointer is valid.
Definition: SmartIF.h:72
GaudiTesting::GaudiEnv::m_svcLoc
SmartIF< ISvcLocator > m_svcLoc
Definition: GaudiEnv.h:61
GaudiTesting::GaudiEnv::m_svcMgr
SmartIF< ISvcManager > m_svcMgr
Definition: GaudiEnv.h:58
Ensures
#define Ensures(a)
Definition: GaudiEnv.h:26
GaudiTesting::GaudiEnv::m_propMgr
SmartIF< IProperty > m_propMgr
Definition: GaudiEnv.h:60