neoGFX
Cross-platform C++ app/game engine
|
#include <i_task.hpp>
Public Member Functions | |
virtual | ~i_task ()=default |
virtual const std::string & | name () const =0 |
virtual void | run (yield_type aYieldType=yield_type::NoYield)=0 |
virtual bool | do_work (yield_type aYieldType=yield_type::NoYield)=0 |
virtual void | cancel ()=0 |
virtual bool | cancelled () const =0 |
Definition at line 44 of file i_task.hpp.
|
virtualdefault |
Implemented in neolib::async_task, neolib::task< Base >, and neolib::task< reference_counted< i_async_task > >.
Implemented in neolib::task< Base >, and neolib::task< reference_counted< i_async_task > >.
|
pure virtual |
Implemented in neolib::async_task, neolib::task< Base >, and neolib::task< reference_counted< i_async_task > >.
Implemented in neolib::task< Base >, neolib::task< reference_counted< i_async_task > >, and neolib::function_task< T >.
|
pure virtual |
Implemented in neogfx::async_task, neolib::async_task, neolib::function_task< T >, and neolib::function_task< T >.