CVB++ 15.0
Cvb::ErrorCodes Namespace Reference

Classic API error codes. More...

Variables

const int CVB_OK = CExports::CVC_E_OK
 No error occurred.
 
const int CVB_ERROR = static_cast<int>(CExports::CVC_E_ERROR | 0x80000000)
 Generic unspecified error.
 
const int CVB_PARAMETER = static_cast<int>(CExports::CVC_E_PARAMETER | 0x80000000)
 Parameter error.
 
const int CVB_FILEIO = static_cast<int>(CExports::CVC_E_FILEIO | 0x80000000)
 File I/O error.
 
const int CVB_TIMEOUT = static_cast<int>(CExports::CVC_E_TIMEOUT | 0x80000000)
 Timeout in function.
 
const int CVB_MEMORY = static_cast<int>(CExports::CVC_E_MEMORY | 0x80000000)
 Memory allocation failed.
 
const int CVB_INVALIDPLANE = static_cast<int>(CExports::CVC_E_INVALIDPLANE | 0x80000000)
 Invalid plane used.
 
const int CVB_UNSUPPORTEDDATATYPE = static_cast<int>(CExports::CVC_E_UNSUPPORTEDDATATYPE | 0x80000000)
 Unsupported data type.
 
const int CVB_INVALIDCAMERAPORT = static_cast<int>(CExports::CVC_E_INVALIDCAMERAPORT | 0x80000000)
 Invalid camera port.
 
const int CVB_BOARDSELECT = static_cast<int>(CExports::CVC_E_BOARDSELECT | 0x80000000)
 Board select failed.
 
const int CVB_INVALIDTRIGGERMODE = static_cast<int>(CExports::CVC_E_INVALIDTRIGGERMODE | 0x80000000)
 Invalid trigger mode.
 
const int CVB_PROPERTYREAD = static_cast<int>(CExports::CVC_E_PROPERTYREAD | 0x80000000)
 Property read error.
 
const int CVB_PROPERTYWRITE = static_cast<int>(CExports::CVC_E_PROPERTYWRITE | 0x80000000)
 Property write error.
 
const int CVB_INVALIDPORT = static_cast<int>(CExports::CVC_E_INVALIDPORT | 0x80000000)
 Invalid port.
 
const int CVB_PORTREAD = static_cast<int>(CExports::CVC_E_PORTREAD | 0x80000000)
 Could not read port.
 
const int CVB_PORTWRITE = static_cast<int>(CExports::CVC_E_PORTWRITE | 0x80000000)
 could not write port.
 
const int CVB_NOIMAGE = static_cast<int>(CExports::CVC_E_NOIMAGE | 0x80000000)
 No image at all.
 
const int CVB_NOINTERFACE = static_cast<int>(CExports::CVC_E_NOINTERFACE | 0x80000000)
 Interface not available.
 
const int CVB_BUSY = static_cast<int>(CExports::CVC_E_BUSY | 0x80000000)
 Hardware busy.
 
const int CVB_NOTSUPPORTED = static_cast<int>(CExports::CVC_E_NOTSUPPORTED | 0x80000000)
 A certain feature is not supported.
 
const int CVB_GRABABORTED = static_cast<int>(CExports::CVC_E_GRABABORTED | 0x80000000)
 Failure because grab was aborted.
 
const int CVB_NOPIXELLIST = static_cast<int>(CExports::CVC_E_NOPIXELLIST | 0x80000000)
 Pointer was not pointing to a pixel list.
 
const int CVB_NOTENOUGHDATA = static_cast<int>(CExports::CVC_E_NOTENOUGHDATA | 0x80000000)
 Too few data available for a calculation.
 
const int CVB_NOTRANSFORMATION = static_cast<int>(CExports::CVC_E_NOTRANSFORMATION | 0x80000000)
 The object passed to the function was not a NL-transformation object.
 
const int CVB_LINEAR_ONLY = static_cast<int>(CExports::CVC_E_LINEAR_ONLY | 0x80000000)
 The function only works on linear images.
 
const int CVB_DIVISIONBYZERO = static_cast<int>(CExports::CVC_E_DIVISIONBYZERO | 0x80000000)
 Division by zero was attempted.
 
const int CVB_INVALIDDIMENSION = static_cast<int>(CExports::CVC_E_INVALIDDIMENSION | 0x80000000)
 Invalid number of dimensions.
 
const int CVB_INVALIDCOLORMODEL = static_cast<int>(CExports::CVC_E_INVALIDCOLORMODEL | 0x80000000)
 Invalid color model.
 
const int CVB_INVALIDDATATYPE = static_cast<int>(CExports::CVC_E_INVALIDDATATYPE | 0x80000000)
 Invalid data type.
 
const int CVB_WRONGOBJECT = static_cast<int>(CExports::CVC_E_WRONGOBJECT | 0x80000000)
 Wrong object.
 
const int CVB_NOTREADY = static_cast<int>(CExports::CVC_E_NOTREADY | 0x80000000)
 Not ready for the requested operation.
 
const int CVB_NOANGLE = static_cast<int>(CExports::CVC_E_NOANGLE | 0x80000000)
 Not an angle object.
 
const int CVB_NOVECTOR2D = static_cast<int>(CExports::CVC_E_NOVECTOR2D | 0x80000000)
 Not a 2D vector object.
 
const int CVB_NOLINE2D = static_cast<int>(CExports::CVC_E_NOLINE2D | 0x80000000)
 Not a 2D line object.
 
const int CVB_VECTOR2D_ZERO_LENGTH = static_cast<int>(CExports::CVC_E_VECTOR2D_ZERO_LENGTH | 0x80000000)
 Vector has zero length.
 
const int CVB_VECTORS_IDENTICAL = static_cast<int>(CExports::CVC_E_VECTORS_IDENTICAL | 0x80000000)
 Identical vectors.
 
const int CVB_LINE2D_VERTICAL = static_cast<int>(CExports::CVC_E_LINE2D_VERTICAL | 0x80000000)
 Vertical line.
 
const int CVB_LINE2D_HORIZONTAL = static_cast<int>(CExports::CVC_E_LINE2D_HORIZONTAL | 0x80000000)
 Horizontal line.
 
const int CVB_NOARGUMENT = static_cast<int>(CExports::CVC_E_NOARGUMENT | 0x80000000)
 Argument cannot be calculated for x = y = 0.
 
const int CVB_LINE2D_UNDEFINED = static_cast<int>(CExports::CVC_E_LINE2D_UNDEFINED | 0x80000000)
 Line 2D object has not yet been defined.
 
const int CVB_NOINTERSECTION = static_cast<int>(CExports::CVC_E_NOINTERSECTION | 0x80000000)
 The lines provided to the function do not intersect.
 
const int CVB_NOCLIPPING = static_cast<int>(CExports::CVC_E_NOCLIPPING | 0x80000000)
 No clipping points available.
 
const int CVB_NOTENOUGHLINES = static_cast<int>(CExports::CVC_E_NOTENOUGHLINES | 0x80000000)
 Not enough lines to perform intersection.
 
const int CVB_OVERFLOW = static_cast<int>(CExports::CVC_E_OVERFLOW | 0x80000000)
 Input value was too big or did lead to a too big result.
 
const int CVB_NOCIRCLE = static_cast<int>(CExports::CVC_E_NOCIRCLE | 0x80000000)
 Object is not a 2D circle.
 
const int CVB_ACCESS = static_cast<int>(CExports::CVC_E_ACCESS | 0x80000000)
 Access error.
 
const int CVB_NOTPRESENT = static_cast<int>(CExports::CVC_E_NOTPRESENT | 0x80000000)
 Not present.
 
const int CVB_UNSUPPORTEDFEATURE = static_cast<int>(CExports::CVC_E_UNSUPPORTEDFEATURE | 0x80000000)
 The requested feature is not supported (may happen if a specific interface implementation cannot implement all functionality).
 
const int CVB_INVALIDINDEX = static_cast<int>(CExports::CVC_E_INVALIDINDEX | 0x80000000)
 Index in an indexed access exceeded limits.
 
const int CVB_NOOVERLAY = static_cast<int>(CExports::CVC_E_NOOVERLAY | 0x80000000)
 Image that is expected to have overlay bits does not have overlay bits.
 
const int CVB_INVALIDSTATE = static_cast<int>(CExports::CVC_E_INVALIDSTATE | 0x80000000)
 A state which does not allow to call a function.
 
const int CVB_EMPTYRESULT = static_cast<int>(CExports::CVC_E_EMPTYRESULT | 0x80000000)
 The function returned an empty result, e.g. nullptr for an empty point cloud.
 

Detailed Description

Classic API error codes.