Define an error callback that can be registered using cvRedirectError function
Namespace:
Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
C# |
---|
public delegate int CvErrorCallback( int status, string funcName, string errMsg, string fileName, int line, IntPtr userData ) |
Visual Basic (Declaration) |
---|
Public Delegate Function CvErrorCallback ( _ status As Integer, _ funcName As String, _ errMsg As String, _ fileName As String, _ line As Integer, _ userData As IntPtr _ ) As Integer |
Visual C++ |
---|
public delegate int CvErrorCallback( int status, String^ funcName, String^ errMsg, String^ fileName, int line, IntPtr userData ) |
Parameters
- status
- Type: System..::.Int32
The numeric code for error status
- funcName
- Type: System..::.String
The source file name where error is encountered
- errMsg
- Type: System..::.String
A description of the error
- fileName
- Type: System..::.String
The source file name where error is encountered
- line
- Type: System..::.Int32
The line number in the souce where error is encountered
- userData
- Type: System..::.IntPtr
Arbitrary pointer that is transparetly passed to the error handler.