VisionCpp  0.0.1
Public Types | Public Attributes | Static Public Attributes | List of all members
visioncpp::internal::GlobalUnaryOp< USROP, InTp > Struct Template Reference

This class is used to encapsulate the global unary functor and the types of each operand in this functor. More...

#include <expr_tree.hpp>

Collaboration diagram for visioncpp::internal::GlobalUnaryOp< USROP, InTp >:

Public Types

using OP = USROP
 
using InType = InTp
 
using OutType = decltype(OP()(x))
 

Public Attributes

visioncpp::internal::GlobalNeighbour< InTp > x
 

Static Public Attributes

static constexpr size_t Operation_type
 

Detailed Description

template<typename USROP, typename InTp>
struct visioncpp::internal::GlobalUnaryOp< USROP, InTp >

This class is used to encapsulate the global unary functor and the types of each operand in this functor.

The functor passed to this struct applies global neighbour. This struct is used for global neighbour operation template parameters:

Template Parameters
USROP: the user/built-in functor
InTpthe input type for that unary functor

Definition at line 37 of file expr_tree.hpp.

Member Typedef Documentation

◆ InType

template<typename USROP , typename InTp >
using visioncpp::internal::GlobalUnaryOp< USROP, InTp >::InType = InTp

Definition at line 39 of file expr_tree.hpp.

◆ OP

template<typename USROP , typename InTp >
using visioncpp::internal::GlobalUnaryOp< USROP, InTp >::OP = USROP

Definition at line 38 of file expr_tree.hpp.

◆ OutType

template<typename USROP , typename InTp >
using visioncpp::internal::GlobalUnaryOp< USROP, InTp >::OutType = decltype(OP()(x))

Definition at line 41 of file expr_tree.hpp.

Member Data Documentation

◆ Operation_type

template<typename USROP , typename InTp >
constexpr size_t visioncpp::internal::GlobalUnaryOp< USROP, InTp >::Operation_type
staticconstexpr
Initial value:

Definition at line 42 of file expr_tree.hpp.

◆ x

template<typename USROP , typename InTp >
visioncpp::internal::GlobalNeighbour<InTp> visioncpp::internal::GlobalUnaryOp< USROP, InTp >::x

Definition at line 40 of file expr_tree.hpp.


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