40 void* libHandle =
nullptr;
59 if ( fireIncident && !module.
empty() ) {
61 const bool CREATEIF(
true );
63 if ( !pIncidentSvc ) {
constexpr static const auto FAILURE
Definition of the MsgStream class used to transmit messages.
Define general base for Gaudi exception.
StatusCode loadModule(const std::string &module, bool fireIncident=true) override
GAUDI_API const std::string & moduleNameFull()
Get the full name of the (executable/DLL) file.
StatusCode service(const Gaudi::Utils::TypeNameString &name, T *&svc, bool createIf=true)
Templated method to access a service by name.
SmartIF< IMessageSvc > m_msgsvc
unsigned long addRef() override
Reference Interface instance.
This class is used for returning status codes from appropriate routines.
Definition of the basic interface.
fired when a module (DLL) is loaded
constexpr static const auto SUCCESS
StatusCode queryInterface(const InterfaceID &iid, void **pinterface) override
implementation of IInterface::queryInterface
bool isValid() const
Allow for check if smart pointer is valid.
DLLClassManager(IInterface *iface)
SmartIF< ISvcLocator > m_svclocator
GAUDI_API const std::string getLastErrorString()
Get last system error as string.
StatusCode queryInterface(const InterfaceID &ti, void **pp) override
Implementation of IInterface::queryInterface.
SmartIF< IInterface > m_pOuter
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
The interface implemented by the IncidentSvc service.
GAUDI_API unsigned long loadDynamicLib(const std::string &name, ImageHandle *handle)
Load dynamic link library.
virtual StatusCode queryInterface(const InterfaceID &ti, void **pp)=0
Set the void** to the pointer to the requested interface of the instance.