The Gaudi Framework  v33r1 (b1225454)
IAddressCreator.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2019 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 #ifndef GAUDIKERNEL_IADDRESSCREATOR_H
12 #define GAUDIKERNEL_IADDRESSCREATOR_H
13 
14 // Framework include files
15 #include "GaudiKernel/ClassID.h"
16 #include "GaudiKernel/IInterface.h"
17 
18 // C++ include files
19 #include <string>
20 
21 // Forward declarations
22 class IOpaqueAddress;
23 
38 class GAUDI_API IAddressCreator : virtual public IInterface {
39 public:
42 
57  virtual StatusCode createAddress( long svc_type, const CLID& clid, const std::string* par, const unsigned long* ipar,
58  IOpaqueAddress*& refpAddress ) = 0;
59 
65  virtual StatusCode convertAddress( const IOpaqueAddress* pAddress, std::string& refAddress ) = 0;
66 
76  virtual StatusCode createAddress( long svc_type, const CLID& clid, const std::string& refAddress,
77  IOpaqueAddress*& refpAddress ) = 0;
78 };
79 
80 #endif // GAUDIKERNEL_IADDRESSCREATOR_H
IAddressCreator interface definition.
STL class.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:61
Definition of the basic interface.
Definition: IInterface.h:254
unsigned int CLID
Class ID definition.
Definition: ClassID.h:18
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition: IInterface.h:23
Opaque address interface definition.
#define GAUDI_API
Definition: Kernel.h:81