ASync Ticker
Page last updated 13 Jul 2011, by
0
replies
.
Example code:
#include "Updateable.h" #include "ASyncTicker.h" class Tester: public Updateable { public: virtual void update() { printf("ping\n"); } } int main() { Tester* test=new Tester(); ASyncTicker at; at.addTarget(test,60); // once per minute // will never return at.run(); }
Please log in to post comments.