Realistic 3D camera system
3D camera system components
Public Types | Public Member Functions | List of all members
asio::async_result< Handler > Class Template Reference

An interface for customising the behaviour of an initiating function. More...

#include <async_result.hpp>

Public Types

typedef void type
 The return type of the initiating function. More...
 

Public Member Functions

 async_result (Handler &)
 Construct an async result from a given handler. More...
 
type get ()
 Obtain the value to be returned from the initiating function. More...
 

Detailed Description

template<typename Handler>
class asio::async_result< Handler >

An interface for customising the behaviour of an initiating function.

This template may be specialised for user-defined handler types.

Definition at line 30 of file async_result.hpp.

Member Typedef Documentation

template<typename Handler>
typedef void asio::async_result< Handler >::type

The return type of the initiating function.

Definition at line 34 of file async_result.hpp.

Constructor & Destructor Documentation

template<typename Handler>
asio::async_result< Handler >::async_result ( Handler &  )
inlineexplicit

Construct an async result from a given handler.

When using a specalised async_result, the constructor has an opportunity to initialise some state associated with the handler, which is then returned from the initiating function.

Definition at line 42 of file async_result.hpp.

Member Function Documentation

template<typename Handler>
type asio::async_result< Handler >::get ( )
inline

Obtain the value to be returned from the initiating function.

Definition at line 47 of file async_result.hpp.


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