IMcResourceManager Methods |
![]() |
The IMcResourceManager type exposes the following members.
Name | Description | |
---|---|---|
![]() | AdjustTasksQueued | Atomically adjusts the TasksQueued property by the given delta value. |
![]() | DoCommand | |
![]() | EngineCreationOrderFromOperator | Returns the engine creation order of a given Operator (an interface that exposes IMcHasObject). |
![]() | EngineFromCreationOrder | Returns the engine associated with a given creation order. |
![]() | FreeUpMemory | Controls freeing up an amount of memory for a given use (memory type). |
![]() | RefreshMemory | Either inquire about an existing memory reservation or revise an existing
reservation. |
![]() | RefreshThreads | This function releases the threads owned by the threadHandle and reserves numberThreads in one call using the same rules as ReserveThreads. |
![]() | ReleaseMemory | 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. |
![]() | ReleaseThreads | This function releases threads previously allocated with ReserveThreads. |
![]() | ReserveMemory | This function is used to reserve some memory, no allocation is made. |
![]() | ReserveThreads | This function reserves numberTreads threads of the given type and increment the thread properties accordingly. |
![]() | ResetSettings | Notifies the ResourceManager that settings have been reset (removed). |
![]() | SetMemoryLimit | Controls the memory limits that determine the maximum amount of memory
available for a given use (memory type). |