#include <src/ApplicationMgr/DLLClassManager.h>
Definition at line 28 of file DLLClassManager.h.
| DLLClassManager::DLLClassManager |
( |
IInterface * |
iface | ) |
|
Definition at line 21 of file DLLClassManager.cpp.
bool isValid() const
Allow for check if smart pointer is valid.
virtual unsigned long addRef()=0
Increment the reference count of Interface instance.
SmartIF< ISvcLocator > m_svclocator
SmartIF< IInterface > m_pOuter
| DLLClassManager::~DLLClassManager |
( |
| ) |
|
|
virtual |
| StatusCode DLLClassManager::loadModule |
( |
const std::string & |
module, |
|
|
bool |
fireIncident = true |
|
) |
| |
|
virtual |
Declare a sharable library to be used for creating instances of a given algorithm type.
Implements IClassManager.
Definition at line 35 of file DLLClassManager.cpp.
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() ) {
Definition of the MsgStream class used to transmit messages.
Define general base for Gaudi exception.
GAUDI_API const std::string & moduleNameFull()
Get the full name of the (executable/DLL) file.
bool isFailure() const
Test for a status code of FAILURE.
StatusCode service(const Gaudi::Utils::TypeNameString &name, T *&svc, bool createIf=true)
Templated method to access a service by name.
SmartIF< IMessageSvc > m_msgsvc
This class is used for returning status codes from appropriate routines.
fired when a module (DLL) is loaded
bool isValid() const
Allow for check if smart pointer is valid.
SmartIF< ISvcLocator > m_svclocator
GAUDI_API const std::string getLastErrorString()
Get last system error as string.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
GAUDI_API unsigned long loadDynamicLib(const std::string &name, ImageHandle *handle)
Load dynamic link library.
implementation of IInterface::queryInterface
Implements IInterface.
Definition at line 86 of file DLLClassManager.cpp.
88 StatusCode sc = base_class::queryInterface(iid, pinterface);
bool isSuccess() const
Test for a status code of SUCCESS.
This class is used for returning status codes from appropriate routines.
SmartIF< IInterface > m_pOuter
virtual StatusCode queryInterface(const InterfaceID &ti, void **pp)=0
Set the void** to the pointer to the requested interface of the instance.
The documentation for this class was generated from the following files: