Zth (libzth)
Loading...
Searching...
No Matches
zth::fiber_type< F > Struct Template Reference

#include <async.h>

Public Types

typedef TypedFiberFactory< typename function_type_helper< F >::type > factory
 
typedef factory::Function function
 
typedef factory::Future future
 
typedef fiber_type< functionfiber
 
typedef factory::TypedFiber_type TypedFiber_type
 

Public Member Functions

 fiber_type (TypedFiber_type &f) noexcept
 
TypedFiber_type::Return operator* ()
 
TypedFiber_type::Return operator-> ()
 
 operator TypedFiber_type & () const noexcept
 
 operator Fiber & () const noexcept
 
 operator future () const noexcept
 
template<typename Manipulator >
fiberoperator<< (Manipulator const &m) &
 
template<typename Manipulator >
fiber const & operator<< (Manipulator const &m) const
 
template<typename Manipulator >
fiber && operator<< (Manipulator const &m) &&
 
future operator<< (asFuture const &)
 

Public Attributes

SharedPointer< TypedFiber_type_fiber
 

Detailed Description

template<typename F>
struct zth::fiber_type< F >

Definition at line 1034 of file async.h.

Member Typedef Documentation

◆ factory

template<typename F >
typedef TypedFiberFactory<typename function_type_helper<F>::type> zth::fiber_type< F >::factory

Definition at line 1035 of file async.h.

◆ fiber

template<typename F >
typedef fiber_type<function> zth::fiber_type< F >::fiber

Definition at line 1038 of file async.h.

◆ function

template<typename F >
typedef factory::Function zth::fiber_type< F >::function

Definition at line 1036 of file async.h.

◆ future

template<typename F >
typedef factory::Future zth::fiber_type< F >::future

Definition at line 1037 of file async.h.

◆ TypedFiber_type

template<typename F >
typedef factory::TypedFiber_type zth::fiber_type< F >::TypedFiber_type

Definition at line 1040 of file async.h.

Constructor & Destructor Documentation

◆ fiber_type()

template<typename F >
zth::fiber_type< F >::fiber_type ( TypedFiber_type f)
inlinenoexcept

Definition at line 1044 of file async.h.

Member Function Documentation

◆ operator Fiber &()

template<typename F >
zth::fiber_type< F >::operator Fiber & ( ) const
inlinenoexcept

Definition at line 1067 of file async.h.

◆ operator future()

template<typename F >
zth::fiber_type< F >::operator future ( ) const
inlinenoexcept

Definition at line 1072 of file async.h.

◆ operator TypedFiber_type &()

template<typename F >
zth::fiber_type< F >::operator TypedFiber_type & ( ) const
inlinenoexcept

Definition at line 1062 of file async.h.

◆ operator*()

template<typename F >
TypedFiber_type::Return zth::fiber_type< F >::operator* ( )
inline

Definition at line 1048 of file async.h.

◆ operator->()

template<typename F >
TypedFiber_type::Return zth::fiber_type< F >::operator-> ( )
inline

Definition at line 1055 of file async.h.

◆ operator<<() [1/4]

template<typename F >
future zth::fiber_type< F >::operator<< ( asFuture const &  )
inline

Definition at line 1100 of file async.h.

◆ operator<<() [2/4]

template<typename F >
template<typename Manipulator >
fiber & zth::fiber_type< F >::operator<< ( Manipulator const &  m) &
inline

Definition at line 1078 of file async.h.

◆ operator<<() [3/4]

template<typename F >
template<typename Manipulator >
fiber && zth::fiber_type< F >::operator<< ( Manipulator const &  m) &&
inline

Definition at line 1093 of file async.h.

◆ operator<<() [4/4]

template<typename F >
template<typename Manipulator >
fiber const & zth::fiber_type< F >::operator<< ( Manipulator const &  m) const
inline

Definition at line 1085 of file async.h.

Member Data Documentation

◆ _fiber

template<typename F >
SharedPointer<TypedFiber_type> zth::fiber_type< F >::_fiber

Definition at line 1041 of file async.h.


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