![]() |
Library tcfusionzoom
1.0.3
This library can be used for accessing TCFusionZoom devices
|
Class for connecting "TCFusionZoom". More...
#include <tcfusionzoom.h>
Public Types | |
typedef void(* | callbackTFC) (TFC &tfc, void *caller) |
Type definition of callback. | |
Public Member Functions | |
TCFusionZoom (callbackTFC cb, void *caller) | |
Constructor of TCFusionZoom. More... | |
~TCFusionZoom () | |
Destructor of TCFusionZoom. More... | |
void | sendCmdUSBTransferOutOn () |
Enable usb TFC stream. More... | |
void | sendCmdUSBTransferOutOff () |
Disables usb TFC stream. More... | |
void | sendCmdFFC () |
Trigger FFC. More... | |
void | sendCmdZoom (int zoomLevel) |
Set zoom level. More... | |
void | reset () |
Class for connecting "TCFusionZoom".
Connecting TCFusionZoom needs three steps:
TCFusionZoom::TCFusionZoom | ( | callbackTFC | cb, |
void * | caller | ||
) |
Constructor of TCFusionZoom.
TCFusionZoom is used to connect the "Thermal Capture Fusion Zoom" device. The callback is called every time a full frame is received from the device. Calling instance is needed for accessing the caller object's function from the callback.
cb | Callback. |
caller | Calling instance. |
TCFusionZoom::~TCFusionZoom | ( | ) |
Destructor of TCFusionZoom.
Cleans up the TCFusionZoom object memory and waits for connection thread to close.
void TCFusionZoom::sendCmdFFC | ( | ) |
Trigger FFC.
Triggers the TauCore to make an FFC.
void TCFusionZoom::sendCmdUSBTransferOutOff | ( | ) |
Disables usb TFC stream.
Disables the usb TFC stream from TCFusionZoom to the lib.
void TCFusionZoom::sendCmdUSBTransferOutOn | ( | ) |
Enable usb TFC stream.
Enables the usb TFC data stream from TCFusionZoom to the lib.
void TCFusionZoom::sendCmdZoom | ( | int | zoomLevel | ) |
Set zoom level.
Sets the zoom level. Valid values 1x - 10x.
zoomLevel | to set |