Template Struct async_operation

Inheritance Relationships

Derived Type

Struct Documentation

template<typename Func>
struct legion::core::async::async_operation

Subclassed by legion::core::async::job_operation< Func, CompleteFunc >

Public Functions

inline async_operation(const std::shared_ptr<async_progress> &progress, const Func &repeater)
async_operation() = default
async_operation(const async_operation&) = default
async_operation(async_operation&&) = default
inline bool is_done() const noexcept
inline float progress() const noexcept
inline virtual void wait(wait_priority priority = wait_priority_normal) const noexcept
template<typename ...Args>
inline auto then(Args&&... args) const
template<typename ...Args>
inline auto then(wait_priority priority, Args&&... args) const

Protected Attributes

std::shared_ptr<async_progress> m_progress
Func m_repeater