Public Types | Public Member Functions | Private Attributes | List of all members
boost::threadpool::detail::future_impl< Result > Class Template Reference

#include <future.hpp>

Public Types

typedef Result future_result_type
 Indicates the future's result type. More...
 
typedef future_impl< future_result_typefuture_type
 
typedef Result const & result_type
 Indicates the functor's result type. More...
 

Public Member Functions

bool cancel () volatile
 
 future_impl ()
 
bool is_cancelled () const volatile
 
result_type operator() () const volatile
 
bool ready () const volatile
 
void set_execution_status (bool executing) volatile
 
void set_value (future_result_type const &r) volatile
 
bool timed_wait (boost::xtime const &timestamp) const
 
void wait () const volatile
 

Private Attributes

condition m_condition_ready
 
volatile bool m_executing
 
volatile bool m_is_cancelled
 
mutex m_monitor
 
volatile bool m_ready
 
volatile future_result_type m_result
 

Detailed Description

template<class Result>
class boost::threadpool::detail::future_impl< Result >

Definition at line 36 of file detail/future.hpp.

Member Typedef Documentation

template<class Result >
typedef Result boost::threadpool::detail::future_impl< Result >::future_result_type

Indicates the future's result type.

Definition at line 41 of file detail/future.hpp.

Definition at line 42 of file detail/future.hpp.

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

Indicates the functor's result type.

Definition at line 39 of file detail/future.hpp.

Constructor & Destructor Documentation

template<class Result >
boost::threadpool::detail::future_impl< Result >::future_impl ( )
inline

Definition at line 59 of file detail/future.hpp.

Member Function Documentation

template<class Result >
bool boost::threadpool::detail::future_impl< Result >::cancel ( ) volatile
inline

Definition at line 133 of file detail/future.hpp.

template<class Result >
bool boost::threadpool::detail::future_impl< Result >::is_cancelled ( ) const volatile
inline

Definition at line 147 of file detail/future.hpp.

template<class Result >
result_type boost::threadpool::detail::future_impl< Result >::operator() ( void  ) const volatile
inline

Definition at line 96 of file detail/future.hpp.

template<class Result >
bool boost::threadpool::detail::future_impl< Result >::ready ( ) const volatile
inline

Definition at line 65 of file detail/future.hpp.

template<class Result >
void boost::threadpool::detail::future_impl< Result >::set_execution_status ( bool  executing) volatile
inline

Definition at line 153 of file detail/future.hpp.

template<class Result >
void boost::threadpool::detail::future_impl< Result >::set_value ( future_result_type const &  r) volatile
inline

Definition at line 110 of file detail/future.hpp.

template<class Result >
bool boost::threadpool::detail::future_impl< Result >::timed_wait ( boost::xtime const &  timestamp) const
inline

Definition at line 82 of file detail/future.hpp.

template<class Result >
void boost::threadpool::detail::future_impl< Result >::wait ( ) const volatile
inline

Definition at line 70 of file detail/future.hpp.

Member Data Documentation

template<class Result >
condition boost::threadpool::detail::future_impl< Result >::m_condition_ready
mutableprivate

Definition at line 49 of file detail/future.hpp.

template<class Result >
volatile bool boost::threadpool::detail::future_impl< Result >::m_executing
private

Definition at line 52 of file detail/future.hpp.

template<class Result >
volatile bool boost::threadpool::detail::future_impl< Result >::m_is_cancelled
private

Definition at line 51 of file detail/future.hpp.

template<class Result >
mutex boost::threadpool::detail::future_impl< Result >::m_monitor
mutableprivate

Definition at line 48 of file detail/future.hpp.

template<class Result >
volatile bool boost::threadpool::detail::future_impl< Result >::m_ready
private

Definition at line 45 of file detail/future.hpp.

template<class Result >
volatile future_result_type boost::threadpool::detail::future_impl< Result >::m_result
private

Definition at line 46 of file detail/future.hpp.


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


asr_descriptor_surface_based_recognition
Author(s): Allgeyer Tobias, Hutmacher Robin, Mei├čner Pascal
autogenerated on Mon Dec 16 2019 03:31:16