25 #ifndef WREALTIMETIMER_H
26 #define WREALTIMETIMER_H
45 typedef std::shared_ptr< WRealtimeTimer >
SPtr;
50 typedef std::shared_ptr< const WRealtimeTimer >
ConstSPtr;
virtual void reset()
Resets the start-tick.
virtual double elapsed() const
Returns the elapsed time since the last reset in seconds with milliseconds precision.
WRealtimeTimer()
Constructs a realtime animation timer.
virtual ~WRealtimeTimer()
Destructor.
osg::Timer m_timer
The osg timer is used here.
std::shared_ptr< WRealtimeTimer > SPtr
Convenience typedef for a shared_ptr.
std::shared_ptr< const WRealtimeTimer > ConstSPtr
Convenience typedef for a const shared_ptr.