vtkDummyCommunicator Class Reference

#include <vtkDummyCommunicator.h>

Inheritance diagram for vtkDummyCommunicator:

Inheritance graph
[legend]
Collaboration diagram for vtkDummyCommunicator:

Collaboration graph
[legend]

List of all members.


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 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 vtkDummyCommunicatorSafeDownCast (vtkObject *o)
static vtkDummyCommunicatorNew ()

Protected Member Functions

 vtkDummyCommunicator ()
virtual ~vtkDummyCommunicator ()

Member Typedef Documentation

Reimplemented from vtkCommunicator.

Definition at line 35 of file vtkDummyCommunicator.h.


Constructor & Destructor Documentation

vtkDummyCommunicator::vtkDummyCommunicator (  )  [protected]

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


Member Function Documentation

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 vtkTypeRevisionMacro 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 vtkTypeRevisionMacro 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.


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

Generated on Sat Dec 27 13:23:06 2008 for VTK by  doxygen 1.5.6