hpx/lcos_local/conditional_trigger.hpp#

See Public API for a list of names and headers that are part of the public HPX API.

namespace hpx
namespace lcos
namespace local
struct conditional_trigger#

Public Functions

conditional_trigger() = default#
conditional_trigger(conditional_trigger &&rhs) noexcept = default#
conditional_trigger &operator=(conditional_trigger &&rhs) noexcept = default#
template<typename Condition>
inline hpx::future<void> get_future(Condition &&func, error_code &ec = hpx::throws)#

get a future allowing to wait for the trigger to fire

inline void reset()#
inline bool set(error_code &ec = throws)#

Trigger this object.

Private Members

hpx::promise<void> promise_#
hpx::function<bool()> cond_#