Table of Contents

Delegate CvInvoke.CvErrorCallback

Namespace
Emgu.CV
Assembly
Emgu.CV.dll

Define an error callback that can be registered using RedirectError function

public delegate int CvInvoke.CvErrorCallback(int status, nint funcName, nint errMsg, nint fileName, int line, nint userData)

Parameters

status int

The numeric code for error status

funcName nint

The source file name where error is encountered

errMsg nint

A description of the error

fileName nint

The source file name where error is encountered

line int

The line number in the source where error is encountered

userData nint

Arbitrary pointer that is transparently passed to the error handler.

Returns

int

Constructors

CvErrorCallback(object, nint)

public CvErrorCallback(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(int, nint, nint, nint, int, nint, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(int status, nint funcName, nint errMsg, nint fileName, int line, nint userData, AsyncCallback callback, object @object)

Parameters

status int
funcName nint
errMsg nint
fileName nint
line int
userData nint
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual int EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Returns

int

Invoke(int, nint, nint, nint, int, nint)

public virtual int Invoke(int status, nint funcName, nint errMsg, nint fileName, int line, nint userData)

Parameters

status int
funcName nint
errMsg nint
fileName nint
line int
userData nint

Returns

int