Lines Matching refs:module
39 \brief Add a module to the module database
40 \param module The module to be registered.
43 DB::register_ext (Extension *module)
45 g_return_if_fail(module != NULL);
46 g_return_if_fail(module->get_id() != NULL);
48 // only add to list if it's a never-before-seen module
50 ( moduledict.find(module->get_id()) == moduledict.end());
52 //printf("Registering: '%s' add:%d\n", module->get_id(), add_to_list);
53 moduledict[module->get_id()] = module;
55 if (add_to_list) modulelist.push_back(module);
59 \brief This function removes a module from the database
60 \param module The module to be removed.
63 DB::unregister_ext (Extension * module)
65 g_return_if_fail(module != NULL);
66 g_return_if_fail(module->get_id() != NULL);
68 // printf("Extension DB: removing %s\n", module->get_id());
69 moduledict.erase(moduledict.find(module->get_id()));
71 if ( moduledict.find(module->get_id()) != moduledict.end())
72 modulelist.remove(module);
78 id. It then returns a reference to that module.
79 \param key The unique ID of the module
81 Retrieves a module by name; if non-NULL, it refs the returned
82 module; the caller is responsible for releasing that reference
101 \param in_func The function to execute for every module
120 \brief The function to look at each module and see if it is
121 an input module, then add it to the list.
125 The first thing that is checked is if this module is an input
126 module. If it is, then it is added to the list which is passed
146 \brief The function to look at each module and see if it is
147 an output module, then add it to the list.
151 The first thing that is checked is if this module is an output
152 module. If it is, then it is added to the list which is passed
174 \brief The function to look at each module and see if it is
175 an effect module, then add it to the list.
179 The first thing that is checked is if this module is an effect
180 module. If it is, then it is added to the list which is passed