|
Dlib FaceLandmark Detector 2.0.3
Enox Software
|
Base class for disposable Dlib wrapper types implementing the standard dispose pattern. More...
Public Member Functions | |
| void | Dispose () |
| Releases resources used by this object. | |
| void | ThrowIfDisposed () |
| Throws ObjectDisposedException if this object has been disposed. | |
Static Public Member Functions | |
| static IntPtr | ThrowIfNullIntPtr (IntPtr ptr) |
| Returns the native pointer, or throws DlibException if it is zero. | |
Protected Member Functions | |
| DisposableObject () | |
| Initializes a new instance with dispose enabled. | |
| DisposableObject (bool isEnabledDispose) | |
| Initializes a new instance. | |
| virtual void | Dispose (bool disposing) |
Properties | |
| bool | IsDisposed [get, protected set] |
| bool | IsEnabledDispose [get, set] |
Base class for disposable Dlib wrapper types implementing the standard dispose pattern.
|
protected |
Initializes a new instance with dispose enabled.
|
protected |
Initializes a new instance.
| isEnabledDispose | Whether Dispose releases resources. |
| void DlibFaceLandmarkDetector.DisposableObject.Dispose | ( | ) |
Releases resources used by this object.
|
protectedvirtual |
Reimplemented in DlibFaceLandmarkDetector.DisposableDlibObject, and DlibFaceLandmarkDetector.FaceLandmarkDetector.
| void DlibFaceLandmarkDetector.DisposableObject.ThrowIfDisposed | ( | ) |
Throws ObjectDisposedException if this object has been disposed.
|
static |
Returns the native pointer, or throws DlibException if it is zero.
| ptr | Native pointer to validate. |
|
getprotected set |
|
getset |