VICI  0.11.815
Visual Chart Interpreter
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
VICI::stub::ViciStub Class Reference

A stub version of the Vici module. More...

#include <vici/libifstubs.h>

Inheritance diagram for VICI::stub::ViciStub:
VICI::Vici VICI::Interp::InterpreterClient

Public Member Functions

virtual Interp::InterpretergetInterpreter ()
 Get a reference to the interpreter object.
 
virtual void openFile (const VICI::Path &)
 Set the file to execute.
 
virtual void autoStart ()
 Start the script as soon as the GUI is ready.
 
virtual void setValue (csr varName, csr value)
 this gets called when a script variable has a change of value More...
 
virtual void setFile (int state, csr filename)
 this gets called when a monitored file changes state. More...
 
virtual void setCursor (ThreadId, NodeId)
 this gets called as the shell steps through the script More...
 
virtual void breakReached (ThreadId, NodeId)
 this gets called when a break point is reached More...
 
virtual void dataReady (NodeId)
 this gets called when data is available on a display More...
 
virtual void reportError (Severity, csr)
 This gets called if an error is detected. More...
 
virtual void done ()
 this gets called when the script completes
 
- Public Member Functions inherited from VICI::Vici
virtual ~Vici ()
 virtual destructor
 
- Public Member Functions inherited from VICI::Interp::InterpreterClient
virtual ~InterpreterClient ()
 virtual destructor
 

Detailed Description

A stub version of the Vici module.

Member Function Documentation

void ViciStub::breakReached ( ThreadId  tid,
NodeId  node 
)
virtual

this gets called when a break point is reached

Parameters
tidthe thread which reached the breakpoint
nodethe location of the breakpoint

Implements VICI::Interp::InterpreterClient.

void ViciStub::dataReady ( NodeId  node)
virtual

this gets called when data is available on a display

Parameters
nodethe node of the display object in the flowchart

Implements VICI::Interp::InterpreterClient.

void ViciStub::reportError ( Severity  sev,
csr  msg 
)
virtual

This gets called if an error is detected.

Parameters
msgThe text of the error message.
sevThe severity of the error

Implements VICI::Interp::InterpreterClient.

void ViciStub::setCursor ( ThreadId  tid,
NodeId  node 
)
virtual

this gets called as the shell steps through the script

Parameters
tidthe thread which changed to executing this node
nodethe node that is currently being executed

Implements VICI::Interp::InterpreterClient.

void ViciStub::setFile ( int  state,
csr  filename 
)
virtual

this gets called when a monitored file changes state.

Parameters
statethis needs to be defined
filenamethe name of the file that changed

Implements VICI::Interp::InterpreterClient.

void ViciStub::setValue ( csr  varName,
csr  value 
)
virtual

this gets called when a script variable has a change of value

Parameters
varNamethe name of the variable that changed value
valuethe new value of the variable

Implements VICI::Interp::InterpreterClient.


The documentation for this class was generated from the following files: