12 #ifndef vtkClientServerInterpreter_h 13 #define vtkClientServerInterpreter_h 20 class vtkClientServerInterpreterInternals;
34 typedef vtkObjectBase* (*vtkClientServerNewInstanceFunction)(
void* ctx);
56 void PrintSelf(ostream& os,
vtkIndent indent)
override;
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;
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...