The Gaudi Framework
master (9f3f8895)
Toggle main menu visibility
Loading...
Searching...
No Matches
IAddressCreator.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2025 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
#pragma once
12
13
#include <
GaudiKernel/ClassID.h
>
14
#include <
GaudiKernel/IInterface.h
>
15
#include <string>
16
17
class
IOpaqueAddress
;
18
33
class
GAUDI_API
IAddressCreator
:
virtual
public
IInterface
{
34
public
:
36
DeclareInterfaceID
(
IAddressCreator
, 3, 0 );
37
52
virtual
StatusCode
createAddress
(
long
svc_type,
const
CLID
& clid,
const
std::string* par,
const
unsigned
long
* ipar,
53
IOpaqueAddress
*& refpAddress ) = 0;
54
60
virtual
StatusCode
convertAddress
(
const
IOpaqueAddress
* pAddress, std::string& refAddress ) = 0;
61
71
virtual
StatusCode
createAddress
(
long
svc_type,
const
CLID
& clid,
const
std::string& refAddress,
72
IOpaqueAddress
*& refpAddress ) = 0;
73
};
ClassID.h
CLID
unsigned int CLID
Class ID definition.
Definition
ClassID.h:16
IInterface.h
GAUDI_API
#define GAUDI_API
Definition
Kernel.h:49
IAddressCreator
IAddressCreator interface definition.
Definition
IAddressCreator.h:33
IAddressCreator::createAddress
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.
IAddressCreator::DeclareInterfaceID
DeclareInterfaceID(IAddressCreator, 3, 0)
InterfaceID.
IAddressCreator::createAddress
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.
IAddressCreator::convertAddress
virtual StatusCode convertAddress(const IOpaqueAddress *pAddress, std::string &refAddress)=0
Convert an address to string form.
IInterface
Definition of the basic interface.
Definition
IInterface.h:225
IOpaqueAddress
Opaque address interface definition.
Definition
IOpaqueAddress.h:28
StatusCode
This class is used for returning status codes from appropriate routines.
Definition
StatusCode.h:64
GaudiKernel
include
GaudiKernel
IAddressCreator.h
Generated on
for The Gaudi Framework by
1.17.0