ATLAS Offline Software
Public Member Functions | Protected Member Functions | Friends | List of all members
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: More...
 
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 More...
 
virtual PyObjectself ()=0
 return associated python object. More...
 

Protected Member Functions

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

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  ,
,
 
)

◆ self()

virtual PyObject* IPyComponent::self ( )
pure virtual

return associated python object.

BORROWED reference.

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

◆ setPyAttr()

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

attach the C++ component to its python cousin

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

◆ 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.

Friends And Related Function Documentation

◆ 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: