lsst.afw  22.0.1-29-g184b6e44e+8b185d4e2d
Public Member Functions | List of all members
lsst::afw::image::pixelOp2< LhsT, RhsT > Struct Template Referenceabstract

A functor class equivalent to std::function<LhsT (LhsT, RhsT)>, but with a virtual operator() More...

#include <ImageAlgorithm.h>

Inheritance diagram for lsst::afw::image::pixelOp2< LhsT, RhsT >:
std::function< LhsT(LhsT, RhsT)>

Public Member Functions

virtual ~pixelOp2 ()
 
virtual LhsT operator() (LhsT lhs, RhsT rhs) const =0
 
swap (T... args)
 
assign (T... args)
 
target (T... args)
 
operator() (T... args)
 
target_type (T... args)
 
operator bool (T... args)
 

Detailed Description

template<typename LhsT, typename RhsT>
struct lsst::afw::image::pixelOp2< LhsT, RhsT >

A functor class equivalent to std::function<LhsT (LhsT, RhsT)>, but with a virtual operator()

Examples
forEachPixel.cc.

Definition at line 79 of file ImageAlgorithm.h.

Constructor & Destructor Documentation

◆ ~pixelOp2()

template<typename LhsT , typename RhsT >
virtual lsst::afw::image::pixelOp2< LhsT, RhsT >::~pixelOp2 ( )
inlinevirtual

Definition at line 80 of file ImageAlgorithm.h.

Member Function Documentation

◆ operator()()

template<typename LhsT , typename RhsT >
virtual LhsT lsst::afw::image::pixelOp2< LhsT, RhsT >::operator() ( LhsT  lhs,
RhsT  rhs 
) const
pure virtual
Examples
forEachPixel.cc.

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