4 #include <sigc++/trackable.h> 5 #include <sigc++/signal.h> 13 typedef std::map<std::string, Element> MapType;
17 namespace WFMath {
class TimeDiff; }
25 class Task :
public sigc::trackable
34 const std::string& name()
const;
40 double progress()
const;
46 bool isComplete()
const;
48 sigc::signal<void> Completed;
50 sigc::signal<void> Cancelled;
52 sigc::signal<void> Progressed;
54 sigc::signal<void> ProgressRateChanged;
57 void progressChanged();
67 void updateFromAtlas(
const Atlas::Message::MapType& d);
72 void updatePredictedProgress(
const WFMath::TimeDiff& dt);
74 const std::string m_name;
79 double m_progressRate;
82 inline const std::string& Task::name()
const 87 inline double Task::progress()
const
View encapsulates the set of entities currently visible to an Avatar, as well as those that have rece...
Definition: View.h:37
Every Eris class and type lives inside the Eris namespace; certain utility functions live in the Util...
Definition: Account.cpp:34
Entity is a concrete (instantiable) class representing one game entity.
Definition: Entity.h:58
Definition: BaseConnection.h:18