IAddressCreator interface definition.
More...
#include <GaudiKernel/IAddressCreator.h>
|
| | DeclareInterfaceID (IAddressCreator, 3, 0) |
| | InterfaceID.
|
| virtual StatusCode | createAddress (long svc_type, const CLID &clid, const std::string *par, const unsigned long *ipar, IOpaqueAddress *&refpAddress)=0 |
| | Create a Generic address using explicit arguments to identify a single object.
|
| virtual StatusCode | convertAddress (const IOpaqueAddress *pAddress, std::string &refAddress)=0 |
| | Convert an address to string form.
|
| virtual StatusCode | createAddress (long svc_type, const CLID &clid, const std::string &refAddress, IOpaqueAddress *&refpAddress)=0 |
| | Creates an address in string form to object form.
|
| template<Gaudi::IsInterface TARGET> |
| TARGET * | cast () |
| template<Gaudi::IsInterface TARGET> |
| TARGET const * | cast () const |
| template<typename TARGET> |
| TARGET * | cast () |
| template<typename TARGET> |
| TARGET const * | cast () const |
| virtual std::vector< std::string > | getInterfaceNames () const =0 |
| | Returns a vector of strings containing the names of all the implemented interfaces.
|
| virtual unsigned long | addRef () const =0 |
| | Increment the reference count of Interface instance.
|
| virtual unsigned long | release () const =0 |
| | Release Interface instance.
|
| virtual unsigned long | refCount () const =0 |
| | Current reference count.
|
| virtual StatusCode | queryInterface (const InterfaceID &ti, void **pp)=0 |
| | Set the void** to the pointer to the requested interface of the instance.
|
| virtual | ~IInterface ()=default |
| | Virtual destructor.
|
| virtual void const * | i_cast (const InterfaceID &) const =0 |
| void * | i_cast (const InterfaceID &iid) |
IAddressCreator interface definition.
The address creator allows to:
-
Create persistent address representations for a given conversion service using this service itself. The aim is to allow address creation without coupling directly to the service.
- Author
- Markus Frank
- Version
- 1.0
Definition at line 33 of file IAddressCreator.h.
◆ convertAddress()
Convert an address to string form.
- Parameters
-
| pAddress | Input address. |
| refAddress | Output address in string form. |
- Returns
- Status code indicating success or failure.
◆ createAddress() [1/2]
| virtual StatusCode IAddressCreator::createAddress |
( |
long | svc_type, |
|
|
const CLID & | clid, |
|
|
const std::string & | refAddress, |
|
|
IOpaqueAddress *& | refpAddress ) |
|
pure virtual |
Creates an address in string form to object form.
- Parameters
-
| svc_type | Technology identifier encapsulated in this address. |
| clid | Class identifier of the DataObject represented by the opaque address |
| address | Input address. |
| refpAddress | Output address in string form. |
- Returns
- Status code indicating success or failure.
◆ createAddress() [2/2]
| virtual StatusCode IAddressCreator::createAddress |
( |
long | svc_type, |
|
|
const CLID & | clid, |
|
|
const std::string * | par, |
|
|
const unsigned long * | ipar, |
|
|
IOpaqueAddress *& | refpAddress ) |
|
pure virtual |
Create a Generic address using explicit arguments to identify a single object.
- Parameters
-
| svc_type | Technology identifier encapsulated in this address. |
| clid | Class identifier of the DataObject represented by the opaque address |
| par | Array of strings needed to construct the opaque address. |
| ipar | Array of integers needed to construct the opaque address. |
| refpAddress | Reference to pointer to the address where the created Address should be stored. |
- Returns
- Status code indicating success or failure.
◆ DeclareInterfaceID()
The documentation for this class was generated from the following file: