|
| virtual const char * | GetClassName () |
| |
| virtual int | IsA (const char *type) |
| |
| void | PrintSelf (ostream &os, vtkIndent indent) override |
| |
| | vtkClientServerInterpreter (const vtkClientServerInterpreter &)=delete |
| |
| vtkClientServerInterpreter & | operator= (const vtkClientServerInterpreter &)=delete |
| |
| int | ProcessOneMessage (const vtkClientServerStream &css, int message) |
| | Process the message with the given index in the given stream. More...
|
| |
| const vtkClientServerStream * | GetMessageFromID (vtkClientServerID id) |
| | Get the message for an ID. More...
|
| |
| const vtkClientServerStream & | GetLastResult () const |
| | Get the last result message. More...
|
| |
| vtkObjectBase * | GetObjectFromID (vtkClientServerID id) |
| | Return a pointer to a vtkObjectBase for an ID whose message contains only the one object. More...
|
| |
| vtkObjectBase * | GetObjectFromID (vtkClientServerID id, int noerror) |
| |
| vtkClientServerID | GetIDFromObject (vtkObjectBase *key) |
| | Return an ID given a pointer to a vtkObjectBase (or 0 if object is not found) More...
|
| |
| int | NewInstance (vtkObjectBase *obj, vtkClientServerID id) |
| | Called by generated code to register a new class instance. More...
|
| |
| VTK_NEWINSTANCE vtkObjectBase * | NewInstance (const char *classname) |
| | Creates a new instance for the class specified using the interpreter. More...
|
| |
| int | NewObserver (vtkObject *obj, const char *event, const vtkClientServerStream &css) |
| | Called by generated code to add an observer to a wrapped object. More...
|
| |
| void | AddCommandFunction (const char *cname, vtkClientServerCommandFunction func, void *ctx=nullptr, vtkContextFreeFunction ctx_free=nullptr) |
| | Add a command function for a class. More...
|
| |
| bool | HasCommandFunction (const char *cname) |
| | Return true if the classname has a command function, false otherwise. More...
|
| |
| int | CallCommandFunction (const char *classname, vtkObjectBase *ptr, const char *method, const vtkClientServerStream &msg, vtkClientServerStream &result) |
| | Call a command function. More...
|
| |
| void | AddNewInstanceFunction (const char *cname, vtkClientServerNewInstanceFunction f, void *ctx=nullptr, vtkContextFreeFunction ctx_free=nullptr) |
| | Add a function used to create new objects. More...
|
| |
| void | ClearLastResult () |
| | Resets the LastResult stream. More...
|
| |
| vtkClientServerID | GetNextAvailableId () |
| | Return the next available Id that can be used to create a new object. More...
|
| |
|
| int | ProcessStream (const unsigned char *msg, size_t msgLength) |
| | Process all messages in a given vtkClientServerStream. More...
|
| |
| int | ProcessStream (const vtkClientServerStream &css) |
| | Process all messages in a given vtkClientServerStream. More...
|
| |
|
| void | SetLogFile (const char *name) |
| | Get/Set a stream to which an execution log is written. More...
|
| |
| virtual void | SetLogStream (ostream *ostr) |
| | Get/Set a stream to which an execution log is written. More...
|
| |
| virtual ostream * | GetLogStream () |
| | Get/Set a stream to which an execution log is written. More...
|
| |
|
| int | Load (const char *moduleName) |
| | Dynamically load a wrapper module into the interpreter. More...
|
| |
| int | Load (const char *moduleName, const char *const *optionalPaths) |
| | Dynamically load a wrapper module into the interpreter. More...
|
| |
| | vtkBaseTypeMacro (vtkObject, vtkObjectBase) |
| |
| virtual void | DebugOn () |
| |
| virtual void | DebugOff () |
| |
| bool | GetDebug () |
| |
| void | SetDebug (bool debugFlag) |
| |
| virtual void | Modified () |
| |
| virtual vtkMTimeType | GetMTime () |
| |
| void | RemoveObserver (unsigned long tag) |
| |
| void | RemoveObservers (unsigned long event) |
| |
| void | RemoveObservers (const char *event) |
| |
| void | RemoveAllObservers () |
| |
| int | HasObserver (unsigned long event) |
| |
| int | HasObserver (const char *event) |
| |
| int | InvokeEvent (unsigned long event) |
| |
| int | InvokeEvent (const char *event) |
| |
| unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
| |
| unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
| |
| vtkCommand * | GetCommand (unsigned long tag) |
| |
| void | RemoveObserver (vtkCommand *) |
| |
| void | RemoveObservers (unsigned long event, vtkCommand *) |
| |
| void | RemoveObservers (const char *event, vtkCommand *) |
| |
| int | HasObserver (unsigned long event, vtkCommand *) |
| |
| int | HasObserver (const char *event, vtkCommand *) |
| |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
| |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| |
| unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| |
| int | InvokeEvent (unsigned long event, void *callData) |
| |
| int | InvokeEvent (const char *event, void *callData) |
| |
| unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
| |
| unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
| |
| vtkCommand * | GetCommand (unsigned long tag) |
| |
| void | RemoveObserver (vtkCommand *) |
| |
| void | RemoveObservers (unsigned long event, vtkCommand *) |
| |
| void | RemoveObservers (const char *event, vtkCommand *) |
| |
| int | HasObserver (unsigned long event, vtkCommand *) |
| |
| int | HasObserver (const char *event, vtkCommand *) |
| |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
| |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| |
| unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| |
| int | InvokeEvent (unsigned long event, void *callData) |
| |
| int | InvokeEvent (const char *event, void *callData) |
| |
| const char * | GetClassName () const |
| |
| virtual void | Delete () |
| |
| virtual void | FastDelete () |
| |
| void | Print (ostream &os) |
| |
| virtual void | Register (vtkObjectBase *o) |
| |
| virtual void | UnRegister (vtkObjectBase *o) |
| |
| void | SetReferenceCount (int) |
| |
| virtual void | PrintHeader (ostream &os, vtkIndent indent) |
| |
| virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
| |
| int | GetReferenceCount () |
| |
| void | PrintRevisions (ostream &) |
| |
| virtual void | PrintHeader (ostream &os, vtkIndent indent) |
| |
| virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
| |
| int | GetReferenceCount () |
| |
| void | PrintRevisions (ostream &) |
| |
Run-time VTK interpreter.
vtkClientServerInterpreter will process messages stored in a vtkClientServerStream. This allows run-time creation and execution of VTK programs.
Definition at line 51 of file vtkClientServerInterpreter.h.