ParaView
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
vtkPVCatalystSessionCore Class Reference

vtkPVCatalystSessionCore is used by vtkSMSession. More...

#include <vtkPVCatalystSessionCore.h>

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

Public Types

typedef vtkPVSessionCore Superclass
 
- Public Types inherited from vtkPVSessionCore
enum  MessageTypes {
  PUSH_STATE = 12, PULL_STATE = 13, EXECUTE_STREAM = 14, GATHER_INFORMATION = 15,
  REGISTER_SI = 16, UNREGISTER_SI = 17
}
 
typedef vtkObject Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual bool GatherInformation (vtkTypeUInt32 location, vtkPVInformation *information, vtkTypeUInt32 globalid)
 Gather information about an object referred by the globalid. More...
 
vtkTypeUInt32 RegisterDataInformation (vtkTypeUInt32 globalid, unsigned int port, vtkPVInformation *information)
 Update the data information for a given proxy with the given globalid. More...
 
void UpdateIdMap (vtkTypeUInt32 *idMapArray, int size)
 
void ResetIdMap ()
 
- Public Member Functions inherited from vtkPVSessionCore
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void PushState (vtkSMMessage *message)
 Push the state message. More...
 
virtual void PullState (vtkSMMessage *message)
 Pull the state message from the local SI object instances. More...
 
virtual void ExecuteStream (vtkTypeUInt32 location, const vtkClientServerStream &stream, bool ignore_errors=false)
 Execute a command on the given processes. More...
 
virtual const vtkClientServerStreamGetLastResult ()
 Returns the response of the ExecuteStream() call from the location. More...
 
virtual void UnRegisterSIObject (vtkSMMessage *message)
 Notify that the given SIObject is not used anymore . More...
 
virtual void RegisterSIObject (vtkSMMessage *message)
 Notify that the given SIObject is used. More...
 
vtkSIObjectGetSIObject (vtkTypeUInt32 globalid)
 Returns a vtkSIObject or subclass given its global id, if any otherwise return NULL;. More...
 
vtkObject * GetRemoteObject (vtkTypeUInt32 globalid)
 Return a vtkObject given its global id if any otherwise return NULL;. More...
 
void RegisterRemoteObject (vtkTypeUInt32 globalid, vtkObject *obj)
 Register a remote object. More...
 
void UnRegisterRemoteObject (vtkTypeUInt32 globalid)
 Unregister a remote object. More...
 
int GetNumberOfProcesses ()
 Returns the number of processes. More...
 
virtual vtkTypeUInt32 GetNextGlobalUniqueIdentifier ()
 Provides the next available identifier. More...
 
virtual vtkTypeUInt32 GetNextChunkGlobalUniqueIdentifier (vtkTypeUInt32 chunkSize)
 Return the first Id of the requested chunk. More...
 
void PushStateSatelliteCallback ()
 
void ExecuteStreamSatelliteCallback ()
 
void GatherInformationStatelliteCallback ()
 
void RegisterSIObjectSatelliteCallback ()
 
void UnRegisterSIObjectSatelliteCallback ()
 
virtual void GetAllRemoteObjects (vtkCollection *collection)
 Allow the user to fill a vtkCollection with all RemoteObjects This is usefull when you want to hold a reference to them to prevent any deletion across several method call. More...
 
void GarbageCollectSIObject (int *clientIds, int nbClients)
 Delete SIObject that are held by clients that disapeared from the given list. More...
 
virtual vtkClientServerInterpreterGetInterpreter ()
 Provides access to the interpreter. More...
 
virtual vtkSIProxyDefinitionManagerGetProxyDefinitionManager ()
 Provides access to the proxy definition manager. More...
 
void SetMPIMToNSocketConnection (vtkMPIMToNSocketConnection *)
 Get/Set the socket connection used to communicate betweeen data=server and render-server processes. More...
 
virtual vtkMPIMToNSocketConnectionGetMPIMToNSocketConnection ()
 Get/Set the socket connection used to communicate betweeen data=server and render-server processes. More...
 

Static Public Member Functions

static vtkPVCatalystSessionCoreNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPVCatalystSessionCoreSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkPVSessionCore
static vtkPVSessionCoreNew ()
 
static int IsTypeOf (const char *type)
 
static vtkPVSessionCoreSafeDownCast (vtkObject *o)
 

