39 #ifndef vtkSMCollaborationManager_h 40 #define vtkSMCollaborationManager_h 42 #include "vtkPVServerManagerCoreModule.h" 54 static vtkTypeUInt32 GetReservedGlobalID();
58 void PrintSelf(ostream& os, vtkIndent indent);
79 virtual void PromoteToMaster(
int clientId);
85 virtual void FollowUser(
int clientId);
90 int GetFollowedUser();
95 virtual bool IsMaster();
100 virtual int GetMasterId();
105 virtual int GetUserId();
111 virtual int GetUserId(
int index);
116 virtual const char* GetUserLabel(
int userID);
121 virtual void SetUserLabel(
const char* userName);
126 virtual void SetUserLabel(
int userId,
const char* userName);
132 virtual int GetNumberOfConnectedClients();
137 void UpdateUserInformations();
141 CollaborationNotification = 12345,
142 UpdateUserName = 12346,
143 UpdateUserList = 12347,
144 UpdateMasterUser = 12348,
145 FollowUserCamera = 12349,
146 CameraChanged = 12350
178 vtkInternal* Internal;
183 #endif // #ifndef vtkSMCollaborationManager_h
virtual void LoadState(const vtkSMMessage *msg, vtkSMProxyLocator *locator)
This method is used to initialise the object to the given state If the definitionOnly Flag is set to ...
vtkSMSession is the default ParaView session.
Class used to broadcast message from one client to the others.
Header class that setup every thing in order to use Protobuf messages in a transparent manner...
virtual void SetSession(vtkSMSession *)
Override the SetSession so if the object already have an ID we automatically register it to the assoc...
virtual const vtkSMMessage * GetFullState()
This method return the full object state that can be used to create that object from scratch...
is used to locate proxies referred to in state xmls while loading state files.
void PrintSelf(ostream &os, vtkIndent indent)
baseclass for all proxy-objects that have counter parts on server as well as client processes...
virtual vtkTypeUInt32 GetGlobalID()
Get the global unique id for this object.
static vtkSMSessionObject * New()