Evita  0.16
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
evMultiProcessController Class Referenceabstract

#include <evMultiProcessController.h>

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

Public Member Functions

 vtkTypeMacro (evMultiProcessController, vtkObject)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void Initialize (int vtkNotUsed(argc), char *arcv[])
 
virtual void SetNumberOfProcesses (int num)
 
 vtkGetMacro (NumberOfProcesses, int)
 
void SetSingleMethod (evProcessFunctionType, void *data)
 
virtual void SingleMethodExecute ()=0
 
void SetMultipleMethod (int index, evProcessFunctionType, void *data)
 
virtual void MultipleMethodExecute ()=0
 
virtual int GetLocalProcessId ()
 
virtual int Send (vtkDataObject *data, int remoteProcessId, int tag)
 
virtual int Send (int *data, int length, int remoteProcessId, int tag)=0
 
virtual int Send (unsigned long *data, int length, int remoteProcessId, int tag)=0
 
virtual int Send (char *data, int length, int remoteProcessId, int tag)=0
 
virtual int Send (double *data, int length, int remoteProcessId, int tag)=0
 
virtual void Clear (int remoteProcessId)=0
 
virtual int Receive (vtkDataObject *data, int remoteProcessId, int tag)
 
virtual int Receive (int *data, int length, int remoteProcessId, int tag)=0
 
virtual int Receive (unsigned long *data, int length, int remoteProcessId, int tag)=0
 
virtual int Receive (char *data, int length, int remoteProcessId, int tag)=0
 
virtual int Receive (double *data, int length, int remoteProcessId, int tag)=0
 
 vtkSetMacro (ForceDeepCopy, int)
 
 vtkGetMacro (ForceDeepCopy, int)
 
 vtkBooleanMacro (ForceDeepCopy, int)
 
 vtkSetMacro (Blocking, int)
 
 vtkGetMacro (Blocking, int)
 
void AddRMI (evRMIFunctionType, void *localArg, int tag)
 
void RemoveRMI (evRMIFunctionType f, void *arg, int tag)
 
void TriggerRMI (int remoteProcessId, void *arg, int argLength, int tag)
 
void TriggerRMI (int remoteProcessId, char *arg, int tag)
 
void TriggerRMI (int remoteProcessId, int tag)
 
void ProcessRMIs ()
 
 vtkSetMacro (BreakFlag, int)
 
 vtkGetMacro (BreakFlag, int)
 
 vtkGetMacro (WriteTime, float)
 
 vtkGetMacro (ReadTime, float)
 
 vtkGetMacro (SendWaitTime, float)
 
 vtkGetMacro (SendTime, float)
 
 vtkGetMacro (ReceiveWaitTime, float)
 
 vtkGetMacro (ReceiveTime, float)
 

Static Public Member Functions

static evMultiProcessControllerNew ()
 
static evMultiProcessControllerGetGlobalController ()
 

Protected Member Functions

 evMultiProcessController ()
 
 ~evMultiProcessController ()
 
 evMultiProcessController (const evMultiProcessController &)
 
void operator= (const evMultiProcessController &)
 
void DeleteAndSetMarshalString (char *str, int strLength)
 
int WriteObject (vtkDataObject *object)
 
int ReadObject (vtkDataObject *object)
 
int WriteDataSet (vtkDataSet *object)
 
int ReadDataSet (vtkDataSet *object)
 
int WriteImageData (vtkImageData *object)
 
int ReadImageData (vtkImageData *object)
 
void ProcessRMI (int remoteProcessId, void *arg, int argLength, int rmiTag)
 
virtual evMultiProcessControllerGetLocalController ()
 
virtual void SetGlobalController (evMultiProcessController *controller)
 

Protected Attributes

int MaximumNumberOfProcesses
 
int NumberOfProcesses
 
int LocalProcessId
 
evProcessFunctionType SingleMethod
 
void * SingleData
 
