7#ifndef IBARCODEENGINE_INTERFACE_H
9#define IBARCODEENGINE_INTERFACE_H
27typedef BarcodeCapabilityArray (*PtrGetSupportedCapabilitiesFn)();
29typedef BarcodeTypeArray (*PtrGetSupportedBarcodeTypesFn)();
60IBarcodeEngine IBarcodeEngine_Create(PtrGetBarcodeEngineUniqueIdentifierFn ptrGetBarcodeEngineUniqueIdentifierFn, PtrGetSupportedCapabilitiesFn ptrGetSupportedCapabilitiesFn, PtrGetSupportedBarcodeTypesFn ptrGetSupportedBarcodeTypesFn, PtrCreateSessionFn ptrCreateSessionFn, PtrCloseSessionFn ptrCloseSessionFn, PtrSessionEnableBarcodeTypeFn ptrSessionEnableBarcodeTypeFn, PtrSessionSetBarcodePropertiesFn ptrSessionSetBarcodePropertiesFn, PtrSessionSetParametersFn ptrSessionSetParametersFn, PtrProcessImageFn ptrProcessImageFn, idrs_exception *pargException);
Interface for ArrayDefinitions wrapper.
BarcodeType
Barcode types recognized by iDRS SDK.
Definition BarcodeType_interface.h:20
Interface for CBarcode wrapper.
Interface for CImage wrapper.
Interface for EnumDefinitions wrapper.
BarcodeEngineIdentifier
Barcode engines that are shipped with iDRS SDK.
Definition EnumDefinitions_interface.h:3228
BarcodeSessionParameter
Enumerable containing all barcode session parameters These parameters are used to control the behavio...
Definition EnumDefinitions_interface.h:3430
IDRS_BARCODE_SESSION_HANDLE IBarcodeEngine_CreateSession(IBarcodeEngine argIBarcodeEngine, idrs_exception *pargException)
CreateSession creates a new session for recognition purposes.
IDRS_ERROR IBarcodeEngine_ProcessImage(IBarcodeEngine argIBarcodeEngine, IDRS_BARCODE_SESSION_HANDLE hBarcodeEngineHandle, const CImage argInputImage, const CBarcodeContext argBarcodeContext, CBarcodeArray argBarcodeResults, idrs_exception *pargException)
ProcessImage runs barcode recognition on the supplied image.
IBarcodeEngine IBarcodeEngine_Create(PtrGetBarcodeEngineUniqueIdentifierFn ptrGetBarcodeEngineUniqueIdentifierFn, PtrGetSupportedCapabilitiesFn ptrGetSupportedCapabilitiesFn, PtrGetSupportedBarcodeTypesFn ptrGetSupportedBarcodeTypesFn, PtrCreateSessionFn ptrCreateSessionFn, PtrCloseSessionFn ptrCloseSessionFn, PtrSessionEnableBarcodeTypeFn ptrSessionEnableBarcodeTypeFn, PtrSessionSetBarcodePropertiesFn ptrSessionSetBarcodePropertiesFn, PtrSessionSetParametersFn ptrSessionSetParametersFn, PtrProcessImageFn ptrProcessImageFn, idrs_exception *pargException)
Creates a new IBarcodeEngine object.
enum BarcodeEngineIdentifier IBarcodeEngine_GetBarcodeEngineUniqueIdentifier(const IBarcodeEngine argIBarcodeEngine, idrs_exception *pargException)
GetBarcodeEngineUniqueIdentifier retrieves barcode unique identifier.
void IBarcodeEngine_Destroy(IBarcodeEngine argIBarcodeEngine, idrs_exception *pargException)
Destroys a IBarcodeEngine handle.
IDRS_PVOID IDRS_BARCODE_SESSION_HANDLE
Barcode handle.
Definition IBarcodeEngine_interface.h:23
void IBarcodeEngine_CloseSession(IBarcodeEngine argIBarcodeEngine, IDRS_BARCODE_SESSION_HANDLE hBarcodeSession, idrs_exception *pargException)
CloseSession closes an already opened session.
BarcodeCapabilityArray IBarcodeEngine_GetSupportedCapabilities(const IBarcodeEngine argIBarcodeEngine, idrs_exception *pargException)
GetSupportedCapabilities retrieves the list of capabilities supported by the barcode engine.
IDRS_ERROR IBarcodeEngine_SessionSetBarcodeProperties(IBarcodeEngine argIBarcodeEngine, IDRS_BARCODE_SESSION_HANDLE hBarcodeHandle, enum BarcodeType const evBarcodeType, const BarcodeAdvancedParameters *stAdvancedParameters, idrs_exception *pargException)
SessionSetBarcodeProperties sets barcode type properties for the specified session.
IDRS_ERROR IBarcodeEngine_SessionSetParameters(IBarcodeEngine argIBarcodeEngine, IDRS_BARCODE_SESSION_HANDLE hBarcodeHandle, enum BarcodeSessionParameter const evParameter, IDRS_UINT const uiValue, idrs_exception *pargException)
SessionSetParameters sets a session parameter.
IDRS_ERROR IBarcodeEngine_SessionEnableBarcodeType(IBarcodeEngine argIBarcodeEngine, IDRS_BARCODE_SESSION_HANDLE hBarcodeHandle, enum BarcodeType const evBarcodeType, IDRS_BOOL const bEnable, idrs_exception *pargException)
SessionEnableBarcodeType enables a barcode type for the specified session.
BarcodeTypeArray IBarcodeEngine_GetSupportedBarcodeTypes(const IBarcodeEngine argIBarcodeEngine, idrs_exception *pargException)
GetSupportedBarcodeTypes retrieves the engine's supported barcode types.
The CBarcodeContext class manages a barcode recognition context.
The CImage class manages images for iDRS.
IBarcodeEngine defines the interface representing a barcode engine used by iDRS SDK.
unsigned long IDRS_ERROR
The IDRS_ERROR data type defines an error code.
Definition idrserr_interface.h:16
Structure that manages advanced barcode recognition parameters.
Definition StructDefinitions_interface.h:99