Gaudi Framework, version v25r2

Home   Generated: Wed Jun 4 2014
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
IAddressCreator Class Referenceabstract

IAddressCreator interface definition. More...

#include <GaudiKernel/IAddressCreator.h>

Inheritance diagram for IAddressCreator:
Inheritance graph
[legend]
Collaboration diagram for IAddressCreator:
Collaboration graph
[legend]

Public Member Functions

 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.
 
- Public Member Functions inherited from IInterface
virtual void * i_cast (const InterfaceID &) const =0
 main cast function
 
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 ()=0
 Increment the reference count of Interface instance.
 
virtual unsigned long release ()=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 ()
 Virtual destructor.
 

Additional Inherited Members

- Public Types inherited from IInterface
enum  Status { SUCCESS = 1, NO_INTERFACE, VERSMISMATCH, LAST_ERROR }
 Return status. More...
 
typedef Gaudi::InterfaceId
< IInterface, 0, 0 > 
iid
 Interface ID.
 
typedef mpl::set1< iidext_iids
 Extra interfaces.
 
- Static Public Member Functions inherited from IInterface
static const InterfaceIDinterfaceID ()
 Return an instance of InterfaceID identifying the interface.
 

Detailed Description

IAddressCreator interface definition.

The address creator allows to:

Author
Markus Frank
Version
1.0

Definition at line 29 of file IAddressCreator.h.

Member Function Documentation

virtual StatusCode IAddressCreator::convertAddress ( const IOpaqueAddress pAddress,
std::string &  refAddress 
)
pure virtual

Convert an address to string form.

Parameters
pAddressInput address.
refAddressOutput address in string form.
Returns
Status code indicating success or failure.
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_typeTechnology identifier encapsulated in this address.
clidClass identifier of the DataObject represented by the opaque address
parArray of strings needed to construct the opaque address.
iparArray of integers needed to construct the opaque address.
refpAddressReference to pointer to the address where the created Address should be stored.
Returns
Status code indicating success or failure.
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_typeTechnology identifier encapsulated in this address.
clidClass identifier of the DataObject represented by the opaque address
addressInput address.
refpAddressOutput address in string form.
Returns
Status code indicating success or failure.
IAddressCreator::DeclareInterfaceID ( IAddressCreator  ,
,
 
)

The documentation for this class was generated from the following file:

Generated at Wed Jun 4 2014 14:49:02 for Gaudi Framework, version v25r2 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004