evProcessFunctionType MultipleMethod [VTK_MP_CONTROLLER_MAX_PROCESSES]
 
void * MultipleData [VTK_MP_CONTROLLER_MAX_PROCESSES]
 
vtkCollection * RMIs
 
char * MarshalString
 
int MarshalStringLength
 
int MarshalDataLength
 
int BreakFlag
 
float ReadTime
 
float WriteTime
 
float SendWaitTime
 
float SendTime
 
float ReceiveWaitTime
 
float ReceiveTime
 
int ForceDeepCopy
 
int Blocking
 

Constructor & Destructor Documentation

evMultiProcessController::evMultiProcessController ( )
protected
evMultiProcessController::~evMultiProcessController ( )
protected
evMultiProcessController::evMultiProcessController ( const evMultiProcessController )
inlineprotected

Member Function Documentation

void evMultiProcessController::AddRMI ( evRMIFunctionType  ,
void *  localArg,
int  tag 
)
virtual void evMultiProcessController::Clear ( int  remoteProcessId)
pure virtual

Implemented in evThreadedController.

void evMultiProcessController::DeleteAndSetMarshalString ( char *  str,
int  strLength 
)
protected
static evMultiProcessController* evMultiProcessController::GetGlobalController ( )
static
virtual evMultiProcessController* evMultiProcessController::GetLocalController ( )
protectedvirtual

Reimplemented in evThreadedController.

virtual int evMultiProcessController::GetLocalProcessId ( )
inlinevirtual
virtual void evMultiProcessController::Initialize ( int   vtkNotUsedargc,
char *  arcv[] 
)
inlinevirtual
virtual void evMultiProcessController::MultipleMethodExecute ( )
pure virtual

Implemented in evThreadedController.

static evMultiProcessController* evMultiProcessController::New ( )
static
void evMultiProcessController::operator= ( const evMultiProcessController )
inlineprotected
void evMultiProcessController::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
void evMultiProcessController::ProcessRMI ( int  remoteProcessId,
void *  arg,
int  argLength,
int  rmiTag 
)
protected
void evMultiProcessController::ProcessRMIs ( )
int evMultiProcessController::ReadDataSet ( vtkDataSet *  object)
protected
int evMultiProcessController::ReadImageData ( vtkImageData *  object)
protected
int evMultiProcessController::ReadObject ( vtkDataObject *  object)
protected
virtual int evMultiProcessController::Receive ( vtkDataObject *  data,
int  remoteProcessId,
int  tag 
)
virtual

Reimplemented in evThreadedController.

virtual int evMultiProcessController::Receive ( int *  data,
int  length,
int  remoteProcessId,
int  tag 
)
pure virtual

Implemented in evThreadedController.

virtual int evMultiProcessController::Receive ( unsigned long *  data,
int  length,
int  remoteProcessId,
int  tag 
)
pure virtual

Implemented in evThreadedController.

virtual int evMultiProcessController::Receive ( char *  data,
int  length,
int  remoteProcessId,
int  tag 
)
pure virtual

Implemented in evThreadedController.

virtual int evMultiProcessController::Receive ( double *  data,
int  length,
int  remoteProcessId,
int  tag 
)
pure virtual

Implemented in evThreadedController.

void evMultiProcessController::RemoveRMI ( evRMIFunctionType  f,
void *  arg,
int  tag 
)
inline
virtual int evMultiProcessController::Send ( vtkDataObject *  data,
int  remoteProcessId,
int  tag 
)
virtual

Reimplemented in evThreadedController.

virtual int evMultiProcessController::Send ( int *  data,
int  length,
int  remoteProcessId,
int  tag 
)
pure virtual

Implemented in evThreadedController.

virtual int evMultiProcessController::Send ( unsigned long *  data,
int  length,
int  remoteProcessId,
int  tag 
)
pure virtual

Implemented in evThreadedController.

virtual int evMultiProcessController::Send ( char *  data,
int  length,
int  remoteProcessId,
int  tag 
)
pure virtual

