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
Re: extracted Timer from Ctrl [message #24404 is a reply to message #24401] Thu, 14 January 2010 17:38 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
kohait00 wrote on Thu, 14 January 2010 06:28

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"



Maybe you might want to put it to the bazaar?

Mirek
 
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: Fri May 03 00:36:44 CEST 2024

Total time taken to generate the page: 0.05335 seconds