unary_dispatch_op< FNC > Struct Template Reference

Out-of-place unary dispatch. More...

#include <dispatch.hh>

Public Member Functions

ImageStateBasePtr operator() (const ImageStateBase *isb)
template<typename T , class D >
ImageStateBasePtr call (const ImageStateImpl< T, D > *isi)

Detailed Description

template<template< typename T, class D > class FNC>
struct ost::img::image_state::dispatch::unary_dispatch_op< FNC >

Out-of-place unary dispatch.

The template parameter must be a class with the following specifications:

template <typename T, class D> struct FNC { ImageStateBasePtr operator()(const ImageStateImpl<T,D>* isi); };

This allows partial specialization to be used

Definition at line 107 of file dispatch.hh.


Member Function Documentation

ImageStateBasePtr call ( const ImageStateImpl< T, D > *  isi  )  [inline]

Definition at line 126 of file dispatch.hh.

ImageStateBasePtr operator() ( const ImageStateBase isb  )  [inline]

Definition at line 112 of file dispatch.hh.


The documentation for this struct was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 10 Nov 2016 for OpenStructure by  doxygen 1.6.1