1 #ifndef QXRDPERKINELMERPLUGIN_H
2 #define QXRDPERKINELMERPLUGIN_H
4 #ifdef HAVE_PERKIN_ELMER
12 #if QT_VERSION >= QT_VERSION_CHECK(5,0,0)
18 QxrdPerkinElmerPlugin();
22 virtual UINT Acquisition_SetCallbacksAndMessages(
23 HACQDESC pAcqDesc, HWND hWnd, UINT dwErrorMsg,
24 UINT dwLoosingFramesMsg,
void (CALLBACK *lpfnEndFrameCallback)(HACQDESC),
25 void (CALLBACK *lpfnEndAcqCallback)(HACQDESC));
27 virtual UINT Acquisition_EnumSensors(
28 UINT *pdwNumSensors, BOOL bEnableIRQ, BOOL bAlwaysOpen);
30 virtual UINT Acquisition_GetNextSensor(
31 ACQDESCPOS *Pos, HACQDESC *phAcqDesc);
33 virtual UINT Acquisition_SetAcqData(
36 virtual UINT Acquisition_GetAcqData(
39 virtual UINT Acquisition_GetCommChannel(
40 HACQDESC pAcqDesc, UINT *pdwChannelType,
int *pnChannelNr);
42 virtual UINT Acquisition_Close(HACQDESC hAcqDesc);
44 virtual UINT Acquisition_CloseAll();
46 virtual UINT Acquisition_DefineDestBuffers(
47 HACQDESC pAcqDesc,
unsigned short *pProcessedData,
48 UINT nFrames, UINT nRows, UINT nColumns);
50 virtual UINT Acquisition_Abort(HACQDESC hAcqDesc);
52 virtual UINT Acquisition_Acquire_Image(
53 HACQDESC pAcqDesc, UINT dwFrames, UINT dwSkipFrms,
54 UINT dwOpt,
unsigned short *pwOffsetData,
55 DWORD *pdwGainData, DWORD *pdwPxlCorrList);
57 virtual UINT Acquisition_GetConfiguration(
58 HACQDESC hAcqDesc, UINT *dwFrames, UINT *dwRows, UINT *dwColumns, UINT *dwDataType,
59 UINT *dwSortFlags, BOOL *bIRQEnabled, DWORD *dwAcqType, DWORD *dwSystemID,
60 DWORD *dwSyncMode, DWORD *dwHwAccess);
62 virtual UINT Acquisition_GetIntTimes(
63 HACQDESC hAcqDesc,
double *dblIntTime,
int *nIntTimes);
65 virtual UINT Acquisition_GetActFrame(
66 HACQDESC hAcqDesc, DWORD *dwActAcqFrame, DWORD *dwActSecBuffFrame);
68 virtual UINT Acquisition_ResetFrameCnt(HACQDESC hAcqDesc);
70 virtual UINT Acquisition_GetHwHeaderInfo(
71 HACQDESC hAcqDesc, CHwHeaderInfo *pInfo);
73 virtual UINT Acquisition_SetFrameSyncMode(
74 HACQDESC hAcqDesc, DWORD dwMode);
76 virtual UINT Acquisition_SetTimerSync(
77 HACQDESC hAcqDesc, DWORD *dwCycleTime);
79 virtual UINT Acquisition_SetCameraGain(
80 HACQDESC hAcqDesc, WORD wMode);
82 virtual UINT Acquisition_SetCameraBinningMode(
83 HACQDESC hAcqDesc, WORD wMode);
85 virtual UINT Acquisition_GetCameraBinningMode(
86 HACQDESC hAcqDesc, WORD* wMode);
88 virtual UINT Acquisition_GetLatestFrameHeader(
89 HACQDESC hAcqDesc, CHwHeaderInfo *pInfo, CHwHeaderInfoEx *pInfoEx);
91 virtual UINT Acquisition_GetHwHeaderInfoEx(
92 HACQDESC hAcqDesc, CHwHeaderInfo *pInfo, CHwHeaderInfoEx *pInfoEx);
94 virtual UINT Acquisition_GbIF_Init(
95 HACQDESC *phAcqDesc,
int nChannelNr, BOOL bEnableIRQ, UINT uiRows, UINT uiColumns,
96 BOOL bSelfInit, BOOL bAlwaysOpen,
long lInitType, GBIF_STRING_DATATYPE* cAddress);
98 virtual UINT Acquisition_GbIF_GetDeviceList(
99 GBIF_DEVICE_PARAM* pGBIF_DEVICE_PARAM,
int nDeviceCnt);
101 virtual UINT Acquisition_GbIF_GetDevice(
102 GBIF_STRING_DATATYPE* ucAddress, DWORD dwAddressType, GBIF_DEVICE_PARAM* pDevice);
104 virtual UINT Acquisition_GbIF_GetDeviceCnt(
108 #endif // HAVE_PERKIN_ELMER
110 #endif // QXRDPERKINELMERPLUGIN_H
#define PerkinElmerPluginInterface_iid