Library tcfusionzoom  1.0.3
This library can be used for accessing TCFusionZoom devices
tcfusionzoom.h
1 #ifndef TCFUSIONZOOM_H
2 #define TCFUSIONZOOM_H
3 
4 #include <inttypes.h>
5 
6 class TFC
7 {
8 
9 public:
10 
12 
17  unsigned char* irData;
18 
20 
23  unsigned int irDataSize;
24 
26 
29  unsigned char* jpegData;
30 
32 
35  unsigned int jpegDataSize;
36 
38 
43  TFC();
44 
46 
49  ~TFC();
50 };
51 
52 
53 
55 
64 {
65 
66 public:
67 
69  typedef void (*callbackTFC)(TFC& tfc, void* caller);
70 
72 
80  TCFusionZoom(callbackTFC cb, void* caller);
81 
82 
84 
88  ~TCFusionZoom();
89 
91 
95  void sendCmdUSBTransferOutOn();
96 
98 
102  void sendCmdUSBTransferOutOff();
103 
105 
108  void sendCmdFFC();
109 
111 
115  void sendCmdZoom(int zoomLevel);
116 
117 
118  void reset();
119 
120 private:
121 
122  // internally used reference to callback and calling instance
123  callbackTFC mCallbackTFC;
124  void* mCallingInstance;
125 
126  // internally used callback definitions
127  static void WrapperCallbackTCFusionZoomService(TFC& tfc, void* caller);
128  void callbackTCFusionZoomService(TFC& tfc);
129 };
130 
131 #endif // TCFUSIONZOOM_H
unsigned char * irData
TMC data.
Definition: tcfusionzoom.h:17
unsigned int irDataSize
TMC data size.
Definition: tcfusionzoom.h:23
Class for connecting "TCFusionZoom".
Definition: tcfusionzoom.h:63
~TFC()
Destructor of TFC.
TFC()
Constructor of TFC.
unsigned char * jpegData
Jpeg data.
Definition: tcfusionzoom.h:29
unsigned int jpegDataSize
Jpeg data size.
Definition: tcfusionzoom.h:35
Definition: tcfusionzoom.h:6