28 #include <boost/function.hpp>
34 #include "timeevent.h"
62 class Timer :
protected TimeEvent {
64 typedef boost::function0<void> type_callback;
84 void setInterval(int32_t msec);
104 void setCallback(
const type_callback& callback);
108 type_callback m_callback;
109 void updateEvent(uint32_t);
credit to phoku for his NodeDisplay example which the visitor code is adapted from ( he coded the qua...