#include <vtkProcessModule.h>
Inheritance diagram for vtkProcessModule:
Public Types | |
enum | ProgressEventEnum { PROGRESS_EVENT_TAG = 31415 } |
enum | CommunicationIds { MultiDisplayDummy = 948346, MultiDisplayRootRender, MultiDisplaySatelliteRender, MultiDisplayInfo, PickBestProc, PickBestDist2, IceTWinInfo, IceTNumTilesX, IceTNumTilesY, IceTTileRanks, IceTRenInfo, GlyphNPointsGather, GlyphNPointsScatter, TreeCompositeDataFlag, TreeCompositeStatus, DuplicatePDNProcs, DuplicatePDNRecLen, DuplicatePDNAllBuffers, IntegrateAttrInfo, IntegrateAttrData, PickMakeGIDs, TemporalPickHasData, TemporalPicksData } |
enum | ServerFlags { DATA_SERVER = 0x1, DATA_SERVER_ROOT = 0x2, RENDER_SERVER = 0x4, RENDER_SERVER_ROOT = 0x8, CLIENT = 0x10, CLIENT_AND_SERVERS = DATA_SERVER | CLIENT | RENDER_SERVER } |
Public Member Functions | |
vtkTypeRevisionMacro (vtkProcessModule, vtkObject) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
vtkDataObject * | GetDataObjectOfType (const char *classname) |
virtual int | Start (int, char **)=0 |
virtual void | Exit ()=0 |
virtual vtkObjectBase * | GetObjectFromID (vtkClientServerID) |
virtual const vtkClientServerStream & | GetLastResult (vtkTypeUInt32 server) |
virtual vtkClientServerInterpreter * | GetInterpreter () |
virtual int | GetPartitionId () |
virtual int | GetNumberOfPartitions () |
vtkClientServerID | GetUniqueID () |
vtkClientServerID | GetProcessModuleID () |
void | RegisterProgressEvent (vtkObject *po, int id) |
void | PrepareProgress () |
void | CleanupPendingProgress () |
void | ExecuteEvent (vtkObject *o, unsigned long event, void *calldata) |
void | SetGUIHelper (vtkProcessModuleGUIHelper *) |
ofstream * | GetLogFile () |
virtual void | CreateLogFile () |
virtual void | GatherInformation (vtkPVInformation *info, vtkClientServerID id) |
virtual void | GatherInformationRenderServer (vtkPVInformation *info, vtkClientServerID id) |
virtual void | GatherInformationInternal (const char *infoClassName, vtkObject *object) |
vtkClientServerID | NewStreamObject (const char *, vtkClientServerStream &stream) |
void | DeleteStreamObject (vtkClientServerID, vtkClientServerStream &stream) |
int | SendStream (vtkTypeUInt32 server, vtkClientServerStream &stream, int resetStream=1) |
virtual void | InitializeInterpreter () |
virtual void | FinalizeInterpreter () |
void | Initialize () |
void | Finalize () |
virtual int | GetReportInterpreterErrors () |
virtual void | SetReportInterpreterErrors (int) |
virtual void | ReportInterpreterErrorsOn () |
virtual void | ReportInterpreterErrorsOff () |
virtual vtkMultiProcessController * | GetController () |
virtual void | SendPrepareProgress () |
virtual void | SendCleanupPendingProgress () |
vtkCommand * | GetObserver () |
virtual void | SetLocalProgress (const char *filter, int progress)=0 |
virtual int | GetProgressRequests () |
virtual void | SetProgressRequests (int) |
virtual vtkPVProgressHandler * | GetProgressHandler () |
virtual void | SetProgressEnabled (int) |
virtual int | GetProgressEnabled () |
virtual vtkPVOptions * | GetOptions () |
virtual void | SetOptions (vtkPVOptions *op) |
Static Public Member Functions | |
int | GetRootId (int serverId) |
vtkProcessModule * | GetProcessModule () |
void | SetProcessModule (vtkProcessModule *pm) |
Protected Member Functions | |
vtkProcessModule () | |
~vtkProcessModule () | |
virtual void | InterpreterCallback (unsigned long eid, void *) |
virtual const char * | DetermineLogFilePrefix () |
void | ProgressEvent (vtkObject *o, int val, const char *filter) |
virtual vtkTypeUInt32 | CreateSendFlag (vtkTypeUInt32 servers) |
virtual int | SendStreamToClient (vtkClientServerStream &) |
virtual int | SendStreamToDataServer (vtkClientServerStream &) |
virtual int | SendStreamToDataServerRoot (vtkClientServerStream &) |
virtual int | SendStreamToRenderServer (vtkClientServerStream &) |
virtual int | SendStreamToRenderServerRoot (vtkClientServerStream &) |
virtual const vtkClientServerStream & | GetLastDataServerResult () |
virtual const vtkClientServerStream & | GetLastRenderServerResult () |
virtual const vtkClientServerStream & | GetLastClientResult () |
Static Protected Member Functions | |
void | InterpreterCallbackFunction (vtkObject *caller, unsigned long eid, void *cd, void *d) |
Protected Attributes | |
vtkMultiProcessController * | Controller |
vtkPVInformation * | TemporaryInformation |
vtkClientServerInterpreter * | Interpreter |
vtkClientServerStream * | ClientServerStream |
vtkClientServerID | UniqueID |
vtkCallbackCommand * | InterpreterObserver |
int | ReportInterpreterErrors |
vtkProcessModuleInternals * | Internals |
vtkPVProgressHandler * | ProgressHandler |
int | ProgressRequests |
int | ProgressEnabled |
vtkProcessModuleObserver * | Observer |
vtkPVOptions * | Options |
vtkProcessModuleGUIHelper * | GUIHelper |
ofstream * | LogFile |
vtkKWProcessStatistics * | MemoryInformation |
Static Protected Attributes | |
vtkProcessModule * | ProcessModule |
Definition at line 48 of file vtkProcessModule.h.
|
These flags are used to specify destination servers for the SendStream function.
Definition at line 55 of file vtkProcessModule.h. |
|
Definition at line 66 of file vtkProcessModule.h. |
|
Definition at line 253 of file vtkProcessModule.h. |
|
|
|
|
|
Definition at line 71 of file vtkProcessModule.h. |
|
|
|
Reimplemented in vtkPVClientServerModule, vtkPVMPIProcessModule, and vtkPVProcessModule. |
|
Returns a data object of the given type. This is a utility method used to increase performance. The first time the data object of a given type is requested, it is instantiated and put in map. The following calls do not cause instantiation. Used while comparing data types for input matching. |
|
This is going to be a generic method of getting/gathering information form the server. Reimplemented in vtkPVClientServerModule. |
|
This is going to be a generic method of getting/gathering information form the server. Reimplemented in vtkPVClientServerModule. |
|
This is going to be a generic method of getting/gathering information form the server. Reimplemented in vtkPVClientServerModule, and vtkPVMPIProcessModule. |
|
Implemented in vtkPVClientServerModule, vtkPVMPIProcessModule, and vtkPVProcessModule. |
|
This breaks rmi loops and cleans up processes.` Implemented in vtkPVClientServerModule, vtkPVMPIProcessModule, and vtkPVProcessModule. |
|
These methods append commands to the given vtkClientServerStream to construct or delete a vtk object. For construction, the type of the object is specified by string name and the new unique object id is returned. For deletion the object is specified by its id. These methods do not send the stream anywhere, so the caller must use SendStream() to actually perform the operation. |
|
These methods append commands to the given vtkClientServerStream to construct or delete a vtk object. For construction, the type of the object is specified by string name and the new unique object id is returned. For deletion the object is specified by its id. These methods do not send the stream anywhere, so the caller must use SendStream() to actually perform the operation. |
|
Return the vtk object associated with the given id for the client. If the id is for an object on another node then 0 is returned. Reimplemented in vtkPVProcessModule. |
|
Return the last result for the specified server. In this case, the server should be exactly one of the ServerFlags, and not a combination of servers. For an MPI server the result from the root node is returned. There is no connection to the individual nodes of a server. |
|
Send a vtkClientServerStream to the specified servers. Servers are specified with a bit vector. To send to more than one server use the bitwise or operator to combine servers. The resetStream flag determines if Reset is called to clear the stream after it is sent. |
|
Get the interpreter used on the local process. |
|
Initialize/Finalize the process module's vtkClientServerInterpreter. Reimplemented in vtkPVProcessModule. |
|
Initialize/Finalize the process module's vtkClientServerInterpreter. Reimplemented in vtkPVProcessModule. |
|
Initialize and finalize process module. Reimplemented in vtkPVClientServerModule, and vtkPVMPIProcessModule. |
|
Initialize and finalize process module. |
|
Set/Get whether to report errors from the Interpreter. |
|
Set/Get whether to report errors from the Interpreter. |
|
Set/Get whether to report errors from the Interpreter. |
|
Set/Get whether to report errors from the Interpreter. |
|
The controller is needed for filter that communicate internally. |
|
Get the partition piece. -1 means no assigned piece. Reimplemented in vtkPVClientServerModule, and vtkPVMPIProcessModule. Definition at line 189 of file vtkProcessModule.h. |
|
Get the number of processes participating in sharing the data. Reimplemented in vtkPVClientServerModule, and vtkPVMPIProcessModule. Definition at line 192 of file vtkProcessModule.h. |
|
|
|
|
|
|
|
|
|
Register object with progress handler. |
|
Reimplemented in vtkPVProcessModule. |
|
Reimplemented in vtkPVProcessModule. |
|
This method is called before progress reports start comming. |
|
This method is called after force update to clenaup all the pending progresses. |
|
Execute event on callback |
|
Get the observer. |
|
Set the local progress. Subclass should overwrite it. Implemented in vtkPVProcessModule. |
|
Set the local progress. Subclass should overwrite it. |
|
Set the local progress. Subclass should overwrite it. |
|
Set the local progress. Subclass should overwrite it. |
|
|
|
|
|
Set and get the application options |
|
Set and get the application options |
|
Set the gui helper |
|
Get a pointer to the log file. |
|
|
|
Given the servers that need to receive the stream, create a flag that will send it to the correct places for this process module and make sure it only gets sent to each server once. Reimplemented in vtkPVClientServerModule, and vtkPVMPIProcessModule. |
|
Given the servers that need to receive the stream, create a flag that will send it to the correct places for this process module and make sure it only gets sent to each server once. Reimplemented in vtkPVClientServerModule, and vtkPVMPIProcessModule. |
|
Given the servers that need to receive the stream, create a flag that will send it to the correct places for this process module and make sure it only gets sent to each server once. Reimplemented in vtkPVClientServerModule, and vtkPVMPIProcessModule. |
|
Given the servers that need to receive the stream, create a flag that will send it to the correct places for this process module and make sure it only gets sent to each server once. Reimplemented in vtkPVClientServerModule, and vtkPVMPIProcessModule. |
|
Given the servers that need to receive the stream, create a flag that will send it to the correct places for this process module and make sure it only gets sent to each server once. Reimplemented in vtkPVClientServerModule, and vtkPVMPIProcessModule. |
|
Given the servers that need to receive the stream, create a flag that will send it to the correct places for this process module and make sure it only gets sent to each server once. Reimplemented in vtkPVClientServerModule, and vtkPVMPIProcessModule. |
|
Get the last result from the DataServer, RenderServer or Client. If these are MPI processes, only the root last result is returned. Reimplemented in vtkPVClientServerModule. |
|
Get the last result from the DataServer, RenderServer or Client. If these are MPI processes, only the root last result is returned. Reimplemented in vtkPVClientServerModule. |
|
Get the last result from the DataServer, RenderServer or Client. If these are MPI processes, only the root last result is returned. |
|
|
|
|
|
Reimplemented in vtkPVClientServerModule. Definition at line 316 of file vtkProcessModule.h. |
|
|
|
Definition at line 318 of file vtkProcessModule.h. |
|
Definition at line 319 of file vtkProcessModule.h. |
|
Definition at line 321 of file vtkProcessModule.h. |
|
Definition at line 322 of file vtkProcessModule.h. |
|
Definition at line 323 of file vtkProcessModule.h. |
|
Definition at line 324 of file vtkProcessModule.h. |
|
Definition at line 325 of file vtkProcessModule.h. |
|
Definition at line 327 of file vtkProcessModule.h. |
|
Reimplemented in vtkPVProcessModule. Definition at line 329 of file vtkProcessModule.h. |
|
Definition at line 333 of file vtkProcessModule.h. |
|
Definition at line 334 of file vtkProcessModule.h. |
|
Definition at line 335 of file vtkProcessModule.h. |
|
Definition at line 337 of file vtkProcessModule.h. |
|
Definition at line 338 of file vtkProcessModule.h. |
|
Definition at line 339 of file vtkProcessModule.h. |
|
Definition at line 340 of file vtkProcessModule.h. |
|
Definition at line 342 of file vtkProcessModule.h. |