Protected Member Functions

 vtkPVCatalystSessionCore ()
 
 ~vtkPVCatalystSessionCore ()
 
- Protected Member Functions inherited from vtkPVSessionCore
 vtkPVSessionCore ()
 
 ~vtkPVSessionCore ()
 
virtual void PushStateInternal (vtkSMMessage *)
 This will create a vtkSIObject and/or execute some update on the vtkObject that it own. More...
 
virtual void ExecuteStreamInternal (const vtkClientServerStream &stream, bool ignore_errors)
 This will execute localy the given vtkClientServerStream either by calling method on the vtkSIObject or its internal vtkObject. More...
 
bool GatherInformationInternal (vtkPVInformation *information, vtkTypeUInt32 globalid)
 This will gather informations on the local vtkObjects through the local vtkSIObjects. More...
 
bool CollectInformation (vtkPVInformation *)
 Gather informations across MPI satellites. More...
 
virtual void RegisterSIObjectInternal (vtkSMMessage *message)
 Increment reference count of a local vtkSIObject. More...
 
virtual void UnRegisterSIObjectInternal (vtkSMMessage *message)
 Decrement reference count of a local vtkSIObject. More...
 
void OnInterpreterError (vtkObject *, unsigned long, void *calldata)
 Callback for reporting interpreter errors. More...
 

Additional Inherited Members

- Protected Types inherited from vtkPVSessionCore
enum  { ROOT_SATELLITE_RMI_TAG = 887822, ROOT_SATELLITE_INFO_TAG = 887823 }
 
- Protected Attributes inherited from vtkPVSessionCore
vtkSIProxyDefinitionManagerProxyDefinitionManager
 
vtkWeakPointer< vtkMultiProcessController > ParallelController
 
vtkClientServerInterpreterInterpreter
 
vtkMPIMToNSocketConnectionMPIMToNSocketConnection
 

Detailed Description

vtkPVCatalystSessionCore is used by vtkSMSession.

vtkPVCatalystSessionCore handle catalyst based proxy which don't contains any real data and therefore are not allowed to execute the VTK pipeline.

Definition at line 34 of file vtkPVCatalystSessionCore.h.

Member Typedef Documentation

◆ Superclass

Definition at line 38 of file vtkPVCatalystSessionCore.h.

Constructor & Destructor Documentation

◆ vtkPVCatalystSessionCore()

vtkPVCatalystSessionCore::vtkPVCatalystSessionCore ( )
protected

◆ ~vtkPVCatalystSessionCore()

vtkPVCatalystSessionCore::~vtkPVCatalystSessionCore ( )
protected

Member Function Documentation

◆ New()

static vtkPVCatalystSessionCore* vtkPVCatalystSessionCore::New ( )
static

◆ GetClassName()

virtual const char* vtkPVCatalystSessionCore::GetClassName ( )
virtual

Reimplemented from vtkPVSessionCore.

◆ IsTypeOf()

static int vtkPVCatalystSessionCore::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual int vtkPVCatalystSessionCore::IsA ( const char *  type)
virtual

Reimplemented from vtkPVSessionCore.

◆ SafeDownCast()

static vtkPVCatalystSessionCore* vtkPVCatalystSessionCore::SafeDownCast ( vtkObject *  o)
static

◆ PrintSelf()

void vtkPVCatalystSessionCore::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

◆ GatherInformation()

virtual bool vtkPVCatalystSessionCore::GatherInformation ( vtkTypeUInt32  location,
vtkPVInformation information,
vtkTypeUInt32  globalid 
)
virtual

Gather information about an object referred by the globalid.

location identifies the processes to gather the information from.

Reimplemented from vtkPVSessionCore.

◆ RegisterDataInformation()

vtkTypeUInt32 vtkPVCatalystSessionCore::RegisterDataInformation ( vtkTypeUInt32  globalid,
unsigned int  port,
vtkPVInformation information 
)

Update the data information for a given proxy with the given globalid.

This will allow the GatherInformation to work with "fake" VTK pipeline. Return the real corresponding proxy id

◆ UpdateIdMap()

void vtkPVCatalystSessionCore::UpdateIdMap ( vtkTypeUInt32 *  idMapArray,
int  size 
)

◆ ResetIdMap()

void vtkPVCatalystSessionCore::ResetIdMap ( )

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