DisposableObject Class |
Namespace: OpenCvSharp
The DisposableObject type exposes the following members.
Name | Description | |
---|---|---|
DisposableObject |
Default constructor
| |
DisposableObject(Boolean) |
Constructor
|
Name | Description | |
---|---|---|
AllocatedMemory |
Gets or sets a memory address allocated by AllocMemory.
| |
AllocatedMemorySize |
Gets or sets the byte length of the allocated memory
| |
DataHandle |
Gets or sets a handle which allocates using cvSetData.
| |
IsDisposed |
Gets a value indicating whether this instance has been disposed.
| |
IsEnabledDispose |
Gets or sets a value indicating whether you permit disposing this instance.
|
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
| |
DisposeManaged |
Releases managed resources
| |
DisposeUnmanaged |
Releases unmanaged resources
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize |
Destructor
(Overrides ObjectFinalize.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
NotifyMemoryPressure |
Notifies the allocated size of memory.
| |
ThrowIfDisposed |
If this object is disposed, then ObjectDisposedException is thrown.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |