Class CppPyWrapper#

Inheritance Relationships#

Derived Types#

Class Documentation#

class CppPyWrapper#

The base class that provides capability to keep the reference to the Python class instance that is wrapping the c++ subclassing this class.

Subclassed by Aperture, Barrier_Cav, BaseAperture, BaseApertureShape, BaseBoundary2D, BaseRfGap, BaseRfGap_slow, Bunch, BunchTuneAnalysis, BunchTwissAnalysis, Collimator, Dual_Harmonic_Cav, EnergyAperture, FieldTracker, Foil, ForceSolver2D, Frequency_Cav, Grid1D, Grid2D, Grid3D, Harmonic_Cav, LImpedance, LSpaceChargeCalc, MatrixRfGap, OrbitUtils::BaseFieldSource, OrbitUtils::BunchExtremaCalculator, OrbitUtils::Function, OrbitUtils::GaussLegendreIntegrator, OrbitUtils::HarmonicData, OrbitUtils::Matrix, OrbitUtils::PhaseVector, OrbitUtils::Polynomial, OrbitUtils::SplineCH, OrbitUtils::StatMoments2D, PhaseAperture, PoissonSolver2D, PoissonSolver3D, RfGapTTF, RfGapTTF_slow, RfGapThreePointTTF, RfGapThreePointTTF_slow, SpaceChargeCalc2p5D, SpaceChargeCalc2p5Drb, SpaceChargeCalc3D, SpaceChargeCalcSliceBySlice2D, SpaceChargeCalcUnifEllipse, SpaceChargeForceCalc2p5D, SynchPartRedefinitionZdE, TImpedance, TrackerRK4::ExternalEffects, TrackerRK4::RungeKuttaTracker, UniformEllipsoidFieldCalculator

Public Functions

CppPyWrapper(PyObject *py_wrapperIn)#

Constructor of the CppPyWrapper class with reference to Python class instance.

CppPyWrapper()#

Constructor of the CppPyWrapper class with NULL reference to Python class.

~CppPyWrapper()#

Destrictor. It is empty.

void setPyWrapper(PyObject *py_wrapperIn)#

Sets the reference to Python class instance.

PyObject *getPyWrapper()#

Returns the reference to Python class instance.