Public Types | Public Member Functions | Private Attributes
boost::threadpool::future< Result > Class Template Reference

Experimental. Do not use in production code. TODO. More...

#include <future.hpp>

List of all members.

Public Types

typedef Result future_result_type
 Indicates the future's result type.
typedef Result const & result_type
 Indicates the functor's result type.

Public Member Functions

bool cancel ()
 future ()
 future (shared_ptr< detail::future_impl< Result > > const &impl)
result_type get ()
bool is_cancelled () const
result_type operator() ()
bool ready () const
bool timed_wait (boost::xtime const &timestamp) const
void wait () const

Private Attributes

shared_ptr
< detail::future_impl< Result > > 
m_impl

Detailed Description

template<class Result>
class boost::threadpool::future< Result >

Experimental. Do not use in production code. TODO.

TODO Future

See also:
TODO

Definition at line 43 of file future.hpp.


Member Typedef Documentation

template<class Result>
typedef Result boost::threadpool::future< Result >::future_result_type

Indicates the future's result type.

Definition at line 50 of file future.hpp.

template<class Result>
typedef Result const& boost::threadpool::future< Result >::result_type

Indicates the functor's result type.

Definition at line 49 of file future.hpp.


Constructor & Destructor Documentation

template<class Result>
boost::threadpool::future< Result >::future ( ) [inline]

Definition at line 55 of file future.hpp.

template<class Result>
boost::threadpool::future< Result >::future ( shared_ptr< detail::future_impl< Result > > const &  impl) [inline]

Definition at line 61 of file future.hpp.


Member Function Documentation

template<class Result>
bool boost::threadpool::future< Result >::cancel ( ) [inline]

Definition at line 91 of file future.hpp.

template<class Result>
result_type boost::threadpool::future< Result >::get ( ) [inline]

Definition at line 86 of file future.hpp.

template<class Result>
bool boost::threadpool::future< Result >::is_cancelled ( ) const [inline]

Definition at line 96 of file future.hpp.

template<class Result>
result_type boost::threadpool::future< Result >::operator() ( void  ) [inline]

Definition at line 81 of file future.hpp.

template<class Result>
bool boost::threadpool::future< Result >::ready ( ) const [inline]

Definition at line 66 of file future.hpp.

template<class Result>
bool boost::threadpool::future< Result >::timed_wait ( boost::xtime const &  timestamp) const [inline]

Definition at line 76 of file future.hpp.

template<class Result>
void boost::threadpool::future< Result >::wait ( ) const [inline]

Definition at line 71 of file future.hpp.


Member Data Documentation

template<class Result>
shared_ptr<detail::future_impl<Result> > boost::threadpool::future< Result >::m_impl [private]

Definition at line 46 of file future.hpp.


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


or_libs
Author(s): Viktor Seib
autogenerated on Tue Jan 7 2014 11:24:03