VTK
|
Dummy controller for single process applications. More...
#include <vtkDummyCommunicator.h>
Public Types | |
typedef vtkCommunicator | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkDummyCommunicator * | NewInstance () const |
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 (vtkObjectBase *o) |
static vtkDummyCommunicator * | New () |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkDummyCommunicator () | |
virtual | ~vtkDummyCommunicator () |
Dummy controller for single process applications.
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 33 of file vtkDummyCommunicator.h.
Reimplemented from vtkCommunicator.
Definition at line 36 of file vtkDummyCommunicator.h.
vtkDummyCommunicator::vtkDummyCommunicator | ( | ) | [protected] |
virtual vtkDummyCommunicator::~vtkDummyCommunicator | ( | ) | [protected, virtual] |
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 | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkCommunicator.
virtual vtkObjectBase* vtkDummyCommunicator::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkCommunicator.
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 43 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 47 of file vtkDummyCommunicator.h.