Implemented in evThreadedController.

virtual int evMultiProcessController::Send ( double *  data,
int  length,
int  remoteProcessId,
int  tag 
)
pure virtual

Implemented in evThreadedController.

virtual void evMultiProcessController::SetGlobalController ( evMultiProcessController controller)
protectedvirtual
void evMultiProcessController::SetMultipleMethod ( int  index,
evProcessFunctionType  ,
void *  data 
)
virtual void evMultiProcessController::SetNumberOfProcesses ( int  num)
virtual
void evMultiProcessController::SetSingleMethod ( evProcessFunctionType  ,
void *  data 
)
virtual void evMultiProcessController::SingleMethodExecute ( )
pure virtual

Implemented in evThreadedController.

void evMultiProcessController::TriggerRMI ( int  remoteProcessId,
void *  arg,
int  argLength,
int  tag 
)
void evMultiProcessController::TriggerRMI ( int  remoteProcessId,
char *  arg,
int  tag 
)
inline
void evMultiProcessController::TriggerRMI ( int  remoteProcessId,
int  tag 
)
inline
evMultiProcessController::vtkBooleanMacro ( ForceDeepCopy  ,
int   
)
evMultiProcessController::vtkGetMacro ( NumberOfProcesses  ,
int   
)
evMultiProcessController::vtkGetMacro ( ForceDeepCopy  ,
int   
)
evMultiProcessController::vtkGetMacro ( Blocking  ,
int   
)
evMultiProcessController::vtkGetMacro ( BreakFlag  ,
int   
)
evMultiProcessController::vtkGetMacro ( WriteTime  ,
float   
)
evMultiProcessController::vtkGetMacro ( ReadTime  ,
float   
)
evMultiProcessController::vtkGetMacro ( SendWaitTime  ,
float   
)
evMultiProcessController::vtkGetMacro ( SendTime  ,
float   
)
evMultiProcessController::vtkGetMacro ( ReceiveWaitTime  ,
float   
)
evMultiProcessController::vtkGetMacro ( ReceiveTime  ,
float   
)
evMultiProcessController::vtkSetMacro ( ForceDeepCopy  ,
int   
)
evMultiProcessController::vtkSetMacro ( Blocking  ,
int   
)
evMultiProcessController::vtkSetMacro ( BreakFlag  ,
int   
)
evMultiProcessController::vtkTypeMacro ( evMultiProcessController  ,
vtkObject   
)
int evMultiProcessController::WriteDataSet ( vtkDataSet *  object)
protected
int evMultiProcessController::WriteImageData ( vtkImageData *  object)
protected
int evMultiProcessController::WriteObject ( vtkDataObject *  object)
protected

Member Data Documentation

int evMultiProcessController::Blocking
protected
int evMultiProcessController::BreakFlag
protected
int evMultiProcessController::ForceDeepCopy
protected
int evMultiProcessController::LocalProcessId
protected
int evMultiProcessController::MarshalDataLength
protected
char* evMultiProcessController::MarshalString
protected
int evMultiProcessController::MarshalStringLength
protected
int evMultiProcessController::MaximumNumberOfProcesses
protected
void* evMultiProcessController::MultipleData[VTK_MP_CONTROLLER_MAX_PROCESSES]
protected
evProcessFunctionType evMultiProcessController::MultipleMethod[VTK_MP_CONTROLLER_MAX_PROCESSES]
protected
int evMultiProcessController::NumberOfProcesses
protected
float evMultiProcessController::ReadTime
protected
float evMultiProcessController::ReceiveTime
protected
float evMultiProcessController::ReceiveWaitTime
protected
vtkCollection* evMultiProcessController::RMIs
protected
float evMultiProcessController::SendTime
protected
float evMultiProcessController::SendWaitTime
protected
void* evMultiProcessController::SingleData
protected
evProcessFunctionType evMultiProcessController::SingleMethod
protected
float evMultiProcessController::WriteTime
protected

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