DisposableObject Class OpenCvSharp Class Library
Represents a class which manages its own memory.
Inheritance Hierarchy

SystemObject
  OpenCvSharpDisposableObject
    More...

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public abstract class DisposableObject : IDisposable

The DisposableObject type exposes the following members.

Constructors

  NameDescription
Protected methodDisposableObject
Default constructor
Protected methodDisposableObject(Boolean)
Constructor
Top
Properties

  NameDescription
Protected propertyAllocatedMemory
Gets or sets a memory address allocated by AllocMemory.
Protected propertyAllocatedMemorySize
Gets or sets the byte length of the allocated memory
Public propertyIsDisposed
Gets a value indicating whether this instance has been disposed.
Public propertyIsEnabledDispose
Gets or sets a value indicating whether you permit disposing this instance.
Top
Methods

  NameDescription
Protected methodAllocGCHandle
Pins the object to be allocated by cvSetData.
Protected methodAllocMemory
Allocates the specified size of memory.
Public methodDispose
Releases the resources
Protected methodDispose(Boolean)
Releases the resources
Public methodEquals (Inherited from Object.)
Protected methodFinalize
Destructor
(Overrides ObjectFinalize.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodNotifyMemoryPressure
Notifies the allocated size of memory.
Public methodThrowIfDisposed
If this object is disposed, then ObjectDisposedException is thrown.
Public methodToString (Inherited from Object.)
Top
Fields

  NameDescription
Protected fielddataHandle
Gets or sets a handle which allocates using cvSetData.
Top
See Also

Reference

Inheritance Hierarchy

SystemObject
  OpenCvSharpDisposableObject
    OpenCvSharp.CPlusPlusWindow
    OpenCvSharpCvButton
    OpenCvSharpCvLevMarq
    OpenCvSharpCvTrackbar
    OpenCvSharpCvWindow
    OpenCvSharpDisposableCvObject
    OpenCvSharp.UtilitiesArrayAddress1T
    OpenCvSharp.UtilitiesArrayAddress2T
    OpenCvSharp.UtilitiesDynamicInvokerT