|
VICI
0.11.815
Visual Chart Interpreter
|
A stub version of the Interpreter module. More...
#include <vici/libifstubs.h>
Public Member Functions | |
| InterpreterStub (Sec::Secure *s) | |
| Constructor. More... | |
| virtual void | addClient (Interp::InterpreterClient *sc) |
| add a client for notifications | |
| virtual void | debugMode (bool) |
| enable debug mode More... | |
| virtual void | setScript (csr filename) |
| the XML VICI script to execute | |
| virtual void | setArgs (ArgList args) |
| set the program options | |
| virtual void | setValue (csr varName, csr value) |
| this is called when a variable has its value changed by the user More... | |
| virtual void | setPosn (ThreadId, NodeId) |
| call this to set the point where execution resumes More... | |
| virtual void | setInterval (double secs) |
| set the time interval between executing commands More... | |
| virtual void | setBreak (NodeId, bool) |
| call this to mark a node as a break point More... | |
| virtual int | openDisplay (NodeId) |
| open a Display object for reading More... | |
| virtual void | dataAck (NodeId) |
| call this after responding to InterpreterClient::dataReady() to wait for the next set of data. More... | |
| virtual void | step (ThreadId) |
| virtual void | resume () |
| resume a paused script | |
| virtual void | run () |
| start running the script | |
| virtual void | run (csr funcName) |
| start running the script at a specified function More... | |
| virtual void | pause () |
| pause the script | |
| virtual void | kill () |
| stop the script | |
| virtual int | result () |
| get the exit code | |
| virtual void | saveSnapshot (csr filename) |
| save a snapshot file More... | |
| virtual void | loadSnapshot (csr filename) |
| restore a snapshot file More... | |
Public Member Functions inherited from VICI::Interp::Interpreter | |
| virtual | ~Interpreter () |
| virtual destructor | |
Additional Inherited Members | |
Static Public Attributes inherited from VICI::Interp::Interpreter | |
| static const NodeId | OutDisplay = -1 |
| the node id of the default output display | |
| static const NodeId | ErrDisplay = -2 |
| the node id of the default error display | |
A stub version of the Interpreter module.
| InterpreterStub::InterpreterStub | ( | Sec::Secure * | s | ) |
Constructor.
| s | The security module. |
|
virtual |
call this after responding to InterpreterClient::dataReady() to wait for the next set of data.
| node | the node id of the display that is being acknowledged. |
Implements VICI::Interp::Interpreter.
|
virtual |
enable debug mode
turning this on causes events to be generated at each step of the processing.
| mode | set this true to enable debugging mode |
Implements VICI::Interp::Interpreter.
|
virtual |
restore a snapshot file
| filename | the name of the file to load the state from |
Implements VICI::Interp::Interpreter.
|
virtual |
open a Display object for reading
the InterpreterClient::dataReady() will be called when the file descriptor has data to be read.
| node | the display object to open |
Implements VICI::Interp::Interpreter.
|
virtual |
start running the script at a specified function
| functionName | the function to start |
Implements VICI::Interp::Interpreter.
|
virtual |
save a snapshot file
| filename | the name of the file to save the interpreter state to |
Implements VICI::Interp::Interpreter.
|
virtual |
call this to mark a node as a break point
| node | The node to break execution on when reached |
| set | True to set the breakpoint and false to clear it. |
Implements VICI::Interp::Interpreter.
|
virtual |
set the time interval between executing commands
| secs | the interval to wait between executing commands |
Implements VICI::Interp::Interpreter.
call this to set the point where execution resumes
| tid | the execution thread to be repositioned |
| node | the place to resume execution |
Implements VICI::Interp::Interpreter.
this is called when a variable has its value changed by the user
| varName | the variable being changed |
| value | the new value to assign to the variable |
Implements VICI::Interp::Interpreter.
|
virtual |
| tid | the thread to execute one command from |
Implements VICI::Interp::Interpreter.
1.8.5