24 #ifndef vtkClientServerInterpreter_h 25 #define vtkClientServerInterpreter_h 32 class vtkClientServerInterpreterInternals;
46 typedef vtkObjectBase* (*vtkClientServerNewInstanceFunction)(
void* ctx);
68 void PrintSelf(ostream&,
vtkIndent)
override;
75 int ProcessStream(
const unsigned char* msg,
size_t msgLength);
112 void SetLogFile(
const char*
name);
113 virtual void SetLogStream(ostream* ostr);
114 vtkGetMacro(LogStream, ostream*);
144 bool HasCommandFunction(
const char* cname);
149 int CallCommandFunction(
const char* classname,
vtkObjectBase* ptr,
const char* method,
173 void ClearLastResult();
180 int Load(
const char* moduleName);
181 int Load(
const char* moduleName,
const char*
const* optionalPaths);
213 int LoadInternal(
const char* moduleName,
const char* fullPath);
220 vtkClientServerInterpreterInternals* Internal;
int(* vtkClientServerCommandFunction)(vtkClientServerInterpreter *, vtkObjectBase *ptr, const char *method, const vtkClientServerStream &msg, vtkClientServerStream &result, void *ctx)
The type of a command function.
Store messages for the interpreter.
A pointer to this struct is sent as call data when an ErrorEvent is invoked by the interpreter...
Run-time VTK interpreter.
vtkObjectBase *(* vtkClientServerNewInstanceFunction)(void *ctx)
The type of a new-instance function.
The callback data structure passed to observers looking for VTK object creation and deletion events...
const vtkClientServerStream * css
void(* vtkContextFreeFunction)(void *ctx)
#define VTKREMOTINGCLIENTSERVERSTREAM_EXPORT
Identifier for a ClientServer object.
vtkObjectBase * GetObjectFromID(vtkClientServerID id)
Return a pointer to a vtkObjectBase for an ID whose message contains only the one object...