12 #ifndef vtkSMRemoteObject_h 13 #define vtkSMRemoteObject_h 23 class vtkSMLoadStateContext;
28 friend class vtkSMStateHelper;
40 vtkSetMacro(Location, vtkTypeUInt32);
41 vtkGetMacro(Location, vtkTypeUInt32);
55 virtual vtkTypeUInt32 GetGlobalID();
56 const char* GetGlobalIDAsString();
70 vtkBooleanMacro(Prototype,
bool);
72 vtkSetMacro(Prototype,
bool);
105 virtual void EnableLocalPushOnly();
111 virtual void DisableLocalPushOnly();
146 void SetGlobalID(vtkTypeUInt32 guid);
168 vtkTypeUInt32 GetFilteredLocation();
174 char* GlobalIDString;
198 : Reference(rmobject)
206 #endif // #ifndef vtkSMRemoteObject_h superclass for any server manager classes that are related to a session
bool ClientOnlyLocationFlag
virtual void SetSession(vtkSMSession *)
Get/Set the session on wihch this object exists.
bool IsPrototype()
Allow user to set the remote object to be discard for Undo/Redo action.
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 ...
#define VTKREMOTINGSERVERMANAGER_EXPORT
vtkSMSession is the default ParaView session.
Store messages for the interpreter.
Header class that setup every thing in order to use Protobuf messages in a transparent manner...
This defines a manipulator for the vtkClientServerStream that can be used to indicate to the interpre...
SIOBJECT(vtkSMRemoteObject *rmobject)
virtual bool IsLocalPushOnly()
Let the session be aware that even if the Location is client only, the message should not be send to ...
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) override
Utility class to load state from XML.
baseclass for all proxy-objects that have counter parts on server as well as client processes...
VTKREMOTINGSERVERMANAGER_EXPORT vtkClientServerStream & operator<<(vtkClientServerStream &stream, const SIOBJECT &manipulator)