NEST  2.6.0,not_revisioned_source_dir@0
Public Member Functions | List of all members
SLIModule Class Referenceabstract

Base class for all SLI Interpreter modules. More...

#include <slimodule.h>

Inheritance diagram for SLIModule:
FilesystemModule GNUReadline nest::ConnectionGeneratorModule nest::DynamicLoaderModule nest::ModelsModule nest::NestModule nest::PreciseModule nest::TopologyModule OOSupportModule Processes RandomNumbers RegexpModule SLIArrayModule SLIgraphics SLIStartup SpecialFunctionsModule

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...
 

Detailed Description

Base class for all SLI Interpreter modules.

Constructor & Destructor Documentation

virtual SLIModule::~SLIModule ( )
inlinevirtual

Member Function Documentation

const std::string SLIModule::commandstring ( void  ) const
virtual
virtual void SLIModule::init ( SLIInterpreter )
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().

virtual const std::string SLIModule::name ( void  ) const
pure virtual

The documentation for this class was generated from the following files: