![]() |
The Gaudi Framework
v36r9p1 (5c15b2bb)
|
#include <GaudiKernel/IInterface.h>

Public Types | |
| enum | Status : StatusCode::code_t { Status::FAILURE = 0, Status::SUCCESS = 1, Status::NO_INTERFACE, Status::VERSMISMATCH, Status::LAST_ERROR } |
| Return status. More... | |
| using | iid = Gaudi::InterfaceId< IInterface, 0, 0 > |
| Interface ID. More... | |
| using | ext_iids = Gaudi::interface_list< iid > |
| Extra interfaces. More... | |
Public Member Functions | |
| virtual void * | i_cast (const InterfaceID &) const =0 |
| main cast function More... | |
| virtual std::vector< std::string > | getInterfaceNames () const =0 |
| Returns a vector of strings containing the names of all the implemented interfaces. More... | |
| virtual unsigned long | addRef ()=0 |
| Increment the reference count of Interface instance. More... | |
| virtual unsigned long | release ()=0 |
| Release Interface instance. More... | |
| virtual unsigned long | refCount () const =0 |
| Current reference count. More... | |
| virtual StatusCode | queryInterface (const InterfaceID &ti, void **pp)=0 |
| Set the void** to the pointer to the requested interface of the instance. More... | |
| virtual | ~IInterface ()=default |
| Virtual destructor. More... | |
Static Public Member Functions | |
| static const InterfaceID & | interfaceID () |
| Return an instance of InterfaceID identifying the interface. More... | |
Definition of the basic interface
Definition at line 237 of file IInterface.h.
| using IInterface::ext_iids = Gaudi::interface_list<iid> |
Extra interfaces.
Definition at line 243 of file IInterface.h.
| using IInterface::iid = Gaudi::InterfaceId<IInterface, 0, 0> |
Interface ID.
Definition at line 240 of file IInterface.h.
|
strong |
Return status.
| Enumerator | |
|---|---|
| FAILURE | Failure. |
| SUCCESS | Normal successful completion. |
| NO_INTERFACE | Requested interface is not available. |
| VERSMISMATCH | Requested interface version is incompatible. |
| LAST_ERROR | Last error. |
Definition at line 290 of file IInterface.h.
|
virtualdefault |
Virtual destructor.
|
pure virtual |
Increment the reference count of Interface instance.
|
pure virtual |
Returns a vector of strings containing the names of all the implemented interfaces.
|
pure virtual |
main cast function
|
inlinestatic |
Return an instance of InterfaceID identifying the interface.
Definition at line 246 of file IInterface.h.
|
pure virtual |
Set the void** to the pointer to the requested interface of the instance.
|
pure virtual |
Current reference count.
|
pure virtual |
Release Interface instance.