VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkDummyCommunicator Class Reference

Dummy controller for single process applications. More...

#include <vtkDummyCommunicator.h>

Inheritance diagram for vtkDummyCommunicator:
Inheritance graph
[legend]
Collaboration diagram for vtkDummyCommunicator:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkCommunicator Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkDummyCommunicatorNewInstance () 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 vtkDummyCommunicatorSafeDownCast (vtkObjectBase *o)
static vtkDummyCommunicatorNew ()

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkDummyCommunicator ()
virtual ~vtkDummyCommunicator ()

Detailed Description

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.


Member Typedef Documentation

Reimplemented from vtkCommunicator.

Definition at line 36 of file vtkDummyCommunicator.h.


Constructor & Destructor Documentation

virtual vtkDummyCommunicator::~vtkDummyCommunicator ( ) [protected, virtual]

Member Function Documentation

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.

Reimplemented from vtkCommunicator.

virtual vtkObjectBase* vtkDummyCommunicator::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkCommunicator.

Reimplemented from vtkCommunicator.

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.


The documentation for this class was generated from the following file: