libkazv
Kazv::AsioPromiseHandler< Exec > Class Template Reference

#include <asio-promise-handler.hpp>

Inheritance diagram for Kazv::AsioPromiseHandler< Exec >:
Collaboration diagram for Kazv::AsioPromiseHandler< Exec >:

Public Types

template<class T >
using PromiseT = AsioPromise< Exec, T >
 

Public Member Functions

 AsioPromiseHandler (Exec executor)
 
 AsioPromiseHandler (const AsioPromiseHandler &that)
 
 AsioPromiseHandler (AsioPromiseHandler &&that)
 
AsioPromiseHandleroperator= (const AsioPromiseHandler &that)
 
AsioPromiseHandleroperator= (AsioPromiseHandler &&that)
 
template<class T , class FuncT >
PromiseT< T > create (FuncT &&func)
 
template<class T >
PromiseT< T > createResolved (T val)
 
- Public Member Functions inherited from Kazv::PromiseInterface< AsioPromiseHandler< Exec >, detail::AsioPromiseHelper< Exec >::template PromiseType >
 PromiseInterface (AsioPromiseHandler< Exec > *obj)
 
auto create (FuncT &&func) -> detail::AsioPromiseHelper< Exec >::template PromiseType< T >
 
auto createResolved (T &&val) -> detail::AsioPromiseHelper< Exec >::template PromiseType< T >
 

Member Typedef Documentation

◆ PromiseT

template<class Exec >
template<class T >
using Kazv::AsioPromiseHandler< Exec >::PromiseT = AsioPromise<Exec, T>

Constructor & Destructor Documentation

◆ AsioPromiseHandler() [1/3]

template<class Exec >
Kazv::AsioPromiseHandler< Exec >::AsioPromiseHandler ( Exec  executor)
inline

◆ AsioPromiseHandler() [2/3]

template<class Exec >
Kazv::AsioPromiseHandler< Exec >::AsioPromiseHandler ( const AsioPromiseHandler< Exec > &  that)
inline

◆ AsioPromiseHandler() [3/3]

template<class Exec >
Kazv::AsioPromiseHandler< Exec >::AsioPromiseHandler ( AsioPromiseHandler< Exec > &&  that)
inline

Member Function Documentation

◆ create()

template<class Exec >
template<class T , class FuncT >
PromiseT<T> Kazv::AsioPromiseHandler< Exec >::create ( FuncT &&  func)
inline

◆ createResolved()

template<class Exec >
template<class T >
PromiseT<T> Kazv::AsioPromiseHandler< Exec >::createResolved ( val)
inline

◆ operator=() [1/2]

template<class Exec >
AsioPromiseHandler& Kazv::AsioPromiseHandler< Exec >::operator= ( AsioPromiseHandler< Exec > &&  that)
inline

◆ operator=() [2/2]

template<class Exec >
AsioPromiseHandler& Kazv::AsioPromiseHandler< Exec >::operator= ( const AsioPromiseHandler< Exec > &  that)
inline

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