ACKme Logo WiConnect Host Library- API Reference Guide
 
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
PeriodicTimer.h
1 
29 #pragma once
30 
31 #include "api/WiconnectTypes.h"
32 
33 
34 namespace wiconnect
35 {
36 
42 class PeriodicTimer WICONNECT_PERIODIC_TIMER_BASE_CLASS
43 {
44 public:
45  PeriodicTimer();
46 
47  template<typename T>
48  void start(T* tptr, void (T::*mptr)(void), int timeoutMs);
49  void stop(void);
50  bool isRunning();
51 protected:
52  bool running;
53 };
54 
55 
56 }