Base class for Future types.
More...
#include <Future.h>
Base class for Future types.
StateBase& honey::FutureBase::__stateBase |
( |
| ) |
const |
|
inline |
bool honey::FutureBase::ready |
( |
| ) |
const |
|
inline |
Check if result is ready.
- Exceptions
-
virtual StateBase* honey::FutureBase::stateBase |
( |
| ) |
const |
|
protectedpure virtual |
bool honey::FutureBase::valid |
( |
| ) |
const |
|
inline |
Check if this instance has state and can be used. State can be transferred out to another instance through move-assignment.
void honey::FutureBase::wait |
( |
| ) |
const |
|
inline |
Wait until result is ready.
- Exceptions
-
template<class Rep , class Period >
Wait until result is ready or until an amount of time has passed.
- Exceptions
-
template<class Clock , class Dur >
Wait until result is ready or until a certain time.
- Exceptions
-
The documentation for this class was generated from the following file: