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

Dummy controller for single process applications. More...

#include <vtkDummyController.h>

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

List of all members.

Public Types

typedef vtkMultiProcessController Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkDummyControllerNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
int GetLocalProcessId ()
virtual void SingleMethodExecute ()
virtual void MultipleMethodExecute ()
virtual void CreateOutputWindow ()
virtual void Initialize (int *, char ***, int)
virtual void Initialize (int *, char ***)
virtual void Finalize ()
virtual void Finalize (int)
virtual vtkCommunicatorGetCommunicator ()
virtual vtkCommunicatorGetRMICommunicator ()
virtual void SetCommunicator (vtkCommunicator *)
virtual void SetRMICommunicator (vtkCommunicator *)

Static Public Member Functions

static vtkDummyControllerNew ()
static int IsTypeOf (const char *type)
static vtkDummyControllerSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkDummyController ()
 ~vtkDummyController ()

Detailed Description

Dummy controller for single process applications.

This is a dummy controller which can be used by applications which always require a controller but are also compile on systems without threads or mpi.

See also:
vtkMultiProcessController
Tests:
vtkDummyController (Tests)

Definition at line 34 of file vtkDummyController.h.


Member Typedef Documentation

Reimplemented from vtkMultiProcessController.

Definition at line 38 of file vtkDummyController.h.


Constructor & Destructor Documentation


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkObject.

static int vtkDummyController::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 vtkMultiProcessController.

virtual int vtkDummyController::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 vtkMultiProcessController.

Reimplemented from vtkMultiProcessController.

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

Reimplemented from vtkMultiProcessController.

Reimplemented from vtkMultiProcessController.

void vtkDummyController::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 vtkMultiProcessController.

virtual void vtkDummyController::Initialize ( int ,
char ***  ,
int   
) [inline, virtual]

This method is for setting up the processes.

Definition at line 43 of file vtkDummyController.h.

virtual void vtkDummyController::Initialize ( int ,
char ***   
) [inline, virtual]

This method is for setting up the processes.

Definition at line 44 of file vtkDummyController.h.

virtual void vtkDummyController::Finalize ( ) [inline, virtual]

This method is for setting up the processes.

Implements vtkMultiProcessController.

Definition at line 45 of file vtkDummyController.h.

virtual void vtkDummyController::Finalize ( int  ) [inline, virtual]

This method is for setting up the processes.

Implements vtkMultiProcessController.

Definition at line 46 of file vtkDummyController.h.

This method always returns 0.

Reimplemented from vtkMultiProcessController.

Definition at line 50 of file vtkDummyController.h.

virtual void vtkDummyController::SingleMethodExecute ( ) [virtual]

Directly calls the single method.

Implements vtkMultiProcessController.

virtual void vtkDummyController::MultipleMethodExecute ( ) [virtual]

Directly calls multiple method 0.

Implements vtkMultiProcessController.

virtual void vtkDummyController::CreateOutputWindow ( ) [inline, virtual]

Does nothing.

Implements vtkMultiProcessController.

Definition at line 59 of file vtkDummyController.h.

If you don't need any special functionality from the controller, you can swap out the dummy communicator for another one.

Reimplemented from vtkMultiProcessController.

If you don't need any special functionality from the controller, you can swap out the dummy communicator for another one.

virtual void vtkDummyController::SetCommunicator ( vtkCommunicator ) [virtual]

If you don't need any special functionality from the controller, you can swap out the dummy communicator for another one.

If you don't need any special functionality from the controller, you can swap out the dummy communicator for another one.


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