#include </builds/gaudi/Gaudi/GaudiCoreSvc/src/ApplicationMgr/DLLClassManager.h>
Definition at line 37 of file DLLClassManager.h.
◆ DLLClassManager()
DLLClassManager::DLLClassManager |
( |
IInterface * | iface | ) |
|
Definition at line 25 of file DLLClassManager.cpp.
28}
SmartIF< ISvcLocator > m_svclocator
SmartIF< IInterface > m_pOuter
unsigned long addRef() const override
◆ i_cast()
void const * DLLClassManager::i_cast |
( |
const InterfaceID & | iid | ) |
const |
|
override |
Definition at line 76 of file DLLClassManager.cpp.
76 {
78
80}
void const * i_cast(const InterfaceID &tid) const override
◆ loadModule()
StatusCode DLLClassManager::loadModule |
( |
const std::string & | module, |
|
|
bool | fireIncident = true ) |
|
override |
Definition at line 30 of file DLLClassManager.cpp.
30 {
31
34
35 std::string
mod =
module == "" ? System::moduleNameFull() : module;
37
38 void* libHandle = nullptr;
40 try {
42 } catch ( const std::exception& excpt ) {
45 }
46
48
52 }
53
54
55 if ( fireIncident && !module.empty() ) {
56
57 const bool CREATEIF( true );
58 auto pIncidentSvc =
m_svclocator->service<IIncidentSvc>(
"IncidentSvc", CREATEIF );
59 if ( !pIncidentSvc ) {
61 throw GaudiException(
"Error retrieving IncidentSvc",
"DLLClassManager::DLLClassManager",
StatusCode::FAILURE );
62 }
63 pIncidentSvc->fireIncident( ModuleLoadedIncident( "DLLClassManager", module ) );
64 }
65
67}
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
SmartIF< IMessageSvc > m_msgsvc
constexpr static const auto SUCCESS
constexpr static const auto FAILURE
GAUDI_API unsigned long loadDynamicLib(const std::string &name, ImageHandle *handle)
Load dynamic link library.
GAUDI_API const std::string getLastErrorString()
Get last system error as string.
◆ queryInterface()
◆ m_msgsvc
◆ m_pOuter
◆ m_svclocator
The documentation for this class was generated from the following files: