// ***************************************************************
|
// TH_ErrorDef.h version: 4.0 date: 2010.4.12
|
// -------------------------------------------------------------
|
// Ç廪´óѧÖÇÄÜͼÎÄÐÅÏ¢´¦ÀíÑо¿ÊÒ¡£°æÈ¨ËùÓС£
|
// -------------------------------------------------------------
|
// Center for Intelligent Image and Document Information Processing
|
// -------------------------------------------------------------
|
// Copyright (C) 2007 - All Rights Reserved
|
// ***************************************************************
|
// Author: Zhou Jian
|
// ***************************************************************
|
// Revision history:
|
// 2010.4.12: v4.0, ¶¨ÒåSDKµÄ³ö´íÐÅÏ¢
|
// ***************************************************************
|
|
#if !defined(__TH_ERRORDEF_INCLUDE_H__)
|
#define __TH_ERRORDEF_INCLUDE_H__
|
|
#if _MSC_VER > 1000
|
#pragma once
|
#endif
|
|
#ifdef __cplusplus
|
extern "C" {
|
#endif
|
|
// The errors that may occur during the use of the SDK
|
#define TH_ERR_NONE 0 //ûÓдíÎó
|
#define TH_ERR_GENERIC 1 //Ê¡·ÝÉèÖôíÎó
|
#define TH_ERR_MEMORYALLOC 2 //ÄÚ´æ·ÖÅä´íÎó
|
#define TH_ERR_INVALIDFORMAT 7 //²»Ö§³ÖµÄͼÏñ¸ñʽ
|
#define TH_ERR_INVALIDWIDTH 8 //ͼÏñ¿í¶È±ØÐëÊÇ8µÄÕûÊý±¶
|
#define TH_ERR_THREADLIMIT 20 //µ÷ÓÃÏß³ÌÊý³¬¹ý¹æ¶¨ÊýÁ¿
|
#define TH_ERR_NODOG -1 //ûÓÐÕÒµ½¼ÓÃܹ·
|
#define TH_ERR_CARTYPEERROR -2 //³µÁ¾ÀàÐÍʶ±ðÄ£¿é´íÎó
|
#define TH_ERR_READDOG -3 //¶ÁÈ¡¼ÓÃܹ·³ö´í
|
#define TH_ERR_INVALIDDOG -4 //²»ÊǺϷ¨µÄ¼ÓÃܹ·
|
#define TH_ERR_INVALIDUSER -6 //²»ÊǺϷ¨µÄ¼ÓÃܹ·Óû§
|
#define TH_ERR_MOUDLEERROR -7 //³µ±êʶ±ðÄ£¿é´íÎó
|
#define TH_ERR_INVALIDMOUDLE -8 //Ä£¿éûÓкϷ¨ÊÚȨ
|
#define TH_ERR_BUFFULL -9 //ʶ±ð»º³åÇøÒÑÂú
|
#define TH_ERR_INITVEHDETECT -10 //³õʼ»¯³µÁ¾¼ì²âÄ£¿é´íÎó
|
#define TH_ERR_VEHDETECT -11 //³µÁ¾¼ì²âÄ£¿é´íÎó
|
#define TH_ERR_INVALIDCALL -99 //·Ç·¨µ÷ÓÃ
|
#define TH_ERR_EXCEPTION -100 //Òì³£
|
#define TH_ERR_INITLIMIT 21 //³õʼ»¯´ÎÊý³¬¹ý¼ÓÃܹ·Ðí¿É
|
#define TH_ERR_MULTIINSTANCE 22 //³µÅÆÊ¶±ðʵÀý³¬ÏÞÖÆ
|
|
//ÒÔÏÂΪ³µÐÍʶ±ðËã·¨·µ»Ø´íÎó
|
#define TH_ERR_CARMODEL_PLATELOC_ERR 1001 //³µÅÆ×ø±êÐÅÏ¢Òì³£
|
#define TH_ERR_READMODEL 1002 //¶Á³µÐÍÄ£ÐÍÒì³£
|
|
#ifdef __cplusplus
|
} // extern "C"
|
#endif
|
|
#endif // !defined(__TH_ERRORDEF_INCLUDE_H__)
|