|
ScriptStack 1.0.5
|
API entry point. More...
Public Member Functions | |
| Manager () | |
| A Manager object is responsible for memory management, type evaluation and loading of plugins. | |
| void | LoadComponents (string relativeDirectoryPath) |
| void | LoadComponent (string relativeDirectoryPath) |
| bool | IsRegistered (string routine) |
| void | Register (Model model) |
| void | UnRegister (Model model) |
| void | Register (Routine routine, Host host) |
| void | UnRegister (string routine) |
| void | Register (Routine routine) |
| Register a new Routine. | |
| void | ClearActiveLocks () |
| void | UnloadPlugins () |
| Unload all plugins that were loaded via LoadComponents (subdirectory mode). This will deregister their routines and unload their ALCs (collectible). | |
Properties | |
| Func< List< string >, Lexer > | LexerFactory = lines => new Lexer(lines) [get, set] |
| String | Name [get, set] |
| Scanner | Scanner [get, set] |
| A Scanner reference. | |
| Memory | SharedMemory [get] |
| ReadOnlyDictionary< String, Routine > | Routines [get] |
| bool | Debug [get, set] |
| bool | Optimize [get, set] |
| ReadOnlyDictionary< object, Interpreter > | ActiveLocks [get] |
Private Attributes | |
| string | name |
| Scanner | scanner |
| Memory | sharedMemory |
| Dictionary< string, Routine > | routines |
| Dictionary< object, Interpreter > | locks |
| bool | debug |
| bool | optimize |
| List< Plugin > | loadedPlugins = new List<Plugin>() |
API entry point.
Definition at line 20 of file Manager.cs.
| ScriptStack.Manager.Manager | ( | ) |
A Manager object is responsible for memory management, type evaluation and loading of plugins.
Definition at line 52 of file Manager.cs.
References ScriptStack.Runtime.Memory.AllocateSharedMemory(), debug, loadedPlugins, locks, optimize, routines, scanner, and sharedMemory.
| void ScriptStack.Manager.ClearActiveLocks | ( | ) |
| bool ScriptStack.Manager.IsRegistered | ( | string | routine | ) |
Definition at line 180 of file Manager.cs.
References routines.
| void ScriptStack.Manager.LoadComponent | ( | string | relativeDirectoryPath | ) |
Definition at line 138 of file Manager.cs.
References Register().
| void ScriptStack.Manager.LoadComponents | ( | string | relativeDirectoryPath | ) |
Definition at line 73 of file Manager.cs.
References ScriptStack.Plugins.PluginLoader.LoadPlugins(), and Register().
| void ScriptStack.Manager.Register | ( | Model | model | ) |
Definition at line 185 of file Manager.cs.
References Register().
Referenced by LoadComponent(), LoadComponents(), Register(), and Register().
| void ScriptStack.Manager.Register | ( | Routine | routine | ) |
Register a new Routine.
| routine |
Definition at line 229 of file Manager.cs.
References Register().
Definition at line 201 of file Manager.cs.
References ScriptStack.Runtime.Routine.Name, name, and routines.
| void ScriptStack.Manager.UnloadPlugins | ( | ) |
Unload all plugins that were loaded via LoadComponents (subdirectory mode). This will deregister their routines and unload their ALCs (collectible).
Definition at line 243 of file Manager.cs.
References loadedPlugins, and routines.
| void ScriptStack.Manager.UnRegister | ( | Model | model | ) |
Definition at line 193 of file Manager.cs.
References ScriptStack.Runtime.Routine.Name, and UnRegister().
Referenced by UnRegister().
| void ScriptStack.Manager.UnRegister | ( | string | routine | ) |
Definition at line 215 of file Manager.cs.
References routines.
|
private |
Definition at line 30 of file Manager.cs.
Referenced by Manager().
Definition at line 34 of file Manager.cs.
Referenced by Manager(), and UnloadPlugins().
|
private |
Definition at line 29 of file Manager.cs.
Referenced by ClearActiveLocks(), and Manager().
|
private |
Definition at line 25 of file Manager.cs.
Referenced by Register().
|
private |
Definition at line 31 of file Manager.cs.
Referenced by Manager().
|
private |
Definition at line 28 of file Manager.cs.
Referenced by IsRegistered(), Manager(), Register(), UnloadPlugins(), and UnRegister().
|
private |
Definition at line 26 of file Manager.cs.
Referenced by Manager().
|
private |
Definition at line 27 of file Manager.cs.
Referenced by Manager().
|
get |
Definition at line 326 of file Manager.cs.
|
getset |
Definition at line 314 of file Manager.cs.
Referenced by ScriptStack.Runtime.Script.Script(), and ScriptStack.Runtime.Script.Script().
Definition at line 71 of file Manager.cs.
|
getset |
Definition at line 172 of file Manager.cs.
|
getset |
Definition at line 320 of file Manager.cs.
Referenced by ScriptStack.Runtime.Script.Script(), and ScriptStack.Runtime.Script.Script().
|
get |
Definition at line 307 of file Manager.cs.
Referenced by ScriptStack.Compiler.Parser.RoutineCall().
|
getset |
A Scanner reference.
Definition at line 296 of file Manager.cs.
|
get |
Definition at line 302 of file Manager.cs.