Definition at line 28 of file Task.h.
◆ Task()
Eris::Task::Task |
( |
Entity & |
owner, |
|
|
std::string |
name |
|
) |
| |
Create a new task owned by the specified entity
Definition at line 19 of file Task.cpp.
◆ ~Task()
◆ getUsages()
const std::vector< TaskUsage > & Eris::Task::getUsages |
( |
| ) |
const |
|
inline |
◆ isComplete()
bool Eris::Task::isComplete |
( |
| ) |
const |
Returns true if the task has completed.
- Returns
- True if the task has completed.
Definition at line 33 of file Task.cpp.
◆ name()
const std::string & Eris::Task::name |
( |
| ) |
const |
|
inline |
Gets the name of the task.
- Returns
- The name of the task.
Definition at line 94 of file Task.h.
◆ progress()
double Eris::Task::progress |
( |
| ) |
const |
|
inline |
Return the current progress of the task. Value will always be in the range [0..1].
Definition at line 98 of file Task.h.
◆ progressRate()
double Eris::Task::progressRate |
( |
| ) |
const |
|
inline |
Gets the progress rate.
- Returns
Definition at line 102 of file Task.h.
◆ Entity
◆ View
◆ Completed
sigc::signal<void> Eris::Task::Completed |
◆ Progressed
sigc::signal<void> Eris::Task::Progressed |
◆ ProgressRateChanged
sigc::signal<void> Eris::Task::ProgressRateChanged |
◆ UsagesChanged
sigc::signal<void> Eris::Task::UsagesChanged |
The documentation for this class was generated from the following files: