27 #ifndef vtkSMCollaborationManager_h
28 #define vtkSMCollaborationManager_h
30 #include "vtkRemotingServerManagerModule.h"
42 static vtkTypeUInt32 GetReservedGlobalID();
67 virtual void PromoteToMaster(
int clientId);
73 virtual void FollowUser(
int clientId);
78 int GetFollowedUser();
83 virtual bool IsMaster();
88 virtual int GetMasterId();
93 bool GetDisableFurtherConnections();
98 virtual int GetUserId();
104 virtual int GetUserId(
int index);
109 virtual const char* GetUserLabel(
int userID);
114 virtual void SetUserLabel(
const char* userName);
119 virtual void SetUserLabel(
int userId,
const char* userName);
125 virtual int GetNumberOfConnectedClients();
130 void UpdateUserInformations();
136 int GetServerConnectID();
145 CollaborationNotification = 12345,
146 UpdateUserName = 12346,
147 UpdateUserList = 12347,
148 UpdateMasterUser = 12348,
149 FollowUserCamera = 12349,
150 CameraChanged = 12350,
151 LastMessageUpdated = 12351
174 void DisableFurtherConnections(
bool disable);
180 void SetConnectID(
int connectID);
186 const char* GetLastReceivedMessage()
const;
201 vtkInternal* Internal;
206 #endif // #ifndef vtkSMCollaborationManager_h