Click or drag to resize

PixelMemoryTracker Class

This is a singleton class that is used for tracking memory used by images.
Inheritance Hierarchy
SystemObject
  Atalasoft.Imaging.MemoryPixelMemoryTracker

Namespace:  Atalasoft.Imaging.Memory
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public class PixelMemoryTracker

The PixelMemoryTracker type exposes the following members.

Properties
  NameDescription
Public propertyHighWatermark
Sets or gets a trigger point for memory events.
Public propertyStatic memberMemory
Returns a singleton object used for tracking memory.
Public propertyMemoryInUse
Indicates the total amount of memory in use by AtalaImage objects.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMemoryAllocated(IntPtr, Int64)
This method is used to report an allocation of image memory.
Public methodMemoryAllocated(Object, Int64)
Report than an object has allocated memory.
Public methodMemoryFreed(IntPtr)
Reports a block of memory as free.
Public methodMemoryFreed(Object)
Marks memory as free
Public methodMemoryReallocated
This method is used to report when a block of allocated image memory has been reallocated.
Protected methodOnDroppedBelowHighWatermark
This method handles when memory usage has dropped below the high water mark.
Protected methodOnExceededHighWatermark
This method handles when memory usage has exceeded the high water mark
Protected methodOnMemoryInUseChanged
This method handles when memory usage has changed in some way
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventDroppedBelowHighWatermark
This event is fired is MemoryInUse drops below the HighWatermark property of PixelMemoryTracker
Public eventExceededHighWatermark
This event is fired is MemoryInUse exceeds the HighWatermark property of PixelMemoryTracker
Public eventMemoryInUseChanged
An event for reporting changes in the current memory use.
Top
See Also