Timer classes again..........
I''m making a class for timers using QueryPerformanceCounter but some portions of it have me stumped.
I want to add functionality wherethe timer will generate tick events at specified intervals. I came up with an idea for calling it as a member function...If the class is derived from CBaseGameModule you can create a timer, set a speed and it will call CBaseGameModule::Tick().
Where I''m having the problem is knowing when that time has passed. All the ideas i''ve come up with would probably either bog down the system or defeat the purpose all together.
Has anyone done this before? or am I getting ahead of myself with this.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement