Eris  1.4.0
Public Member Functions | Public Attributes | Friends | List of all members
Eris::Task Class Reference
Inheritance diagram for Eris::Task:

Public Member Functions

const std::string & name () const
 Gets the name of the task. More...
 
double progress () const
 Return the current progress of the task. More...
 
bool isComplete () const
 Returns true if the task has completed. More...
 

Public Attributes

sigc::signal< void > Completed
 
sigc::signal< void > Cancelled
 
sigc::signal< void > Progressed
 
sigc::signal< void > ProgressRateChanged
 

Friends

class View
 
class Entity
 

Member Function Documentation

◆ isComplete()

bool Eris::Task::isComplete ( ) const

Returns true if the task has completed.

Returns
True if the task has completed.

◆ name()

const std::string & Eris::Task::name ( ) const
inline

Gets the name of the task.

Returns
The name of the task.

◆ progress()

double Eris::Task::progress ( ) const
inline

Return the current progress of the task.

Value will always be in the range [0..1]


The documentation for this class was generated from the following files: