The Gaudi Framework  master (37c0b60a)
PropertyProxy.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2024 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 GAUDIEXAMPLE_PropertyProxy_H
12 #define GAUDIEXAMPLE_PropertyProxy_H
13 
14 // Include files
15 #include <Gaudi/Property.h>
16 #include <GaudiKernel/Algorithm.h>
17 #include <GaudiKernel/MsgStream.h>
18 
24 class PropertyProxy : public Algorithm {
25 public:
27  PropertyProxy( const std::string& name, ISvcLocator* pSvcLocator );
28 
30  StatusCode initialize() override;
31  StatusCode execute() override;
32  StatusCode finalize() override;
33 
34 private:
35  IProperty* m_remAlg{ nullptr };
36 };
37 
38 #endif // GAUDIEXAMPLE_PropertyProxy_H
std::string
STL class.
Gaudi::Algorithm::name
const std::string & name() const override
The identifying name of the algorithm object.
Definition: Algorithm.cpp:526
ISvcLocator
Definition: ISvcLocator.h:46
Algorithm
Alias for backward compatibility.
Definition: Algorithm.h:58
PropertyProxy::m_remAlg
IProperty * m_remAlg
Definition: PropertyProxy.h:35
Algorithm.h
IProperty
Definition: IProperty.h:33
StatusCode
Definition: StatusCode.h:65
PropertyProxy::PropertyProxy
PropertyProxy(const std::string &name, ISvcLocator *pSvcLocator)
Constructor of this form must be provided.
Definition: PropertyProxy.cpp:24
PropertyProxy::finalize
StatusCode finalize() override
Definition: PropertyProxy.cpp:75
PropertyProxy::initialize
StatusCode initialize() override
Three mandatory member functions of any algorithm.
Definition: PropertyProxy.cpp:39
PropertyProxy::execute
StatusCode execute() override
Definition: PropertyProxy.cpp:67
PropertyProxy
Definition: PropertyProxy.h:24
Property.h
MsgStream.h