WPOCT Software Developer's Kit (SDK)
SDK For using Wasatch Photonics OCT Spectrometers
CallbackInfo.h
Go to the documentation of this file.
1 
6 #pragma once
7 
10 {
11 public:
12  CallbackInfo(void *context)
13  {
14  _context = context;
15  }
16  virtual ~CallbackInfo() {}
17  virtual void *GetContext() const { return _context; }
18 
19 protected:
21  void* _context;
22 };
Used for callbacks, in particular for the SimpleTimer class.
Definition: CallbackInfo.h:10
void * _context
Holds a pointer to the callback function.
Definition: CallbackInfo.h:21