#include <vtkDummyCommunicator.h>
This is a dummy communicator, which can be used by applications that always require a controller but are also compiled on systems without threads or MPI. Because there is always only one process, no real communication takes place.
Definition at line 32 of file vtkDummyCommunicator.h.
Public Types | |
typedef vtkCommunicator | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
virtual int | SendVoidArray (const void *, vtkIdType, int, int, int) |
virtual int | ReceiveVoidArray (void *, vtkIdType, int, int, int) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkDummyCommunicator * | SafeDownCast (vtkObject *o) |
static vtkDummyCommunicator * | New () |
Protected Member Functions | |
vtkDummyCommunicator () | |
virtual | ~vtkDummyCommunicator () |
vtkDummyCommunicator::vtkDummyCommunicator | ( | ) | [protected] |
virtual vtkDummyCommunicator::~vtkDummyCommunicator | ( | ) | [protected, virtual] |
virtual const char* vtkDummyCommunicator::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkCommunicator.
static int vtkDummyCommunicator::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 vtkDummyCommunicator::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 vtkDummyCommunicator* vtkDummyCommunicator::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkCommunicator.
static vtkDummyCommunicator* vtkDummyCommunicator::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
virtual void vtkDummyCommunicator::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 int vtkDummyCommunicator::SendVoidArray | ( | const void * | , | |
vtkIdType | , | |||
int | , | |||
int | , | |||
int | ||||
) | [inline, virtual] |
Since there is no one to communicate with, these methods just report an error.
Implements vtkCommunicator.
Definition at line 42 of file vtkDummyCommunicator.h.
virtual int vtkDummyCommunicator::ReceiveVoidArray | ( | void * | , | |
vtkIdType | , | |||
int | , | |||
int | , | |||
int | ||||
) | [inline, virtual] |
Since there is no one to communicate with, these methods just report an error.
Implements vtkCommunicator.
Definition at line 46 of file vtkDummyCommunicator.h.