OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions
unary_dispatch_op< FNC > Struct Template Reference

#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: