52 catch (
const std::exception & excpt )
56 log <<
MSG::ERROR <<
"Exception whilst loading " << module <<
" : " << excpt.what() <<
endmsg;
69 if (fireIncident && module !=
"") {
71 const bool CREATEIF(
true);
73 if( !pIncidentSvc.isValid() ) {
88 StatusCode sc = base_class::queryInterface(iid, pinterface);
91 return m_pOuter->queryInterface(iid, pinterface);
Definition of the MsgStream class used to transmit messages.
Define general base for Gaudi exception.
virtual ~DLLClassManager()
bool isSuccess() const
Test for a status code of SUCCESS.
GAUDI_API const std::string & moduleNameFull()
Get the full name of the (executable/DLL) file.
virtual StatusCode queryInterface(const InterfaceID &iid, void **pinterface)
implementation of IInterface::queryInterface
bool isFailure() const
Test for a status code of FAILURE.
Gaudi::InterfaceId< IInterface, 0, 0 > iid
Interface ID.
bool isValid() const
Allow for check if smart pointer is valid.
SmartIF< IMessageSvc > m_msgsvc
This class is used for returning status codes from appropriate routines.
Definition of the basic interface.
fired when a module (DLL) is loaded
virtual unsigned long addRef()=0
Increment the reference count of Interface instance.
DLLClassManager(IInterface *iface)
SmartIF< ISvcLocator > m_svclocator
GAUDI_API const std::string getLastErrorString()
Get last system error as string.
SmartIF< IInterface > m_pOuter
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
virtual StatusCode loadModule(const std::string &module, bool fireIncident=true)
Declare a sharable library to be used for creating instances of a given algorithm type...
GAUDI_API unsigned long loadDynamicLib(const std::string &name, ImageHandle *handle)
Load dynamic link library.