VTK
Public Member Functions
vtkProcessingUnitResource Class Reference

#include <vtkComputingResources.h>

List of all members.

Public Member Functions

virtual ~vtkProcessingUnitResource ()
virtual int ProcessingUnit ()=0
virtual bool HasResource ()=0
virtual void Clear ()=0
virtual void ObtainMinimum ()=0
virtual void ObtainMaximum ()=0
virtual void IncreaseByRatio (float ratio, vtkProcessingUnitResource *refResource)=0
virtual void AllocateFor (vtkThreadedStreamingPipeline *exec)=0
virtual bool CanAccommodate (vtkProcessingUnitResource *refResource)=0
virtual void Reserve (vtkProcessingUnitResource *refResource)=0
virtual void Collect (vtkProcessingUnitResource *refResource)=0

Detailed Description

Definition at line 105 of file vtkComputingResources.h.


Constructor & Destructor Documentation

Definition at line 107 of file vtkComputingResources.h.


Member Function Documentation

virtual int vtkProcessingUnitResource::ProcessingUnit ( ) [pure virtual]

Return the type of unit this computing resource is holding

virtual bool vtkProcessingUnitResource::HasResource ( ) [pure virtual]

Return true if this resource is not empty

virtual void vtkProcessingUnitResource::Clear ( ) [pure virtual]

Make this resource empty

virtual void vtkProcessingUnitResource::ObtainMinimum ( ) [pure virtual]

Give this object a minimum amount of resource it can allocate

virtual void vtkProcessingUnitResource::ObtainMaximum ( ) [pure virtual]

Give this object a maximum amount of resource it can allocate

virtual void vtkProcessingUnitResource::IncreaseByRatio ( float  ratio,
vtkProcessingUnitResource refResource 
) [pure virtual]

Given a ratio and a resource, increase this resource by a ratio of the reference resource. This is the basic function for resource distributing

This actually set the amount of resource on the algorithm holding by the input executive

virtual bool vtkProcessingUnitResource::CanAccommodate ( vtkProcessingUnitResource refResource) [pure virtual]

Return true if this object can allocate at least refResource

virtual void vtkProcessingUnitResource::Reserve ( vtkProcessingUnitResource refResource) [pure virtual]

Reserve an amount of resource given by refResource from this object

virtual void vtkProcessingUnitResource::Collect ( vtkProcessingUnitResource refResource) [pure virtual]

Add an amount of resource given by refResource to this object


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