neoGFX
Cross-platform C++ app/game engine
|
#include <task.hpp>
Public Member Functions | |
function_task (std::function< T()> aFunction) | |
std::future< T > | get_future () |
const std::string & | name () const override |
void | run (yield_type) override |
void | run (yield_type) |
Public Member Functions inherited from neolib::task< Base > | |
task (const std::string &aName=std::string{}) | |
const std::string & | name () const override |
bool | do_work (yield_type aYieldType=yield_type::NoYield) override |
void | cancel () noexcept override |
bool | cancelled () const override |
Public Member Functions inherited from neolib::i_task | |
virtual | ~i_task ()=default |
|
inline |
|
inline |
|
inlineoverridevirtual |
Implements neolib::i_task.
|
inlinevirtual |
Implements neolib::i_task.
|
inlineoverridevirtual |
Implements neolib::i_task.