Library tcfusionzoom  1.0.3
This library can be used for accessing TCFusionZoom devices
Public Types | Public Member Functions | List of all members
TCFusionZoom Class Reference

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 ()
 

Detailed Description

Class for connecting "TCFusionZoom".

Connecting TCFusionZoom needs three steps:

  1. Include the library header file "tcfusionzoom.h" into your project.
  2. Write a callback function for receiving TFC frames.
  3. Use the constructor of TCFusionZoom. You will have to put in 2 parameters. First put in the pointer of the callback function. Second add the a pointer of the calling instance in the constructor.

Constructor & Destructor Documentation

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.

Parameters
cbCallback.
callerCalling instance.
TCFusionZoom::~TCFusionZoom ( )

Destructor of TCFusionZoom.

Cleans up the TCFusionZoom object memory and waits for connection thread to close.

Member Function Documentation

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.

Parameters
zoomLevelto set

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