Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkOutputPort Class Reference

Connects pipelines in different processes. More...

#include <vtkOutputPort.h>

Inheritance diagram for vtkOutputPort:

Inheritance graph
[legend]
Collaboration diagram for vtkOutputPort:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void SetInput (vtkDataObject *input)
vtkDataObjectGetInput ()
void SetTag (int tag)
virtual int GetTag ()
void WaitForUpdate ()
vtkMultiProcessControllerGetController ()
virtual void SetController (vtkMultiProcessController *)
void TriggerUpdateInformation (int remoteProcessId)
void TriggerUpdate (int remoteProcessId)
virtual void SetPipelineFlag (int)
virtual int GetPipelineFlag ()
virtual void PipelineFlagOn ()
virtual void PipelineFlagOff ()
void SetParameterMethod (void(*f)(void *), void *arg)
void SetParameterMethodArgDelete (void(*f)(void *))

Static Public Methods

vtkOutputPort * New ()
int IsTypeOf (const char *type)
vtkOutputPort * SafeDownCast (vtkObject *o)

Protected Methods

 vtkOutputPort ()
 ~vtkOutputPort ()
 vtkOutputPort (const vtkOutputPort &)
void operator= (const vtkOutputPort &)

Protected Attributes

int Tag
vtkMultiProcessControllerController
vtkTimeStamp UpdateTime
int PipelineFlag
void(* ParameterMethod )(void *)
void(* ParameterMethodArgDelete )(void *)
void * ParameterMethodArg

Detailed Description

Connects pipelines in different processes.

Date:
2000/12/10 20:08:25
Revision:
1.12

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
Examples:
vtkOutputPort (examples)

Definition at line 67 of file vtkOutputPort.h.


Constructor & Destructor Documentation

vtkOutputPort::vtkOutputPort   [protected]
 

vtkOutputPort::~vtkOutputPort   [protected]
 

vtkOutputPort::vtkOutputPort const vtkOutputPort &    [inline, protected]
 

Definition at line 119 of file vtkOutputPort.h.


Member Function Documentation

vtkOutputPort* vtkOutputPort::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkProcessObject.

virtual const char* vtkOutputPort::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkProcessObject.

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 vtkTypeMacro 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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkProcessObject.

vtkOutputPort* vtkOutputPort::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro 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.

void vtkOutputPort::SetInput vtkDataObject   input
 

Should accept vtkDataObjects in the future.

vtkDataObject* vtkOutputPort::GetInput  
 

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]
 

void vtkOutputPort::WaitForUpdate   [inline]
 

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 VTK_BREAK_RMI_TAG for doing this remotely.

Definition at line 92 of file vtkOutputPort.h.

vtkMultiProcessController* vtkOutputPort::GetController   [inline]
 

Access to the global controller.

Definition at line 95 of file vtkOutputPort.h.

virtual void vtkOutputPort::SetController vtkMultiProcessController   [virtual]
 

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
 

virtual void vtkOutputPort::SetPipelineFlag int    [virtual]
 

Trying to get pipeline parallelism working.

virtual int vtkOutputPort::GetPipelineFlag   [virtual]
 

virtual void vtkOutputPort::PipelineFlagOn   [virtual]
 

virtual void vtkOutputPort::PipelineFlagOff   [virtual]
 

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.

void vtkOutputPort::operator= const vtkOutputPort &    [inline, protected]
 

Definition at line 120 of file vtkOutputPort.h.


Member Data Documentation

int vtkOutputPort::Tag [protected]
 

Definition at line 122 of file vtkOutputPort.h.

vtkMultiProcessController* vtkOutputPort::Controller [protected]
 

Definition at line 124 of file vtkOutputPort.h.

vtkTimeStamp vtkOutputPort::UpdateTime [protected]
 

Definition at line 125 of file vtkOutputPort.h.

int vtkOutputPort::PipelineFlag [protected]
 

Definition at line 128 of file vtkOutputPort.h.

void(* vtkOutputPort::ParameterMethod)(void *) [protected]
 

void(* vtkOutputPort::ParameterMethodArgDelete)(void *) [protected]
 

void* vtkOutputPort::ParameterMethodArg [protected]
 

Definition at line 131 of file vtkOutputPort.h.


The documentation for this class was generated from the following file:
Generated on Wed Nov 21 12:57:02 2001 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001