42 typedef std::shared_ptr< WTimer >
SPtr;
std::shared_ptr< const WTimer > ConstSPtr
Convenience typedef for a const shared_ptr.
virtual double elapsed() const =0
Returns the elapsed time since the last reset in seconds with milliseconds precision.
std::shared_ptr< WTimer > SPtr
Convenience typedef for a shared_ptr.
WTimer()
Constructs a animation timer.
virtual void reset()=0
Resets the start-tick.
virtual ~WTimer()
Destructor.