#include <ugdk/system/task.h>
template<typename Callable >
ugdk::system::Task::Task |
( |
Callable |
c, |
|
|
double |
priotity = 0.5 |
|
) |
| |
|
inline |
Constructs a new Task, with given callable and priority. Priority is tipically in the range [0, 1], and smaller priorities are executed before.
- See also
- TaskPlayer
ugdk::system::Task::~Task |
( |
| ) |
|
|
inline |
bool ugdk::system::Task::operator() |
( |
double |
dt | ) |
|
|
inline |
bool ugdk::system::Task::operator< |
( |
const Task & |
other | ) |
const |
|
inline |
double ugdk::system::Task::priority |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file:
- modules/ugdk-core/include/ugdk/system/task.h