ATLAS Offline Software
Loading...
Searching...
No Matches
IPyComponent Class Referenceabstract

#include <IPyComponent.h>

Inheritance diagram for IPyComponent:
Collaboration diagram for IPyComponent:

Public Member Functions

 DeclareInterfaceID (IPyComponent, 1, 0)
virtual ~IPyComponent ()=default
 Destructor:
virtual const char * typeName () const =0
 return the std::type_info name of the underlying py-component This is used by concrete implementations to connect a python component to its C++ counter-part
virtual PyObjectself ()=0
 return associated python object.

Protected Member Functions

virtual bool setPyAttr (PyObject *pyobj)=0
 attach the C++ component to its python cousin

Friends

class PyAthena::PyComponentMgr

Detailed Description

Definition at line 30 of file IPyComponent.h.

Constructor & Destructor Documentation

◆ ~IPyComponent()

virtual IPyComponent::~IPyComponent ( )
virtualdefault

Destructor:

Member Function Documentation

◆ DeclareInterfaceID()

IPyComponent::DeclareInterfaceID ( IPyComponent ,
1 ,
0  )

◆ self()

virtual PyObject * IPyComponent::self ( )
pure virtual

return associated python object.

BORROWED reference.

Implemented in PyAthena::Alg, and PyAthena::Aud.

◆ setPyAttr()

virtual bool IPyComponent::setPyAttr ( PyObject * pyobj)
protectedpure virtual

attach the C++ component to its python cousin

Implemented in PyAthena::Alg, and PyAthena::Aud.

◆ typeName()

virtual const char * IPyComponent::typeName ( ) const
pure virtual

return the std::type_info name of the underlying py-component This is used by concrete implementations to connect a python component to its C++ counter-part

Implemented in PyAthena::Alg, and PyAthena::Aud.

◆ PyAthena::PyComponentMgr

friend class PyAthena::PyComponentMgr
friend

Definition at line 32 of file IPyComponent.h.


The documentation for this class was generated from the following file: