class ScriptImage
|
Script compiler image set.
More... |
|
|
Protected Members
Detailed Description
A derivable class to hold compiled script images for active processes.
This includes the script image compiler itself. Typically, a script is
compiled one file at a time from a directory, and the committed, during
the constructor in a derived class.
[protected]
Construct a new working image. This must be derived to an
application specific compiler that can scan directories and
invoke the compiler as needed.
Parameters:
cmdset | of keyword table object used.
|
int Compile (const char *scrfile)
|
[protected]
The script compiler itself. This linearly compiles a Bayonne
script file that is specified. Normally used along with a dir
scanner in the constructor.
Parameters:
name | of script file to compile.
|
Returns: lines of script compiled.
[protected]
Used in the derived constructor to "commit" the current image
for new processes. This is usually the last statement in the
derived constructor.
scriptname_t * getScript (const char *name)
|
[protected]
Fetch named script.
Parameters:
Returns: script or NULL.
- Author: David Sugar <dyfet@ostel.com>.
- Generated: dyfet@home.sys on Wed Jun 28 08:29:07 200.