libqi-api  2.4.3.28
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
qi::detail::DelayedPromise< T > Class Template Reference

#include <executioncontext.hpp>

Public Member Functions

 DelayedPromise ()
 
void setup (boost::function< void(qi::Promise< T >)> cancelCallback, FutureCallbackType async=FutureCallbackType_Async)
 
- Public Member Functions inherited from qi::Promise< T >
 Promise (FutureCallbackType async=FutureCallbackType_Async)
 
 Promise (boost::function< void(qi::Promise< T >)> cancelCallback, FutureCallbackType async=FutureCallbackType_Async)
 
 Promise (const qi::Promise< T > &rhs)
 
 ~Promise ()
 
void setValue (const ValueType &value)
 
void setError (const std::string &msg)
 
void setCanceled ()
 
bool isCancelRequested () const
 
Future< T > future () const
 Get a future linked to this promise. Can be called multiple times. More...
 
ValueType & value ()
 
void trigger ()
 
void setOnCancel (boost::function< void(qi::Promise< T >)> cancelCallback)
 
Promise< T > & operator= (const Promise< T > &rhs)
 

Additional Inherited Members

- Public Types inherited from qi::Promise< T >
typedef detail::FutureType< T >
::type 
ValueType
 
- Protected Member Functions inherited from qi::Promise< T >
void setup (boost::function< void(qi::Promise< T >)> cancelCallback, FutureCallbackType async=FutureCallbackType_Async)
 
 Promise (Future< T > &f)
 
- Protected Attributes inherited from qi::Promise< T >
Future< T > _f
 

Detailed Description

template<typename T>
class qi::detail::DelayedPromise< T >

Definition at line 60 of file executioncontext.hpp.

Constructor & Destructor Documentation

template<typename T>
qi::detail::DelayedPromise< T >::DelayedPromise ( )
inline

Definition at line 63 of file executioncontext.hpp.

Member Function Documentation

template<typename T>
void qi::detail::DelayedPromise< T >::setup ( boost::function< void(qi::Promise< T >)>  cancelCallback,
FutureCallbackType  async = FutureCallbackType_Async 
)
inline

Definition at line 64 of file executioncontext.hpp.


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