|
Apache Mesos
|
#include <future.hpp>
Public Member Functions | |
| Promise () | |
| virtual | ~Promise () |
| Promise (const T &t) | |
| Promise (Promise &&that)=default | |
| Promise & | operator= (Promise &&)=default |
| Promise (const Promise &that)=delete | |
| Promise & | operator= (const Promise &)=delete |
| 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 | ( | ) |
|
virtual |
|
explicit |
|
default |
|
delete |
| 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 |
|
default |
|
delete |
| bool process::Promise< T >::set | ( | const T & | _t | ) |
| bool process::Promise< T >::set | ( | T && | _t | ) |
| bool process::Promise< T >::set | ( | const Future< T > & | future | ) |
1.8.11