Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages
vtkAsynchronousBuffer Class Reference
For pipeline execution in multiple threads.
More...
#include <vtkAsynchronousBuffer.h>
Inheritance diagram for vtkAsynchronousBuffer:
[legend]Collaboration diagram for vtkAsynchronousBuffer:
[legend]List of all members.
Detailed Description
For pipeline execution in multiple threads.
-
Date:
-
2000/12/10 20:08:22
-
Revision:
-
1.12
vtkAsynchronousBuffer will allow a non-blocking update of a pipeline. When Blocking is off, the a call to Update returns immediately, and the Update continues in another thread. An abort mechanism has not been implemented. WARNING: While the buffer is updating, the upstream pipeline cannot be modified or caused to update by the main thread. WARNING: This object is currently in development, and its API may change in the future (or the class may go away completely).
-
See also:
-
vtkMutexLock vtkMultiThreader
-
Examples:
-
vtkAsynchronousBuffer (examples)
Definition at line 70 of file vtkAsynchronousBuffer.h.
Constructor & Destructor Documentation
vtkAsynchronousBuffer::vtkAsynchronousBuffer |
( |
|
) |
[protected] |
|
vtkAsynchronousBuffer::~vtkAsynchronousBuffer |
( |
|
) |
[protected] |
|
vtkAsynchronousBuffer::vtkAsynchronousBuffer |
( |
const vtkAsynchronousBuffer & |
|
) |
[inline, protected] |
|
Member Function Documentation
virtual const char* vtkAsynchronousBuffer::GetClassName |
( |
|
) |
[virtual] |
|
int vtkAsynchronousBuffer::IsTypeOf |
( |
const char * |
type |
) |
[static] |
|
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkDataSetToDataSetFilter. |
virtual int vtkAsynchronousBuffer::IsA |
( |
const char * |
type |
) |
[virtual] |
|
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkDataSetToDataSetFilter. |
vtkAsynchronousBuffer* vtkAsynchronousBuffer::SafeDownCast |
( |
vtkObject * |
o |
) |
[static] |
|
void vtkAsynchronousBuffer::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
[virtual] |
|
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkSource. |
vtkAsynchronousBuffer* vtkAsynchronousBuffer::New |
( |
|
) |
[static] |
|
|
Instantiate object with no start, end, or progress methods.
Reimplemented from vtkDataSetSource. |
virtual void vtkAsynchronousBuffer::SetBlocking |
( |
int |
|
) |
[virtual] |
|
|
A flag to change the behavior of the standard "Update" call. When blocking is off, then this method starts an update on the input, and returns immediately. If an additional call is made before an update is finished, it returns with no effect. If it is called after a previous update has completed, it swaps the buffers and checks to see if another update needs to occur. |
virtual int vtkAsynchronousBuffer::GetBlocking |
( |
|
) |
[virtual] |
|
virtual void vtkAsynchronousBuffer::BlockingOn |
( |
|
) |
[virtual] |
|
virtual void vtkAsynchronousBuffer::BlockingOff |
( |
|
) |
[virtual] |
|
void vtkAsynchronousBuffer::InternalUpdate |
( |
vtkDataObject * |
output |
) |
|
|
|
The behavior of this method depends on the "Blocking" flag. |
void vtkAsynchronousBuffer::BlockingUpdate |
( |
|
) |
|
|
|
Methods required by the vtkPort superclass. |
void vtkAsynchronousBuffer::NonblockingUpdate |
( |
|
) |
|
|
void vtkAsynchronousBuffer::PromoteData |
( |
|
) |
|
|
int vtkAsynchronousBuffer::TestForFinished |
( |
|
) |
|
|
void vtkAsynchronousBuffer::WaitForFinished |
( |
|
) |
|
|
void vtkAsynchronousBuffer::UpdateInformation |
( |
|
) |
[virtual] |
|
|
We need a special UpdateInformation method because the PipelineMTime is messed up by the asynchronous nature of the update. The UpdateTime of a down stream filter can not be compared to the modifiedTime of an up stream object.
Reimplemented from vtkSource. |
virtual unsigned char vtkAsynchronousBuffer::GetFinished |
( |
|
) |
[virtual] |
|
|
If this value is 1 then, the buffer is in the middle of an asynchronous update. |
void vtkAsynchronousBuffer::operator= |
( |
const vtkAsynchronousBuffer & |
|
) |
[inline, protected] |
|
void vtkAsynchronousBuffer::BlockingUpdateInformation |
( |
|
) |
[protected] |
|
void vtkAsynchronousBuffer::NonblockingUpdateInformation |
( |
|
) |
[protected] |
|
void vtkAsynchronousBuffer::Execute |
( |
|
) |
[protected, virtual] |
|
Member Data Documentation
unsigned char vtkAsynchronousBuffer::Finished
|
|
unsigned char vtkAsynchronousBuffer::OutputConsumed
|
|
int vtkAsynchronousBuffer::Blocking [protected]
|
|
int vtkAsynchronousBuffer::ThreadId [protected]
|
|
The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:46:29 2001 for VTK by
1.2.11.1 written by Dimitri van Heesch,
© 1997-2001