WPOCT Software Developer's Kit (SDK)
SDK For using Wasatch Photonics OCT Spectrometers
Public Types | Public Member Functions | List of all members
SimpleTimer Class Reference

Public Types

typedef boost::function< void()> Handler
 
typedef boost::function< void(CallbackInfo *info)> HandlerCBI
 

Public Member Functions

 SimpleTimer (boost::asio::io_service &io_service, const std::size_t &tid=10, const std::size_t &interval=500, Handler _handler=NULL)
 
void Start ()
 
void Stop ()
 
void SetInterval (long i)
 
void SetHandler (Handler handler)
 
void SetHandler (HandlerCBI hcb, void *c)
 _handler
 
void SetCaller (TimerCallback *caller)
 tell caller to call its callback method - seems simplest
 
void InitiateTimer ()
 
void TimerHandler ()
 

The documentation for this class was generated from the following files: