Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  master (d98a2936)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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:
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 };
IAddressCreator
Definition: IAddressCreator.h:33
IOpaqueAddress
Definition: IOpaqueAddress.h:28
ClassID.h
IAddressCreator::convertAddress
virtual StatusCode convertAddress(const IOpaqueAddress *pAddress, std::string &refAddress)=0
Convert an address to string form.
IAddressCreator::DeclareInterfaceID
DeclareInterfaceID(IAddressCreator, 3, 0)
InterfaceID.
compareOutputFiles.par
par
Definition: compareOutputFiles.py:477
StatusCode
Definition: StatusCode.h:64
IInterface.h
CLID
unsigned int CLID
Class ID definition.
Definition: ClassID.h:16
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.
IInterface
Definition: IInterface.h:225
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:49
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.