123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167 |
- #ifndef AXSFUNC_H
- #define AXSFUNC_H
- #include "Pegasus.h"
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_RegisterProgressionCallback)(PEGASUS_ProgressionEventCallback* pProgressionCallBack);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_Initialize)(PEGASUS_EventRegistrationCallback* pRegistrationCallBack);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_QuickInitialize)(
- PEGASUS_EventRegistrationCallback* pRegistrationCallBack,
- PEGASUS_Context targetContext,
- bool isSkipEoConfig);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_Shutdown)(void);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_LoadContext)(PEGASUS_Context context);
- //Detail information °üº¬ informationÖеÄÐÅÏ¢
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_DetailedInformation)(PEGASUS_DetailedInfo* pDetailedInfo);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_Information)(PEGASUS_Info* pInfo);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_SystemDetailedInformation)(PEGASUS_SystemDetailedInfo* pSystemDetailedInfo);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_CalibrationInformation)(PEGASUS_CalibrationInfo* pCalibrationInfo);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_GetCalibrationInformation)(
- const char* pCalibrationType,
- int index,
- PEGASUS_CalibrationStats* pCalibrationStats);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_GetCalibrationInformationUsingType)(
- PEGASUS_CalibrationType calibrationType,
- int index,
- PEGASUS_CalibrationStats* pCalibrationStats);
- typedef __declspec(dllimport) bool(*AXS_PEGASUS_IsReadyForExposure)(void);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_Acquire)(
- PEGASUS_TargetFilter targetFilter,
- PEGASUS_Image* pAecData,
- PEGASUS_Image* pResultImage);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_AbortAcquire)(void);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_StartContinuousAcquisition)(
- PEGASUS_TargetFilter targetFilter,
- bool isAecMode,
- PEGASUS_Context context,
- PEGASUS_MultiEventRegistrationCallback* pMultiEventRegistrationCallback);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_StartContinuousAcquisitionEx)(
- PEGASUS_AcquisitionProperties* pAcquisitionProperties,
- PEGASUS_MultiEventRegistrationCallback* pMultiEventRegistrationCallback);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_ChangeContinuousAcquisitionProperties)(
- PEGASUS_TargetFilter targetFilter,
- bool isAecMode,
- PEGASUS_Context context);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_ChangeContinuousAcquisitionPropertiesEx)(PEGASUS_AcquisitionProperties* pAcquisitionProperties);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_GetContinuousAcquisitionProperties)(
- PEGASUS_TargetFilter* pTargetFilter,
- bool* pIsAecMode,
- PEGASUS_Context* pCurrentContext,
- int* pCurrentSequenceId);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_GetContinuousAcquisitionPropertiesEx)(
- PEGASUS_AcquisitionProperties* pAcquisitionProperties,
- int* pCurrentSequenceId);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_OverrideTargetFilter)(int sequenceId,PEGASUS_TargetFilter targetFilter);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_GetAecImage)(int sequenceId,PEGASUS_Image* pAecImage);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_GetCorrectedImage)(int sequenceId,int imageIndex,PEGASUS_Image* pCorrectedImage);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_GetInformationOfFirstAvailableImage)(PEGASUS_ImageInformation* pImageInformation);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_StartSingleAcquisition)(
- PEGASUS_AcquisitionProperties* pAcquisitionProperties,
- PEGASUS_MultiEventRegistrationCallback* pMultiEventRegistrationCallback);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_PrepareForExposure)(int timeout);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_TriggerAcquisition)(int exposeWindowWidth);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_RecoverImage)(
- int sequenceId,
- PEGASUS_TargetFilter targetFilter,
- PEGASUS_Context context,
- PEGASUS_MultiEventRegistrationCallback* pMultiEventRegistrationCallback);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_RecoverImageEx)(
- int sequenceId,
- PEGASUS_AcquisitionProperties* pAcquisitionProperties,
- PEGASUS_MultiEventRegistrationCallback* pMultiEventRegistrationCallback);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_CancelImageRecovery)(int sequenceId);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_RecoverLastSequenceID)(int* pSequenceId);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_Calibrate)(PEGASUS_Image* deprecated);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_CalibrateEx)(int numberOfSequences);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_GetNbrCalImagesLeft)(int* pNbrCalImagesLeft);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_AbortCalibration)(void);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_AddImageToCalibration)(void);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_RejectCalibrationImage)(void);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_AutoCalibrate)(char calibrationType[PEGASUS_MAX_STRING_LENGTH]);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_CalibrateUsingType)(PEGASUS_CalibrationType calibrationType,int numberOfSequences);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_StopComServer)(void);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_GetLogLevel)(PEGASUS_LogLevel* pLogLevel);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_SetLogLevel)(PEGASUS_LogLevel logLevel);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_SelfTest)(PEGASUS_SelfTestType selftTestType);
- typedef __declspec(dllimport) void(*AXS_PEGASUS_Sleep)(int timeoutMsec);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_ServiceImageInformation)(
- PEGASUS_ServiceImageType imageType,
- int* pImageCount,
- PEGASUS_ServiceImageInfo* pInfo);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_GetServiceImage)(
- PEGASUS_ServiceImageType imageType,
- int imageIndex,
- PEGASUS_Context context,
- PEGASUS_Image* pServiceImage);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_UpdateDefectMap)(
- PEGASUS_DefectType defectType,
- bool isAddDefect,
- int column,
- int row,
- PEGASUS_Context context);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_GetWeakDefect)(
- PEGASUS_Context context,
- unsigned int* pInOutItemCount,
- PEGASUS_WeakDefect* pOutWeakDefectArray);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_UpdateWeakDefect)(
- PEGASUS_Context context,
- bool isAddWeakDefect,
- PEGASUS_WeakDefect* pWeakDefect);
- typedef __declspec(dllimport) void(*AXS_PEGASUS_GetErrorDescription)(
- PEGASUS_ErrorCode errorCode,
- char shortDescription[PEGASUS_MAX_STRING_LENGTH],
- char longDescription[PEGASUS_MAX_STRING_LENGTH]);
- typedef __declspec(dllimport) void(*AXS_PEGASUS_GetEventDescription)(
- PEGASUS_EventType eventCode,
- char shortDescription[PEGASUS_MAX_STRING_LENGTH]);
- typedef __declspec(dllimport) void(*AXS_PEGASUS_GetMultiEventDescription)(
- PEGASUS_MultiEventType eventCode,
- char shortDescription[PEGASUS_MAX_STRING_LENGTH]);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_GetDebugDump)(void);
- typedef __declspec(dllimport) void(*AXS_PEGASUS_GetDetectorTypeDescription)(
- PEGASUS_DetectorType detectorType,
- char shortDescription[PEGASUS_MAX_STRING_LENGTH]);
- typedef __declspec(dllimport) void(*AXS_PEGASUS_GetProductTypeDescription)(
- PEGASUS_ProductType productType,
- char shortDescription[PEGASUS_MAX_STRING_LENGTH]);
- typedef __declspec(dllimport) void(*AXS_PEGASUS_GetContextCodeDescription)(
- PEGASUS_Context contextCode,
- char shortDescription[PEGASUS_MAX_STRING_LENGTH]);
- typedef __declspec(dllimport) void(*AXS_PEGASUS_GetDetectorStateDescription)(
- PEGASUS_DetectorState detectorState,
- char shortDescription[PEGASUS_MAX_STRING_LENGTH]);
- typedef __declspec(dllimport) void(*AXS_PEGASUS_GetPegasusStateDescription)(
- PEGASUS_State pegasusState,
- char shortDescription[PEGASUS_MAX_STRING_LENGTH]);
- typedef __declspec(dllimport) void(*AXS_PEGASUS_GetLogLevelCodeDescription)(
- PEGASUS_LogLevel logLevelCode,
- char shortDescription[PEGASUS_MAX_STRING_LENGTH]);
- typedef __declspec(dllimport) void(*AXS_PEGASUS_GetSelfTestTypeDescription)(
- PEGASUS_SelfTestType selfTestType,
- char shortDescription[PEGASUS_MAX_STRING_LENGTH]);
- typedef __declspec(dllimport) void(*AXS_PEGASUS_GetTargetFilterTypeDescription)(
- PEGASUS_TargetFilter targetFilterType,
- char shortDescription[PEGASUS_MAX_STRING_LENGTH]);
- typedef __declspec(dllimport) void(*AXS_PEGASUS_GetFocusTypeDescription)(
- PEGASUS_FocusType focusType,
- char shortDescription[PEGASUS_MAX_STRING_LENGTH]);
- typedef __declspec(dllimport) void(*AXS_PEGASUS_GetServiceImageTypeDescription)(
- PEGASUS_ServiceImageType serviceImageType,
- char shortDescription[PEGASUS_MAX_STRING_LENGTH]);
- typedef __declspec(dllimport) void(*AXS_PEGASUS_GetPixelFormatDescription)(
- PEGASUS_PixelFormat pixelFormat,
- char shortDescription[PEGASUS_MAX_STRING_LENGTH]);
- typedef __declspec(dllimport) void(*AXS_PEGASUS_GetDefectTypeDescription)(
- PEGASUS_DefectType defectType,
- char shortDescription[PEGASUS_MAX_STRING_LENGTH]);
- typedef __declspec(dllimport) void(*AXS_PEGASUS_GetCalibrationTypeDescription)(
- PEGASUS_CalibrationType calibrationType,
- char shortDescription[PEGASUS_MAX_STRING_LENGTH]);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_GetAvailableContext)(int* pArrayLen, PEGASUS_Context* pContextArray);
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_Entry)();
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_Exit)();
- typedef __declspec(dllimport) PEGASUS_ErrorCode(*AXS_PEGASUS_TerminateAcquisition)();
- #endif // AXSFUNC_H
|