VTK
|
Dummy controller for single process applications. More...
#include <vtkDummyController.h>
Public Types | |
typedef vtkMultiProcessController | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkDummyController * | NewInstance () 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 vtkCommunicator * | GetCommunicator () |
virtual vtkCommunicator * | GetRMICommunicator () |
virtual void | SetCommunicator (vtkCommunicator *) |
virtual void | SetRMICommunicator (vtkCommunicator *) |
Static Public Member Functions | |
static vtkDummyController * | New () |
static int | IsTypeOf (const char *type) |
static vtkDummyController * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkDummyController () | |
~vtkDummyController () |
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.
Definition at line 34 of file vtkDummyController.h.
Reimplemented from vtkMultiProcessController.
Definition at line 38 of file vtkDummyController.h.
vtkDummyController::vtkDummyController | ( | ) | [protected] |
vtkDummyController::~vtkDummyController | ( | ) | [protected] |
static vtkDummyController* vtkDummyController::New | ( | ) | [static] |
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.
static vtkDummyController* vtkDummyController::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
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.
int vtkDummyController::GetLocalProcessId | ( | ) | [inline] |
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.
virtual vtkCommunicator* vtkDummyController::GetCommunicator | ( | ) | [virtual] |
If you don't need any special functionality from the controller, you can swap out the dummy communicator for another one.
Reimplemented from vtkMultiProcessController.
virtual vtkCommunicator* vtkDummyController::GetRMICommunicator | ( | ) | [virtual] |
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.
virtual void vtkDummyController::SetRMICommunicator | ( | vtkCommunicator * | ) | [virtual] |
If you don't need any special functionality from the controller, you can swap out the dummy communicator for another one.