Experimental. Do not use in production code. TODO. More...
#include <future.hpp>
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 ×tamp) const |
void | wait () const |
Private Attributes | |
shared_ptr < detail::future_impl< Result > > | m_impl |
Experimental. Do not use in production code. TODO.
TODO Future
Definition at line 43 of file future.hpp.
typedef Result boost::threadpool::future< Result >::future_result_type |
Indicates the future's result type.
Definition at line 50 of file future.hpp.
typedef Result const& boost::threadpool::future< Result >::result_type |
Indicates the functor's result type.
Definition at line 49 of file future.hpp.
boost::threadpool::future< Result >::future | ( | ) | [inline] |
Definition at line 55 of file future.hpp.
boost::threadpool::future< Result >::future | ( | shared_ptr< detail::future_impl< Result > > const & | impl | ) | [inline] |
Definition at line 61 of file future.hpp.
bool boost::threadpool::future< Result >::cancel | ( | ) | [inline] |
Definition at line 91 of file future.hpp.
result_type boost::threadpool::future< Result >::get | ( | ) | [inline] |
Definition at line 86 of file future.hpp.
bool boost::threadpool::future< Result >::is_cancelled | ( | ) | const [inline] |
Definition at line 96 of file future.hpp.
result_type boost::threadpool::future< Result >::operator() | ( | void | ) | [inline] |
Definition at line 81 of file future.hpp.
bool boost::threadpool::future< Result >::ready | ( | ) | const [inline] |
Definition at line 66 of file future.hpp.
bool boost::threadpool::future< Result >::timed_wait | ( | boost::xtime const & | timestamp | ) | const [inline] |
Definition at line 76 of file future.hpp.
void boost::threadpool::future< Result >::wait | ( | ) | const [inline] |
Definition at line 71 of file future.hpp.
shared_ptr<detail::future_impl<Result> > boost::threadpool::future< Result >::m_impl [private] |
Definition at line 46 of file future.hpp.