Inviwo 0.9.12-pre
Inviwo documentation
Loading...
Searching...
No Matches
inviwo::pool::detail::JobTraits< Job > Struct Template Reference

Public Types

using CallTest
 
using ValidArgs
 
using Args = std::tuple_element_t<argIndex, ValidArgs>
 
using Result = decltype(std::apply(std::declval<Job>(), std::declval<Args>()))
 

Static Public Attributes

static constexpr size_t argIndex = util::index_of_derived<std::true_type, CallTest>()
 

Member Typedef Documentation

◆ CallTest

template<typename Job >
using inviwo::pool::detail::JobTraits< Job >::CallTest
Initial value:
std::tuple<std::is_invocable<Job>, std::is_invocable<Job, Stop>,
std::is_invocable<Job, Progress>, std::is_invocable<Job, Stop, Progress>,
std::is_invocable<Job, Progress, Stop>>

◆ ValidArgs

template<typename Job >
using inviwo::pool::detail::JobTraits< Job >::ValidArgs
Initial value:
std::tuple<std::tuple<>, std::tuple<Stop>, std::tuple<Progress>,
std::tuple<Stop, Progress>, std::tuple<Progress, Stop>>

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