Growing memory storage
Inheritance Hierarchy
OpenCvSharpDisposableObject
OpenCvSharpDisposableCvObject
OpenCvSharpCvMemStorage
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
The CvMemStorage type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | CvMemStorage |
Creates memory storage
|
![]() | CvMemStorage(Int32) |
Creates memory storage
|
![]() | CvMemStorage(IntPtr) |
Initializes from native poitner
|
Properties
Name | Description | |
---|---|---|
![]() | AllocatedMemory |
Gets or sets a memory address allocated by AllocMemory.
(Inherited from DisposableObject.) |
![]() | AllocatedMemorySize |
Gets or sets the byte length of the allocated memory
(Inherited from DisposableObject.) |
![]() | BlockSize |
block size
|
![]() | Bottom |
first allocated block
|
![]() | CvPtr |
Native pointer of OpenCV structure
(Inherited from DisposableCvObject.) |
![]() | FreeSpace |
free space in the top block (in bytes)
|
![]() | IsDisposed |
Gets a value indicating whether this instance has been disposed.
(Inherited from DisposableObject.) |
![]() | IsEnabledDispose |
Gets or sets a value indicating whether you permit disposing this instance.
(Inherited from DisposableObject.) |
![]() | Parent |
borrows new blocks from
|
![]() | Signature | |
![]() | Top |
the current memory block - top of the stack
|
Methods
Name | Description | |
---|---|---|
![]() | Alloc |
Allocates memory buffer in the storage (cvMemStorageAlloc).
|
![]() | AllocGCHandle |
Pins the object to be allocated by cvSetData.
(Inherited from DisposableObject.) |
![]() | AllocMemory |
Allocates the specified size of memory.
(Inherited from DisposableObject.) |
![]() | AllocString |
Allocates text string in the storage (cvMemStorageAllocString).
|
![]() | Clear |
Clears memory storage (cvClearMemStorage).
|
![]() | CreateChild |
Creates child memory storage (cvCreateChildMemStorage).
|
![]() | Dispose |
Releases the resources
(Inherited from DisposableObject.) |
![]() | Dispose(Boolean) |
Clean up any resources being used.
(Overrides DisposableCvObjectDispose(Boolean).) |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize |
Destructor
(Inherited from DisposableObject.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | NotifyMemoryPressure |
Notifies the allocated size of memory.
(Inherited from DisposableObject.) |
![]() | RestorePos |
Restores memory storage position (cvRestoreMemStoragePos).
|
![]() | SavePos |
Saves memory storage position (cvSaveMemStoragePos).
|
![]() | ThrowIfDisposed |
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.) |
![]() | ToString | (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
![]() | dataHandle |
Gets or sets a handle which allocates using cvSetData.
(Inherited from DisposableObject.) |
![]() | ptr |
Data pointer
(Inherited from DisposableCvObject.) |
![]() ![]() | SizeOf |
sizeof(CvMemStorage)
|
See Also