Boost logo

Boost Users :

Subject: Re: [Boost-users] Timer Callback
From: Andreas Wehrmann (a.wehrmann_at_[hidden])
Date: 2011-05-26 03:10:44


Hello,

you might want to take a look at the ASIO reference.
There you'll find the deadline_timer with which you can do exactly what
you want.

Regards,
Andreas

On 05/26/2011 09:06 AM, asif saeed wrote:
> Hi,
>
> Can I use Boost Timer or Boost DateTime to trigger callbacks? I just
> want to be able to have the timer/date-time class trigger my handler
> functions after every 10 seconds for example or trigger a callback
> handling function after 25 seconds and die. Is that possible with
> Boost libraries? I am asking this question because, after a cursory
> look, it appears to me that there is no such facility right now - if
> this is true, do you suggest any portable library offering this
> functionality?
>
> Thank you, Asif
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users

-- 
Dipl.-Ing. (FH) Andreas Wehrmann
Software Development
--------------------------------------------------------------
Center Communication Systems GmbH
A-1210 Wien, Ignaz-Köck-Straße 19
Sitz in Wien
FN 796 88p, Firmenbuchgericht Wien
www.centersystems.com
Tel.: +43 (0) 190 199 - 3616
Mobile: +43 (0) 664 884 75916
Fax: +43 (0) 190 199 - 2110
E-Mail: a.wehrmann_at_[hidden]


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net