Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Callbacks and Timers » extracted Timer from Ctrl
extracted Timer from Ctrl [message #24401] Thu, 14 January 2010 12:28 Go to previous message
kohait00 is currently offline  kohait00
Messages: 939
Registered: July 2009
Location: Germany
Experienced Contributor
hi there

i was in need of easy and quick solution for a timer queue, usable without the Ctrl stuff, that said, with Core only. so i extracted timer behaviour from Ctrl and put it in a class, which is running a Thread to work the queue, its really a quick solution, you cant set granularity for now, but this one can be extended.

it has same API as the Ctrl Timer, so one can setup callbacks.

maybe its usable for someone.
greets

Timer: the timer class itself
TimerTest: Test class for timer. really quick, "proof of concept"
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Virtual functions versus callbacks
Next Topic: PostCallback executes 2 at once?
Goto Forum:
  


Current Time: Sat Apr 20 01:37:19 CEST 2024

Total time taken to generate the page: 0.05085 seconds