Realistic 3D camera system
3D camera system components
Public Member Functions | Public Attributes | List of all members
asio::detail::promise_handler< T > Class Template Reference

#include <use_future.hpp>

Public Member Functions

template<typename Allocator >
 promise_handler (use_future_t< Allocator > uf)
 
void operator() (T t)
 
void operator() (const asio::error_code &ec, T t)
 

Public Attributes

std::shared_ptr< std::promise< T > > promise_
 

Detailed Description

template<typename T>
class asio::detail::promise_handler< T >

Definition at line 32 of file use_future.hpp.

Constructor & Destructor Documentation

template<typename T>
template<typename Allocator >
asio::detail::promise_handler< T >::promise_handler ( use_future_t< Allocator >  uf)
inline

Definition at line 37 of file use_future.hpp.

Member Function Documentation

template<typename T>
void asio::detail::promise_handler< T >::operator() ( t)
inline

Definition at line 43 of file use_future.hpp.

template<typename T>
void asio::detail::promise_handler< T >::operator() ( const asio::error_code ec,
t 
)
inline

Definition at line 48 of file use_future.hpp.

Member Data Documentation

template<typename T>
std::shared_ptr<std::promise<T> > asio::detail::promise_handler< T >::promise_

Definition at line 59 of file use_future.hpp.


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