Apache Mesos
|
#include <future.hpp>
Public Member Functions | |
Promise () | |
Promise (const T &t) | |
virtual | ~Promise () |
Promise (Promise< T > &&that) | |
bool | discard () |
bool | set (const T &_t) |
bool | set (T &&_t) |
bool | set (const Future< T > &future) |
bool | associate (const Future< T > &future) |
bool | fail (const std::string &message) |
Future< T > | future () const |
Friends | |
template<typename U > | |
class | Future |
template<typename U > | |
void | internal::discarded (Future< U > future) |
process::Promise< T >::Promise | ( | ) |
|
explicit |
|
virtual |
process::Promise< T >::Promise | ( | Promise< T > && | that | ) |
bool process::Promise< T >::associate | ( | const Future< T > & | future | ) |
bool process::Promise< T >::discard | ( | ) |
bool process::Promise< T >::fail | ( | const std::string & | message | ) |
Future< T > process::Promise< T >::future | ( | ) | const |
bool process::Promise< T >::set | ( | const T & | _t | ) |
bool process::Promise< T >::set | ( | T && | _t | ) |
bool process::Promise< T >::set | ( | const Future< T > & | future | ) |