24 #ifndef vtkClientServerInterpreter_h 25 #define vtkClientServerInterpreter_h 32 class vtkClientServerInterpreterInternals;
46 typedef vtkObjectBase* (*vtkClientServerNewInstanceFunction)(
void* ctx);
68 void PrintSelf(ostream& os,
vtkIndent indent)
override;
78 int ProcessStream(
const unsigned char* msg,
size_t msgLength);
115 void SetLogFile(
const char*
name);
116 virtual void SetLogStream(ostream* ostr);
117 vtkGetMacro(LogStream, ostream*);
147 bool HasCommandFunction(
const char* cname);
152 int CallCommandFunction(
const char* classname,
vtkObjectBase* ptr,
const char* method,
176 void ClearLastResult();
183 int Load(
const char* moduleName);
184 int Load(
const char* moduleName,
const char*
const* optionalPaths);
216 int LoadInternal(
const char* moduleName,
const char* fullPath);
223 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...