vtkProcessingUnitResource Class Reference

#include <vtkComputingResources.h>

List of all members.


Detailed Description

Definition at line 104 of file vtkComputingResources.h.


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

Constructor & Destructor Documentation

virtual vtkProcessingUnitResource::~vtkProcessingUnitResource (  )  [inline, virtual]

Definition at line 106 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

virtual void vtkProcessingUnitResource::AllocateFor ( vtkThreadedStreamingPipeline exec  )  [pure virtual]

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:

Generated on Wed Aug 24 11:58:05 2011 for VTK by  doxygen 1.5.6