VTK
|
Provides communication on a process group. More...
#include <vtkSubCommunicator.h>
Public Types | |
typedef vtkCommunicator | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkSubCommunicator * | NewInstance () const |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
virtual vtkProcessGroup * | GetGroup () |
virtual void | SetGroup (vtkProcessGroup *group) |
virtual int | SendVoidArray (const void *data, vtkIdType length, int type, int remoteHandle, int tag) |
virtual int | ReceiveVoidArray (void *data, vtkIdType length, int type, int remoteHandle, int tag) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkSubCommunicator * | SafeDownCast (vtkObjectBase *o) |
static vtkSubCommunicator * | New () |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkSubCommunicator () | |
virtual | ~vtkSubCommunicator () |
Protected Attributes | |
vtkProcessGroup * | Group |
Provides communication on a process group.
This class provides an implementation for communicating on process groups. In general, you should never use this class directly. Instead, use the vtkMultiProcessController::CreateSubController method.
@sa
vtkCommunicator, vtkMultiProcessController
Definition at line 53 of file vtkSubCommunicator.h.
Reimplemented from vtkCommunicator.
Definition at line 56 of file vtkSubCommunicator.h.
vtkSubCommunicator::vtkSubCommunicator | ( | ) | [protected] |
virtual vtkSubCommunicator::~vtkSubCommunicator | ( | ) | [protected, virtual] |
static int vtkSubCommunicator::IsTypeOf | ( | const char * | name | ) | [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 vtkCommunicator.
virtual int vtkSubCommunicator::IsA | ( | const char * | name | ) | [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 vtkCommunicator.
static vtkSubCommunicator* vtkSubCommunicator::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkCommunicator.
virtual vtkObjectBase* vtkSubCommunicator::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkCommunicator.
Reimplemented from vtkCommunicator.
static vtkSubCommunicator* vtkSubCommunicator::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
virtual void vtkSubCommunicator::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 vtkCommunicator.
virtual vtkProcessGroup* vtkSubCommunicator::GetGroup | ( | ) | [virtual] |
Set/get the group on which communication will happen.
virtual void vtkSubCommunicator::SetGroup | ( | vtkProcessGroup * | group | ) | [virtual] |
Set/get the group on which communication will happen.
virtual int vtkSubCommunicator::SendVoidArray | ( | const void * | data, |
vtkIdType | length, | ||
int | type, | ||
int | remoteHandle, | ||
int | tag | ||
) | [virtual] |
Implementation for abstract supercalss.
Implements vtkCommunicator.
virtual int vtkSubCommunicator::ReceiveVoidArray | ( | void * | data, |
vtkIdType | length, | ||
int | type, | ||
int | remoteHandle, | ||
int | tag | ||
) | [virtual] |
Implementation for abstract supercalss.
Implements vtkCommunicator.
vtkProcessGroup* vtkSubCommunicator::Group [protected] |
Definition at line 78 of file vtkSubCommunicator.h.