vtkOutputPort Class Reference
#include <vtkOutputPort.h>
Inheritance diagram for vtkOutputPort:
[legend]Collaboration diagram for vtkOutputPort:
[legend]List of all members.
Detailed Description
Connects pipelines in different processes.
OutputPort Connects the pipeline in this process to one in another processes. It communicates all the pipeline protocol so that the fact you are running in multiple processes is transparent. The output port is placed at the end of the pipeline (an output for a process). It can have multiple corresponding input ports in other processes that receive its data. Updates in a port are triggered asynchronously, so filter with multiple inputs will take advantage of task parallelism.
- See also:
- vtkInputPort vtkMultiProcessController
- Events:
- vtkCommand::StartEvent vtkCommand::EndEvent
- Created by:
-
- CVS contributions (if > 5%):
- Geveci, Berk (83%)
- Martin, Ken (10%)
- Cedilnik, Andy (5%)
- CVS logs (CVSweb):
.cxx (/Parallel/vtkOutputPort
.cxx)
.h (/Parallel/vtkOutputPort
.h)
- Examples:
- vtkOutputPort (Examples)
- Tests:
- vtkOutputPort (Tests)
Definition at line 59 of file vtkOutputPort.h.
Member Typedef Documentation
Constructor & Destructor Documentation
vtkOutputPort::vtkOutputPort |
( |
|
) |
[protected] |
|
Member Function Documentation
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkAlgorithm. |
virtual const char* vtkOutputPort::GetClassName |
( |
|
) |
[virtual] |
|
int vtkOutputPort::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkProcessObject. |
virtual int vtkOutputPort::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkProcessObject. |
void vtkOutputPort::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 vtkProcessObject. |
|
Should accept vtkDataObjects in the future. |
|
Should accept vtkDataObjects in the future. |
void vtkOutputPort::SetTag |
( |
int |
tag |
) |
|
|
|
Output is specified by the process the output port is in, and a tag so there can be more than one output port per process. Tag must be set before this port can be used. THIS TAG MUST BE EVEN BECAUSE TWO RMIs ARE CREATED FROM IT!!! |
virtual int vtkOutputPort::GetTag |
( |
|
) |
[virtual] |
|
|
Output is specified by the process the output port is in, and a tag so there can be more than one output port per process. Tag must be set before this port can be used. THIS TAG MUST BE EVEN BECAUSE TWO RMIs ARE CREATED FROM IT!!! |
void vtkOutputPort::WaitForUpdate |
( |
|
) |
|
|
|
This just forwards the wait onto the controller, which will wait for a message for any of its ports (or any RMI). Since this method is implemented in the controller, multiple output ports can be waiting at once (as long as they share a controller). This method will only return if the BreakFlag is turned on in the controller. The controller automatically creates a break rmi with the vtkMultiProcessController::BREAK_RMI_TAG for doing this remotely. |
|
Access to the global controller. |
|
Access to the global controller. |
void vtkOutputPort::TriggerUpdateInformation |
( |
int |
remoteProcessId |
) |
|
|
|
RMI function needs to call this. Should make function a friend. No one else should call it. |
void vtkOutputPort::TriggerUpdate |
( |
int |
remoteProcessId |
) |
|
|
|
RMI function needs to call this. Should make function a friend. No one else should call it. |
virtual void vtkOutputPort::SetPipelineFlag |
( |
int |
|
) |
[virtual] |
|
|
Trying to get pipeline parallelism working. |
virtual int vtkOutputPort::GetPipelineFlag |
( |
|
) |
[virtual] |
|
|
Trying to get pipeline parallelism working. |
virtual void vtkOutputPort::PipelineFlagOn |
( |
|
) |
[virtual] |
|
|
Trying to get pipeline parallelism working. |
virtual void vtkOutputPort::PipelineFlagOff |
( |
|
) |
[virtual] |
|
|
Trying to get pipeline parallelism working. |
void vtkOutputPort::SetParameterMethod |
( |
void(* |
f)(void *), |
|
|
void * |
arg |
|
) |
|
|
|
This method is called after the port updates. It is meant to change a parameter if a series is being processed (for pipeline parallelism). |
void vtkOutputPort::SetParameterMethodArgDelete |
( |
void(* |
f)(void *) |
) |
|
|
|
Set the arg delete method. This is used to free user memory. |
virtual int vtkOutputPort::FillInputPortInformation |
( |
int |
, |
|
|
vtkInformation * |
|
|
) |
[protected, virtual] |
|
|
Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.
Reimplemented from vtkProcessObject. |
Member Data Documentation
The documentation for this class was generated from the following file: