Пример #1
0
/*! At the time when DynamicLoaderModule is constructed, the SLI Interpreter
  and NestModule must be already constructed and initialized.
  DynamicLoaderModule relies on the presence of
  the following SLI datastructures: Name, Dictionary
  and on the nest::NestModule::net.
*/
DynamicLoaderModule::DynamicLoaderModule( Network* pNet, SLIInterpreter& interpreter )
  : loadmodule_function( pNet, dyn_modules )
{
  assert( pNet != NULL );
  pNet_ = pNet;

  interpreter.def( "moduledict", new DictionaryDatum( moduledict_ ) );
}
Пример #2
0
/*! At the time when DynamicLoaderModule is constructed, the SLI Interpreter
  and NestModule must be already constructed and initialized.
  DynamicLoaderModule relies on the presence of
  the following SLI datastructures: Name, Dictionary.
*/
DynamicLoaderModule::DynamicLoaderModule( SLIInterpreter& interpreter )
  : loadmodule_function( dyn_modules )
{
  interpreter.def( "moduledict", new DictionaryDatum( moduledict_ ) );
}