aimstil
5.0.5
|
Functor wrapper for dynamic type images. More...
#include <til/DynImage.h>
Public Member Functions | |
Dyn (const Functor &functor) | |
template<template< typename > class TImage> | |
TReturn | operator() (DynImage< TImage > *dynim) |
Functor wrapper for dynamic type images.
This functor helps reusing functors that were written for static-type images with dynamic type images. Whenever Functor was used before, simply use Dyn<Functor>. If you expect a return value, use Dyn<Functor, TReturn>. The constraint on the Functor class here is that a call to its operator() is enough to call all parts of the functor that need to process the image (e.g. there is not Functor::init(im)). If not, you will have to create your own functor wrapper.
Definition at line 131 of file DynImage.h.
|
inline |
Definition at line 135 of file DynImage.h.
|
inline |
Definition at line 140 of file DynImage.h.
References TIL_DYNIM_BLOCKS.