ATLAS Offline Software
Loading...
Searching...
No Matches
IPyComponentMgr.h
Go to the documentation of this file.
1
2
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
16
17// STL includes
18#include <string>
19
20// FrameWork includes
21#include "GaudiKernel/IService.h"
22
23// AthenaPython includes
24
25// forward declaration
26struct _object;
27typedef _object PyObject;
28class IPyComponent;
29
30class 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
_object PyObject
virtual ~IPyComponentMgr()=default
Destructor:
virtual PyObject * pyObject(IPyComponent *comp)=0
Retrieve a python object from the python world this returns a NEW reference to that python object.
DeclareInterfaceID(IPyComponentMgr, 1, 0)