24 #ifndef vtkSMRemoteObject_h 25 #define vtkSMRemoteObject_h 35 class vtkSMLoadStateContext;
40 friend class vtkSMStateHelper;
52 vtkSetMacro(Location, vtkTypeUInt32);
53 vtkGetMacro(Location, vtkTypeUInt32);
67 virtual vtkTypeUInt32 GetGlobalID();
68 const char* GetGlobalIDAsString();
82 vtkBooleanMacro(Prototype,
bool);
84 vtkSetMacro(Prototype,
bool);
117 virtual void EnableLocalPushOnly();
123 virtual void DisableLocalPushOnly();
158 void SetGlobalID(vtkTypeUInt32 guid);
180 vtkTypeUInt32 GetFilteredLocation();
186 char* GlobalIDString;
210 : Reference(rmobject)
218 #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)