Go to the documentation of this file.
12 #ifndef vtkClientServerInterpreter_h
13 #define vtkClientServerInterpreter_h
20 class vtkClientServerInterpreterInternals;
34 typedef vtkObjectBase* (*vtkClientServerNewInstanceFunction)(
void* ctx);
66 int ProcessStream(
const unsigned char* msg,
size_t msgLength);
103 void SetLogFile(
const char* name);
104 virtual void SetLogStream(ostream* ostr);
105 vtkGetMacro(LogStream, ostream*);
135 bool HasCommandFunction(
const char* cname);
140 int CallCommandFunction(
const char* classname,
vtkObjectBase* ptr,
const char* method,
164 void ClearLastResult();
171 int Load(
const char* moduleName);
172 int Load(
const char* moduleName,
const char*
const* optionalPaths);
204 int LoadInternal(
const char* moduleName,
const char* fullPath);
211 vtkClientServerInterpreterInternals* Internal;
void operator=(const vtkObjectBase &)
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.
Store messages for the interpreter.
vtkObjectBase *(* vtkClientServerNewInstanceFunction)(void *ctx)
The type of a new-instance function.
void(* vtkContextFreeFunction)(void *ctx)
const vtkClientServerStream * css
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
The callback data structure passed to observers looking for VTK object creation and deletion events.
A pointer to this struct is sent as call data when an ErrorEvent is invoked by the interpreter.
int(* vtkClientServerCommandFunction)(vtkClientServerInterpreter *, vtkObjectBase *ptr, const char *method, const vtkClientServerStream &msg, vtkClientServerStream &result, void *ctx)
The type of a command function.
Run-time VTK interpreter.