29 #include <boost/shared_ptr.hpp>
43 typedef boost::shared_ptr< WTimer >
SPtr;
48 typedef boost::shared_ptr< const WTimer >
ConstSPtr;
63 virtual void reset() = 0;
70 virtual double elapsed()
const = 0;
WTimer()
Constructs a animation timer.
virtual void reset()=0
Resets the start-tick.
boost::shared_ptr< WTimer > SPtr
Convenience typedef for a shared_ptr.
virtual ~WTimer()
Destructor.
virtual double elapsed() const =0
Returns the elapsed time since the last reset in seconds with milliseconds precision.
boost::shared_ptr< const WTimer > ConstSPtr
Convenience typedef for a const shared_ptr.