ATLAS Offline Software
IPyComponentMgr.h
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // IPyComponentMgr.h
8 // Header file for class IPyComponentMgr
9 // Author: S.Binet<binet@cern.ch>
11 #ifndef ATHENAPYTHON_IPYCOMPONENTMGR_H
12 #define ATHENAPYTHON_IPYCOMPONENTMGR_H
13 
17 // STL includes
18 #include <string>
19 
20 // FrameWork includes
21 #include "GaudiKernel/IService.h"
22 
23 // AthenaPython includes
24 
25 // forward declaration
26 struct _object;
27 typedef _object PyObject;
28 class IPyComponent;
29 
30 class IPyComponentMgr : virtual public IService
31 {
32  public:
34 
37  virtual ~IPyComponentMgr() = default;
38 
39 
44  virtual PyObject* pyObject( IPyComponent* comp ) = 0;
45 };
46 
47 
48 #endif //> ATHENAPYTHON_IPYCOMPONENTMGR_H
plotting.yearwise_luminosity_vs_mu.comp
comp
Definition: yearwise_luminosity_vs_mu.py:24
IPyComponentMgr::pyObject
virtual PyObject * pyObject(IPyComponent *comp)=0
Retrieve a python object from the python world this returns a NEW reference to that python object.
PyObject
_object PyObject
Definition: IPyComponentMgr.h:26
IPyComponentMgr::DeclareInterfaceID
DeclareInterfaceID(IPyComponentMgr, 1, 0)
IPyComponent
Definition: IPyComponent.h:31
IPyComponentMgr::~IPyComponentMgr
virtual ~IPyComponentMgr()=default
Destructor:
IPyComponentMgr
Definition: IPyComponentMgr.h:31
PyObject
_object PyObject
Definition: IPyComponent.h:26