Lines Matching refs:ModuleFactory
44 class ModuleFactory {
49 ModuleFactory(std::function<Module*()> ctor);
71 std::vector<const ModuleFactory*> list_;
129 Module* GetDependency(const ModuleFactory* module) const;
146 bool IsStarted(const ModuleFactory* factory) const;
157 Module* Start(const ModuleFactory* id, ::bluetooth::os::Thread* thread);
163 Module* Get(const ModuleFactory* module) const;
167 os::Handler* GetModuleHandler(const ModuleFactory* module) const;
169 std::map<const ModuleFactory*, Module*> started_modules_;
170 std::vector<const ModuleFactory*> start_order_;
176 void InjectTestModule(const ModuleFactory* module, Module* instance) { in InjectTestModule()
183 Module* GetModuleUnderTest(const ModuleFactory* module) const { in GetModuleUnderTest()
192 os::Handler* GetTestModuleHandler(const ModuleFactory* module) const { in GetTestModuleHandler()
200 …bool SynchronizeModuleHandler(const ModuleFactory* module, std::chrono::milliseconds timeout) cons… in SynchronizeModuleHandler()
218 T* Inject(const ModuleFactory* overriding) { in Inject()