NEST
2.6.0,not_revisioned_source_dir@0
|
Base class for all SLI Interpreter modules. More...
#include <slimodule.h>
Public Member Functions | |
virtual | ~SLIModule () |
virtual void | init (SLIInterpreter *)=0 |
Initialise the module. More... | |
virtual const std::string | name (void) const =0 |
Return name of the module. More... | |
virtual const std::string | commandstring (void) const |
Return sli command sequence to be executed for initialisation. More... | |
void | install (std::ostream &, SLIInterpreter *) |
Print installation message via interpreter message command. More... | |
Base class for all SLI Interpreter modules.
|
inlinevirtual |
|
virtual |
Return sli command sequence to be executed for initialisation.
Reimplemented in SLIArrayModule, Processes, RegexpModule, FilesystemModule, SLIgraphics, nest::NestModule, nest::DynamicLoaderModule, RandomNumbers, nest::ConnectionGeneratorModule, nest::TopologyModule, nest::ModelsModule, nest::PreciseModule, and OOSupportModule.
Referenced by SLIInterpreter::addmodule().
|
pure virtual |
Initialise the module.
When this function is called, most of the interpreter's fascilities are up and running. However, depending on where in the interpreter's bootstrap sequence the module is initialised, not all services may be available.
Implemented in SLIArrayModule, Processes, SLIStartup, RegexpModule, FilesystemModule, RandomNumbers, SLIgraphics, nest::NestModule, nest::DynamicLoaderModule, SpecialFunctionsModule, nest::ConnectionGeneratorModule, nest::TopologyModule, nest::ModelsModule, nest::PreciseModule, GNUReadline, and OOSupportModule.
Referenced by install().
void SLIModule::install | ( | std::ostream & | , |
SLIInterpreter * | i | ||
) |
Print installation message via interpreter message command.
References init(), SLIInterpreter::message(), and name().
Referenced by SLIInterpreter::addmodule().
|
pure virtual |
Return name of the module.
Implemented in SLIArrayModule, Processes, SLIStartup, RegexpModule, FilesystemModule, nest::NestModule, SLIgraphics, nest::DynamicLoaderModule, SpecialFunctionsModule, nest::ConnectionGeneratorModule, RandomNumbers, nest::TopologyModule, nest::ModelsModule, nest::PreciseModule, OOSupportModule, and GNUReadline.
Referenced by SLIInterpreter::addmodule(), and install().