1 #ifndef __TICKMANAGER_H__ 2 #define __TICKMANAGER_H__ 4 #include <boost/function.hpp> 15 typedef boost::function<void(int)> TickFunction;
26 void Add(
const TickFunction &Function);
34 std::vector<TickFunction> Functions;
38 void GetTime(timespec *pTime);
52 #endif // #ifndef __TICKMANAGER_H__ Definition: TickManager.h:10
void Add(const TickFunction &Function)
Definition: TickManager.cpp:34
void Poll()
Definition: TickManager.cpp:14
static TickManager & GetInstance()
Definition: TickManager.h:43
~TickManager()
Definition: TickManager.h:20