src/common/modfactory.cpp
void ModuleFactory::addModule(const IModulePtr& module)
{
    BOOST_ASSERT(module);
    std::string modid = module->getID();
    BOOST_ASSERT(getModuleUnsafe(modid) == NULL);
    // register messages
    module->registerProcessors();
    m_modules.push_back(module);
}
// Adds a module to the known modules list
Adds a module to the known modules list
Adds a module to the known modules list
void ModuleFactory::addModule(const IModulePtr& module)
{
    BOOST_ASSERT(module);
    std::string modid = module->getID();
    BOOST_ASSERT(getModuleUnsafe(modid) == NULL);
    module->registerProcessors();
    m_modules.push_back(module);
}
void ModuleFactory :: addModule ( const IModulePtr & module ) { BOOST_ASSERT ( module ) ; std :: string modid = module -> getID ( ) ; BOOST_ASSERT ( getModuleUnsafe ( modid ) == NULL ) ; module -> registerProcessors ( ) ; m_modules . push_back ( module ) ; }
Adds a module to the known modules list
Adds a module to the known modules list
// register messages