Click or drag to resize

IMcResourceManager Methods

The IMcResourceManager type exposes the following members.

Methods
  NameDescription
Public methodAdjustTasksQueued
Atomically adjusts the TasksQueued property by the given delta value.
Public methodDoCommand
Public methodEngineCreationOrderFromOperator
Returns the engine creation order of a given Operator (an interface that exposes IMcHasObject).
Public methodEngineFromCreationOrder
Returns the engine associated with a given creation order.
Public methodFreeUpMemory
Controls freeing up an amount of memory for a given use (memory type).
Public methodRefreshMemory
Either inquire about an existing memory reservation or revise an existing reservation.
Public methodRefreshThreads
This function releases the threads owned by the threadHandle and reserves numberThreads in one call using the same rules as ReserveThreads.
Public methodReleaseMemory
This function releases the memory owned by memoryHandle. A PropertyChanged( ID_IMcResourceManager_ReleaseMemory, type) event is fired after the reserved memory block is removed. The event type argument gives the mcMemoryType of the removed block. Tasks that are waiting for reservable memory can handle this event to know when reservable memory becomes available. The currently reservable memory for a given type can be determined by calling ReserveMemory with the PcntOrMBytes argument set to zero.
Public methodReleaseThreads
This function releases threads previously allocated with ReserveThreads.
Public methodReserveMemory
This function is used to reserve some memory, no allocation is made.
Public methodReserveThreads
This function reserves numberTreads threads of the given type and increment the thread properties accordingly.
Public methodResetSettings
Notifies the ResourceManager that settings have been reset (removed).
Public methodSetMemoryLimit
Controls the memory limits that determine the maximum amount of memory available for a given use (memory type).
Top
See Also