HInterfaceC.h 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. /*****************************************************************************
  2. * HInterfaceC.h
  3. *****************************************************************************
  4. *
  5. * Project: HALCON/HLib
  6. * Description: Prototypes for HALCON/C interface
  7. *
  8. * (c) 1996-2020 by MVTec Software GmbH
  9. * www.mvtec.com
  10. *
  11. *****************************************************************************/
  12. #ifndef HINTERFACE_C_H
  13. #define HINTERFACE_C_H
  14. /*===========================================================================*/
  15. /* Defines */
  16. /*===========================================================================*/
  17. /*===========================================================================*/
  18. /* Prototypes */
  19. /*===========================================================================*/
  20. extern LIntExport Herror HcErrorHandling(Hproc_handle ph, Herror err);
  21. extern LIntExport Herror HcException(int op_id, Herror err);
  22. extern LIntExport Herror HcPreCall(int proc_index, Hproc_handle* ph);
  23. extern LIntExport Herror HcCall(Hproc_handle ph);
  24. extern LIntExport Herror HcPostCall(Hproc_handle ph, Herror err);
  25. extern LIntExport Herror HcStoreIO(Hproc_handle ph, int par, Hobject inObjVar);
  26. extern LIntExport Herror HcStoreICL(Hproc_handle ph, int par, Hlong value);
  27. extern LIntExport Herror HcStoreICD(Hproc_handle ph, int par, double value);
  28. extern LIntExport Herror HcStoreICS(Hproc_handle ph, int par,
  29. char const* value);
  30. extern LIntExport Herror HcStoreICSEnc(Hproc_handle ph, int par,
  31. char const* value);
  32. extern LIntExport Herror HcStoreICT(Hproc_handle ph, int par,
  33. Htuple const* value);
  34. extern LIntExport Herror HcStoreICTEnc(Hproc_handle ph, int par,
  35. Htuple const* value);
  36. extern LIntExport void HcInitOC(Hproc_handle ph, int par);
  37. extern LIntExport void HcInitOCD(Hproc_handle ph, int par);
  38. extern LIntExport void HcInitOCL(Hproc_handle ph, int par);
  39. extern LIntExport void HcInitOCS(Hproc_handle ph, int par);
  40. extern LIntExport void HcInitOCT(Hproc_handle ph, int par, Hctuple* ctuple);
  41. extern LIntExport Herror HcStoreOO(Hproc_handle ph, int par,
  42. Hobject* outObjVar, Herror err);
  43. extern LIntExport Herror HcStoreOCL(Hproc_handle ph, int par,
  44. Hlong* outCtrlVar, Herror err);
  45. extern LIntExport Herror HcStoreOCD(Hproc_handle ph, int par,
  46. double* outCtrlVar, Herror err);
  47. extern LIntExport Herror HcStoreOCS(Hproc_handle ph, int par, char* outCtrlVar,
  48. Herror err);
  49. extern LIntExport Herror HcStoreOCSEnc(Hproc_handle ph, int par,
  50. char* outCtrlVar, Herror err);
  51. extern LIntExport Herror HcStoreOCT(Hproc_handle ph, int par,
  52. Htuple* outCtrlVar, Herror err);
  53. extern LIntExport Herror HcStoreOCTEnc(Hproc_handle ph, int par,
  54. Htuple* outCtrlVar, Herror err);
  55. #endif