The Gaudi Framework  master (b9786168)
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>
15#include <string>
16
17class IOpaqueAddress;
18
33class GAUDI_API IAddressCreator : virtual public IInterface {
34public:
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};
unsigned int CLID
Class ID definition.
Definition ClassID.h:16
#define GAUDI_API
Definition Kernel.h:49
IAddressCreator interface definition.
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.
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.
Definition of the basic interface.
Definition IInterface.h:225
Opaque address interface definition.
This class is used for returning status codes from appropriate routines.
Definition StatusCode.h:64