1 #ifndef QXRDPERKINELMERPLUGININTERFACE_H
2 #define QXRDPERKINELMERPLUGININTERFACE_H
8 #include <QSharedPointer>
17 #define ACQDATATYPE void*
19 #define ACQDATATYPE DWORD
29 HACQDESC pAcqDesc, HWND hWnd, UINT dwErrorMsg,
30 UINT dwLoosingFramesMsg,
void (CALLBACK *lpfnEndFrameCallback)(HACQDESC),
31 void (CALLBACK *lpfnEndAcqCallback)(HACQDESC)) = 0;
34 UINT *pdwNumSensors, BOOL bEnableIRQ, BOOL bAlwaysOpen) = 0;
37 ACQDESCPOS *Pos, HACQDESC *phAcqDesc) = 0;
46 HACQDESC pAcqDesc, UINT *pdwChannelType,
int *pnChannelNr) = 0;
53 HACQDESC pAcqDesc,
unsigned short *pProcessedData,
54 UINT nFrames, UINT nRows, UINT nColumns) = 0;
59 HACQDESC pAcqDesc, UINT dwFrames, UINT dwSkipFrms,
60 UINT dwOpt,
unsigned short *pwOffsetData,
61 DWORD *pdwGainData, DWORD *pdwPxlCorrList) = 0;
64 HACQDESC hAcqDesc, UINT *dwFrames, UINT *dwRows, UINT *dwColumns, UINT *dwDataType,
65 UINT *dwSortFlags, BOOL *bIRQEnabled, DWORD *dwAcqType, DWORD *dwSystemID,
66 DWORD *dwSyncMode, DWORD *dwHwAccess) = 0;
69 HACQDESC hAcqDesc,
double *dblIntTime,
int *nIntTimes) = 0;
72 HACQDESC hAcqDesc, DWORD *dwActAcqFrame, DWORD *dwActSecBuffFrame) = 0;
77 HACQDESC hAcqDesc, CHwHeaderInfo *pInfo) = 0;
80 HACQDESC hAcqDesc, DWORD dwMode) = 0;
83 HACQDESC hAcqDesc, DWORD *dwCycleTime) = 0;
86 HACQDESC hAcqDesc, WORD wMode) = 0;
89 HACQDESC hAcqDesc, WORD wMode) = 0;
92 HACQDESC hAcqDesc, WORD* wMode) = 0;
95 HACQDESC hAcqDesc, CHwHeaderInfo *pInfo, CHwHeaderInfoEx *pInfoEx) = 0;
98 HACQDESC hAcqDesc, CHwHeaderInfo *pInfo, CHwHeaderInfoEx *pInfoEx) = 0;
101 HACQDESC *phAcqDesc,
int nChannelNr, BOOL bEnableIRQ, UINT uiRows, UINT uiColumns,
102 BOOL bSelfInit, BOOL bAlwaysOpen,
long lInitType, GBIF_STRING_DATATYPE* cAddress) = 0;
105 GBIF_DEVICE_PARAM* pGBIF_DEVICE_PARAM,
int nDeviceCnt) = 0;
108 GBIF_STRING_DATATYPE* ucAddress, DWORD dwAddressType, GBIF_DEVICE_PARAM* pDevice) = 0;
111 long* plNrOfboards) = 0;
114 #define PerkinElmerPluginInterface_iid "gov.anl.aps.cep.Qxrd.PerkinElmerInterface/1.0"
117 #endif // QXRDPERKINELMERPLUGININTERFACE_H
virtual UINT Acquisition_GbIF_Init(HACQDESC *phAcqDesc, int nChannelNr, BOOL bEnableIRQ, UINT uiRows, UINT uiColumns, BOOL bSelfInit, BOOL bAlwaysOpen, long lInitType, GBIF_STRING_DATATYPE *cAddress)=0
virtual UINT Acquisition_GbIF_GetDeviceList(GBIF_DEVICE_PARAM *pGBIF_DEVICE_PARAM, int nDeviceCnt)=0
virtual UINT Acquisition_DefineDestBuffers(HACQDESC pAcqDesc, unsigned short *pProcessedData, UINT nFrames, UINT nRows, UINT nColumns)=0
virtual UINT Acquisition_GetHwHeaderInfo(HACQDESC hAcqDesc, CHwHeaderInfo *pInfo)=0
virtual UINT Acquisition_GetHwHeaderInfoEx(HACQDESC hAcqDesc, CHwHeaderInfo *pInfo, CHwHeaderInfoEx *pInfoEx)=0
virtual UINT Acquisition_EnumSensors(UINT *pdwNumSensors, BOOL bEnableIRQ, BOOL bAlwaysOpen)=0
virtual UINT Acquisition_GbIF_GetDeviceCnt(long *plNrOfboards)=0
virtual UINT Acquisition_Abort(HACQDESC hAcqDesc)=0
virtual UINT Acquisition_Acquire_Image(HACQDESC pAcqDesc, UINT dwFrames, UINT dwSkipFrms, UINT dwOpt, unsigned short *pwOffsetData, DWORD *pdwGainData, DWORD *pdwPxlCorrList)=0
virtual UINT Acquisition_GetCommChannel(HACQDESC pAcqDesc, UINT *pdwChannelType, int *pnChannelNr)=0
virtual UINT Acquisition_GetConfiguration(HACQDESC hAcqDesc, UINT *dwFrames, UINT *dwRows, UINT *dwColumns, UINT *dwDataType, UINT *dwSortFlags, BOOL *bIRQEnabled, DWORD *dwAcqType, DWORD *dwSystemID, DWORD *dwSyncMode, DWORD *dwHwAccess)=0
virtual UINT Acquisition_GetActFrame(HACQDESC hAcqDesc, DWORD *dwActAcqFrame, DWORD *dwActSecBuffFrame)=0
virtual UINT Acquisition_SetFrameSyncMode(HACQDESC hAcqDesc, DWORD dwMode)=0
virtual UINT Acquisition_GetLatestFrameHeader(HACQDESC hAcqDesc, CHwHeaderInfo *pInfo, CHwHeaderInfoEx *pInfoEx)=0
virtual UINT Acquisition_GetCameraBinningMode(HACQDESC hAcqDesc, WORD *wMode)=0
virtual UINT Acquisition_GetAcqData(HACQDESC hAcqDesc, ACQDATATYPE *AcqData)=0
virtual UINT Acquisition_SetCameraBinningMode(HACQDESC hAcqDesc, WORD wMode)=0
virtual UINT Acquisition_Close(HACQDESC hAcqDesc)=0
#define PerkinElmerPluginInterface_iid
virtual UINT Acquisition_ResetFrameCnt(HACQDESC hAcqDesc)=0
virtual UINT Acquisition_GbIF_GetDevice(GBIF_STRING_DATATYPE *ucAddress, DWORD dwAddressType, GBIF_DEVICE_PARAM *pDevice)=0
virtual UINT Acquisition_SetCameraGain(HACQDESC hAcqDesc, WORD wMode)=0
virtual UINT Acquisition_CloseAll()=0
virtual UINT Acquisition_SetAcqData(HACQDESC hAcqDesc, ACQDATATYPE AcqData)=0
virtual UINT Acquisition_SetCallbacksAndMessages(HACQDESC pAcqDesc, HWND hWnd, UINT dwErrorMsg, UINT dwLoosingFramesMsg, void(CALLBACK *lpfnEndFrameCallback)(HACQDESC), void(CALLBACK *lpfnEndAcqCallback)(HACQDESC))=0
virtual UINT Acquisition_GetNextSensor(ACQDESCPOS *Pos, HACQDESC *phAcqDesc)=0
virtual UINT Acquisition_GetIntTimes(HACQDESC hAcqDesc, double *dblIntTime, int *nIntTimes)=0
virtual UINT Acquisition_SetTimerSync(HACQDESC hAcqDesc, DWORD *dwCycleTime)=0