#include <script.h>
Inheritance diagram for ScriptModule:

Protected Member Functions | |
| virtual void | moduleAttach (ScriptInterp *interp) |
| Method to call for handling script attach events. | |
| virtual void | moduleDetach (ScriptInterp *interp) |
| Method to call for handling script detach events. | |
| virtual char * | getSession (ScriptInterp *interp, Line *line, Session **session) |
| Check for script handler. | |
| virtual char * | checkScript (Line *line, ScriptImage *img) |
| Validate script command for parser. | |
| ScriptModule (const char *name) | |
| Construct and link-in a command handler. | |
Static Protected Member Functions | |
| static ScriptModule * | find (const char *name) |
| Find a given module. | |
Friends | |
| class | ScriptInterp |
| class | ScriptCommand |
This allows plugins to become part of the base ccScript engine.
| ScriptModule::ScriptModule | ( | const char * | name | ) | [protected] |
Construct and link-in a command handler.
| name | of command being created. |
| virtual char* ScriptModule::checkScript | ( | Line * | line, | |
| ScriptImage * | img | |||
| ) | [inline, protected, virtual] |
Validate script command for parser.
| script | line evaluated. | |
| image | set analyzed. |
| static ScriptModule* ScriptModule::find | ( | const char * | name | ) | [static, protected] |
Find a given module.
| module | name. |
| virtual char* ScriptModule::getSession | ( | ScriptInterp * | interp, | |
| Line * | line, | |||
| Session ** | session | |||
| ) | [inline, protected, virtual] |
Check for script handler.
| interpreter | image. | |
| line | object parsed. | |
| pointer | to session handler. |
| virtual void ScriptModule::moduleAttach | ( | ScriptInterp * | interp | ) | [inline, protected, virtual] |
Method to call for handling script attach events.
| interpreter | being attached. |
| virtual void ScriptModule::moduleDetach | ( | ScriptInterp * | interp | ) | [inline, protected, virtual] |
Method to call for handling script detach events.
| interpreter | being detached. |
friend class ScriptCommand [friend] |
friend class ScriptInterp [friend] |
1.4.7