Represents a class which manages its own memory.
Inheritance Hierarchy
OpenCvSharpDisposableObject
More...
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The DisposableObject type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DisposableObject |
Default constructor
| |
DisposableObject(Boolean) |
Constructor
|
Properties
Name | Description | |
---|---|---|
AllocatedMemory |
Gets or sets a memory address allocated by AllocMemory.
| |
AllocatedMemorySize |
Gets or sets the byte length of the allocated memory
| |
IsDisposed |
Gets a value indicating whether this instance has been disposed.
| |
IsEnabledDispose |
Gets or sets a value indicating whether you permit disposing this instance.
|
Methods
Name | Description | |
---|---|---|
AllocGCHandle |
Pins the object to be allocated by cvSetData.
| |
AllocMemory |
Allocates the specified size of memory.
| |
Dispose |
Releases the resources
| |
Dispose(Boolean) |
Releases the resources
| |
Equals | (Inherited from Object.) | |
Finalize |
Destructor
(Overrides ObjectFinalize.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
NotifyMemoryPressure |
Notifies the allocated size of memory.
| |
ThrowIfDisposed |
If this object is disposed, then ObjectDisposedException is thrown.
| |
ToString | (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
dataHandle |
Gets or sets a handle which allocates using cvSetData.
|
See Also
Reference
Inheritance Hierarchy
OpenCvSharpDisposableObject
OpenCvSharp.CPlusPlusWindow
OpenCvSharpCvButton
OpenCvSharpCvLevMarq
OpenCvSharpCvTrackbar
OpenCvSharpCvWindow
OpenCvSharpDisposableCvObject
OpenCvSharp.UtilitiesArrayAddress1T
OpenCvSharp.UtilitiesArrayAddress2T
OpenCvSharp.UtilitiesDynamicInvokerT