Zth (libzth)
zth::TypedFiberFactory< F > Class Template Reference

#include <async.h>

Public Types

typedef F Function
 
typedef TypedFiberType< Function >::returnType Return
 
typedef TypedFiberType< Function >::fiberType TypedFiber_type
 
typedef TypedFiberType< Function >::a1Type A1
 
typedef TypedFiberType< Function >::a2Type A2
 
typedef TypedFiberType< Function >::a3Type A3
 
typedef AutoFuture< ReturnAutoFuture_type
 

Public Member Functions

constexpr TypedFiberFactory (Function function, char const *name) noexcept
 
template<typename... Args>
TypedFiber_typeoperator() (Args &&... args) const
 

Protected Member Functions

TypedFiber_typepolish (TypedFiber_type &fiber) const
 

Detailed Description

template<typename F>
class zth::TypedFiberFactory< F >

Definition at line 615 of file async.h.

Member Typedef Documentation

◆ A1

template<typename F >
typedef TypedFiberType<Function>::a1Type zth::TypedFiberFactory< F >::A1

Definition at line 620 of file async.h.

◆ A2

template<typename F >
typedef TypedFiberType<Function>::a2Type zth::TypedFiberFactory< F >::A2

Definition at line 621 of file async.h.

◆ A3

template<typename F >
typedef TypedFiberType<Function>::a3Type zth::TypedFiberFactory< F >::A3

Definition at line 622 of file async.h.

◆ AutoFuture_type

template<typename F >
typedef AutoFuture<Return> zth::TypedFiberFactory< F >::AutoFuture_type

Definition at line 623 of file async.h.

◆ Function

template<typename F >
typedef F zth::TypedFiberFactory< F >::Function

Definition at line 617 of file async.h.

◆ Return

template<typename F >
typedef TypedFiberType<Function>::returnType zth::TypedFiberFactory< F >::Return

Definition at line 618 of file async.h.

◆ TypedFiber_type

template<typename F >
typedef TypedFiberType<Function>::fiberType zth::TypedFiberFactory< F >::TypedFiber_type

Definition at line 619 of file async.h.

Constructor & Destructor Documentation

◆ TypedFiberFactory()

template<typename F >
constexpr zth::TypedFiberFactory< F >::TypedFiberFactory ( Function  function,
char const *  name 
)
inlineconstexprnoexcept

Definition at line 625 of file async.h.

Member Function Documentation

◆ operator()()

template<typename F >
template<typename... Args>
TypedFiber_type& zth::TypedFiberFactory< F >::operator() ( Args &&...  args) const
inline

Definition at line 654 of file async.h.

◆ polish()

template<typename F >
TypedFiber_type& zth::TypedFiberFactory< F >::polish ( TypedFiber_type fiber) const
inlineprotected

Definition at line 661 of file async.h.


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