#include <perlscriptinterpreter.h>
Inheritance diagram for PerlScriptInterpreter:
Public Member Functions | |
PerlScriptInterpreter () | |
virtual | ~PerlScriptInterpreter () |
virtual void | start () |
virtual void | stop () |
virtual void * | define (const char *var, const char *value) |
virtual bool | defined (const char *var) |
virtual void * | eval (const char *script) |
virtual int | toint (void *value) |
virtual const char * | tostring (void *value) |
virtual double | todouble (void *value) |
virtual bool | tobool (void *value) |
virtual void | upscope () |
virtual void | downscope () |
Static Public Member Functions | |
static PerlScriptInterpreter * | getSingleton () |
|
Construct a PerlScriptInterpreter. Allocates a new embedded perl instance. WARNING: Will throw a BasicException if this constructor is call more than once. |
|
Destruct a PearlScriptInterpreter. Deallocates the embedded pearl instance. |
|
Get a singleton instance of the PerlScriptInterpreter. There must only be once instance of this class because embedded perl has problems with there being more than one. If an instance has not yet been constructed one will be created.
|
|
Start the perl intrepreter. Implements Interpreter. |
|
Stop the perl intrepreter. Implements Interpreter. |
|
Define a variable in the interpreter.
Implements Interpreter. |
|
Check if a variable is defined in this interpreter.
Implements Interpreter. |
|
Evaluage a string of perl script.
Implements Interpreter. |
|
Convert a void pointer value to an integer.
Implements Interpreter. |
|
convert a void pointer value to a string.
Implements Interpreter. |
|
Convert a void pointer value to a double.
Implements Interpreter. |
|
Convert a void pointer value to a bool.
Implements Interpreter. |
|
Up the variable scope. This doesn't currently do anything useful in perl. Implements Interpreter. |
|
Down the variable scope. This doesn't currently do anything useful in perl. Implements Interpreter. |