#include <future.hpp>
Inherited by simgrid::kernel::FutureState< T >, simgrid::kernel::FutureState< T & >, and simgrid::kernel::FutureState< void >.
◆ FutureStateBase() [1/2]
simgrid::kernel::FutureStateBase::FutureStateBase |
( |
FutureStateBase const & |
| ) |
|
|
delete |
◆ FutureStateBase() [2/2]
simgrid::kernel::FutureStateBase::FutureStateBase |
( |
| ) |
|
|
protecteddefault |
◆ ~FutureStateBase()
simgrid::kernel::FutureStateBase::~FutureStateBase |
( |
| ) |
|
|
protecteddefault |
◆ operator=()
◆ schedule()
◆ set_exception()
void simgrid::kernel::FutureStateBase::set_exception |
( |
std::exception_ptr |
exception | ) |
|
|
inline |
◆ set_continuation()
void simgrid::kernel::FutureStateBase::set_continuation |
( |
simgrid::xbt::Task< void()> && |
continuation | ) |
|
|
inline |
◆ get_status()
FutureStatus simgrid::kernel::FutureStateBase::get_status |
( |
| ) |
const |
|
inline |
◆ is_ready()
bool simgrid::kernel::FutureStateBase::is_ready |
( |
| ) |
const |
|
inline |
◆ set_ready()
void simgrid::kernel::FutureStateBase::set_ready |
( |
| ) |
|
|
inlineprotected |
Set the future as ready and trigger the continuation.
◆ resolve()
void simgrid::kernel::FutureStateBase::resolve |
( |
| ) |
|
|
inlineprotected |
Set the future as done and raise an exception if any.
This does half the job of .get()
.
The documentation for this class was generated from the following file: