|
lsst.afw gba399f52f3+9b61cfce8e
|
"Trampoline" for Psf to let it be used as a base class in Python. More...
#include <python.h>
Public Types | |
| using | Image = typename Base::Image |
Public Member Functions | |
| template<typename... Args> | |
| PsfTrampoline (Args... args) | |
| Delegating constructor for wrapped class. | |
| std::shared_ptr< Psf > | clone () const override |
| std::shared_ptr< Psf > | resized (int width, int height) const override |
| lsst::geom::Point2D | getAveragePosition () const override |
| std::shared_ptr< Image > | doComputeImage (lsst::geom::Point2D const &position, image::Color const &color) const override |
| lsst::geom::Box2I | doComputeImageBBox (lsst::geom::Point2D const &position, image::Color const &color) const override |
| std::shared_ptr< Image > | doComputeKernelImage (lsst::geom::Point2D const &position, image::Color const &color) const override |
| double | doComputeApertureFlux (double radius, lsst::geom::Point2D const &position, image::Color const &color) const override |
| geom::ellipses::Quadrupole | doComputeShape (lsst::geom::Point2D const &position, image::Color const &color) const override |
| lsst::geom::Box2I | doComputeBBox (lsst::geom::Point2D const &position, image::Color const &color) const override |
| std::shared_ptr< Storable > | cloneStorable () const override |
| std::string | toString () const override |
| std::size_t | hash_value () const override |
| bool | equals (Storable const &other) const noexcept override |
| bool | isPersistable () const noexcept override |
| std::string | getPersistenceName () const override |
| std::string | getPythonModule () const override |
| void | write (table::io::OutputArchiveHandle &handle) const override |
Related Symbols | |
(Note that these are not member symbols.) | |
| #define | LSST_EXCEPTION_TYPE(t, b, c) |
"Trampoline" for Psf to let it be used as a base class in Python.
Subclasses of Psf that are wrapped in pybind11 should have a similar helper that subclasses PsfTrampoline<subclass>. This helper can be skipped if the subclass neither adds any virtual methods nor implements any abstract methods.
| Base | the exact (most specific) class being wrapped |
| using lsst::afw::detection::PsfTrampoline< Base >::Image = typename Base::Image |
|
inlineexplicit |
Delegating constructor for wrapped class.
While we would like to simply inherit base class constructors, when doing so, we cannot change their access specifiers. One consequence is that it's not possible to use inheritance to expose a protected constructor to python. The alternative, used here, is to create a new public constructor that delegates to the base class public or protected constructor with the same signature.
| Args | Variadic type specification |
| ...args | Arguments to forward to the Base class constructor. |
|
inlineoverride |
|
inlineoverrideinherited |
|
inlineoverride |
|
inlineoverride |
|
inlineoverride |
|
inlineoverride |
|
inlineoverride |
|
inlineoverride |
|
inlineoverridenoexceptinherited |
|
inlineoverride |
|
inlineoverrideinherited |
|
inlineoverrideinherited |
|
inlineoverrideinherited |
|
inlineoverridenoexceptinherited |
|
inlineoverride |
|
inlineoverrideinherited |
|
overrideinherited |