ActiViz .NET  5.8.0
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Private Member Functions | Static Private Member Functions
Kitware.VTK.vtkExodusIICache Class Reference

============================================================================ The following classes define an LRU cache for data arrays loaded by the Exodus reader. Here's how they work: More...

Inheritance diagram for Kitware.VTK.vtkExodusIICache:
[legend]
Collaboration diagram for Kitware.VTK.vtkExodusIICache:
[legend]

List of all members.

Public Member Functions

 vtkExodusIICache (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkExodusIICache ()
 Undocumented Block.
void Clear ()
 Empty the cache.
double GetSpaceLeft ()
 Set the maximum allowable cache size. This will remove cache entries if the capacity is reduced below the current size.
override int IsA (string type)
 Undocumented Block.
new vtkExodusIICache NewInstance ()
 Undocumented Block.
int ReduceToSize (double newSize)
 Set the maximum allowable cache size. This will remove cache entries if the capacity is reduced below the current size.
void SetCacheCapacity (double sizeInMiB)
 Set the maximum allowable cache size. This will remove cache entries if the capacity is reduced below the current size.

Static Public Member Functions

static new vtkExodusIICache New ()
 Undocumented Block.
static new int IsTypeOf (string type)
 Undocumented Block.
static new vtkExodusIICache SafeDownCast (vtkObjectBase o)
 Undocumented Block.

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkExodusIICache"
 Automatically generated type registration mechanics.

Static Public Attributes

static new readonly string MRClassNameKey = "16vtkExodusIICache"
 Automatically generated type registration mechanics.

Protected Member Functions

override void Dispose (bool disposing)
 Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Private Member Functions

static internal IntPtr vtkExodusIICache_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkExodusIICache_Clear_01 (HandleRef pThis)
static internal double vtkExodusIICache_GetSpaceLeft_02 (HandleRef pThis)
static internal int vtkExodusIICache_IsA_03 (HandleRef pThis, string type)
static internal int vtkExodusIICache_IsTypeOf_04 (string type)
static internal IntPtr vtkExodusIICache_NewInstance_06 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkExodusIICache_ReduceToSize_07 (HandleRef pThis, double newSize)
static internal IntPtr vtkExodusIICache_SafeDownCast_08 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkExodusIICache_SetCacheCapacity_09 (HandleRef pThis, double sizeInMiB)

Static Private Member Functions

static vtkExodusIICache ()
 Automatically generated type registration mechanics.

Detailed Description

============================================================================ The following classes define an LRU cache for data arrays loaded by the Exodus reader. Here's how they work:

The actual cache consists of two STL containers: a set of cache entries (vtkExodusIICacheEntry) and a list of cache references (vtkExodusIICacheRef). The entries in these containers are sorted for fast retrieval: 1. The cache entries are indexed by the timestep, the object type (edge block, face set, ...), and the object ID (if one exists). When you call Find() to retrieve a cache entry, you provide a key containing this information and the array is returned if it exists. 2. The list of cache references are stored in "least-recently-used" order. The least recently referenced array is the first in the list. Whenever you request an entry with Find(), it is moved to the back of the list if it exists. This makes retrieving arrays O(n log n) and popping LRU entries O(1). Each cache entry stores an iterator into the list of references so that it can be located quickly for removal.


Constructor & Destructor Documentation

static Kitware.VTK.vtkExodusIICache.vtkExodusIICache ( ) [static, private]

Automatically generated type registration mechanics.

Kitware.VTK.vtkExodusIICache.vtkExodusIICache ( IntPtr  rawCppThis,
bool  callDisposalMethod,
bool  strong 
)

Automatically generated constructor - called from generated code. DO NOT call directly.

Undocumented Block.


Member Function Documentation

Empty the cache.

override void Kitware.VTK.vtkExodusIICache.Dispose ( bool  disposing) [protected]

Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Reimplemented from Kitware.VTK.vtkObject.

Set the maximum allowable cache size. This will remove cache entries if the capacity is reduced below the current size.

override int Kitware.VTK.vtkExodusIICache.IsA ( string  type) [virtual]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

static new int Kitware.VTK.vtkExodusIICache.IsTypeOf ( string  type) [static]

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Set the maximum allowable cache size. This will remove cache entries if the capacity is reduced below the current size.

Undocumented Block.

Reimplemented from Kitware.VTK.vtkObject.

Here is the call graph for this function:

Set the maximum allowable cache size. This will remove cache entries if the capacity is reduced below the current size.

static internal void Kitware.VTK.vtkExodusIICache.vtkExodusIICache_Clear_01 ( HandleRef  pThis) [private]
static internal double Kitware.VTK.vtkExodusIICache.vtkExodusIICache_GetSpaceLeft_02 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkExodusIICache.vtkExodusIICache_IsA_03 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkExodusIICache.vtkExodusIICache_IsTypeOf_04 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkExodusIICache.vtkExodusIICache_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkExodusIICache.vtkExodusIICache_NewInstance_06 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkExodusIICache.vtkExodusIICache_ReduceToSize_07 ( HandleRef  pThis,
double  newSize 
) [private]
static internal IntPtr Kitware.VTK.vtkExodusIICache.vtkExodusIICache_SafeDownCast_08 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkExodusIICache.vtkExodusIICache_SetCacheCapacity_09 ( HandleRef  pThis,
double  sizeInMiB 
) [private]

Member Data Documentation

new readonly string Kitware.VTK.vtkExodusIICache.MRClassNameKey = "16vtkExodusIICache" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.

new const string Kitware.VTK.vtkExodusIICache.MRFullTypeName = "Kitware.VTK.vtkExodusIICache"

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkObject.


The documentation for this class was generated from the following file: