37 class vtkProcessModule;
39 class vtkPVServerInformation;
40 class vtkPVXMLElement;
41 class vtkSMApplication;
43 class vtkSMProxySelectionModel;
44 class vtkSMRenderViewProxy;
46 class vtkSMSessionProxyManager;
48 #include "pqCoreModule.h" 52 #include "vtkSMMessageMinimal.h" 53 #include "vtkSmartPointer.h" 54 #include "vtkWeakPointer.h" 66 pqServer(vtkIdType connectionId, vtkPVOptions*, QObject* parent = NULL);
73 vtkSMSession* session()
const;
76 vtkIdType GetConnectionID()
const;
77 vtkIdType
sessionId()
const {
return this->GetConnectionID(); }
80 vtkSMSessionProxyManager* proxyManager()
const;
84 vtkSMProxySelectionModel* activeSourcesSelectionModel()
const;
87 vtkSMProxySelectionModel* activeViewSelectionModel()
const;
91 int getNumberOfPartitions();
95 bool isRemote()
const;
99 bool isMaster()
const;
104 bool isProcessingPending()
const;
108 bool isRenderServerSeparate();
114 vtkPVOptions* getOptions()
const;
118 vtkPVServerInformation* getServerInformation()
const;
122 bool isProgressPending()
const;
128 static void setHeartBeatTimeoutSetting(
int msec);
129 static int getHeartBeatTimeoutSetting();
132 void setMonitorServerNotifications(
bool);
142 void fiveMinuteTimeoutWarning();
147 void finalTimeoutWarning();
150 void serverSideDisconnected();
154 static const char* HEARBEAT_TIME_SETTING_KEY();
157 void setHeartBeatTimeout(
int msec);
171 void sentFromOtherClient(
pqServer*,vtkSMMessage* msg);
174 void triggeredMasterUser(
int);
175 void triggeredUserName(
int, QString&);
176 void triggeredUserListChanged();
177 void triggerFollowCamera(
int);
181 void sendToOtherClients(vtkSMMessage* msg);
190 void processServerNotification();
195 void onCollaborationCommunication(vtkObject*,
unsigned long,
void*,
void*);
199 void onConnectionLost(vtkObject*,
unsigned long,
void*,
void*);
205 vtkIdType ConnectionID;
206 vtkWeakPointer<vtkSMSession> Session;
211 vtkSmartPointer<vtkPVOptions> Options;
213 pqTimer IdleCollaborationTimer;
216 pqInternals* Internals;
219 #endif // !_pqServer_h pqServerManagerModelItem is a element maintained by pqServerManagerModel.
pqTimeKeeper is pqProxy for "TimeKeeper" proxy.
vtkIdType sessionId() const
pqServerResource encapsulates a resource in ParaView.
pqServer (should be renamed to pqSession) is a pqServerManagerModelItem subclass that represents a vt...