Eris  1.3.19
Public Member Functions | Public Attributes | Friends | List of all members
Eris::Task Class Reference

Public Member Functions

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

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

bool Eris::Task::isComplete ( ) const

Returns true if the task has completed.

Returns
True if the task has completed.
const std::string & Eris::Task::name ( ) const
inline

Gets the name of the task.

Returns
The name of the task.
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: