Lines Matching refs:ModuleFactory
40 class ModuleFactory {
45 ModuleFactory(std::function<Module*()> ctor);
62 std::vector<const ModuleFactory*> list_;
117 Module* GetDependency(const ModuleFactory* module) const;
134 bool IsStarted(const ModuleFactory* factory) const;
145 Module* Start(const ModuleFactory* id, ::bluetooth::os::Thread* thread);
151 Module* Get(const ModuleFactory* module) const;
155 os::Handler* GetModuleHandler(const ModuleFactory* module) const;
157 std::map<const ModuleFactory*, Module*> started_modules_;
158 std::vector<const ModuleFactory*> start_order_;
175 void InjectTestModule(const ModuleFactory* module, Module* instance) { in InjectTestModule()
182 Module* GetModuleUnderTest(const ModuleFactory* module) const { in GetModuleUnderTest()
191 os::Handler* GetTestModuleHandler(const ModuleFactory* module) const { in GetTestModuleHandler()
199 …bool SynchronizeModuleHandler(const ModuleFactory* module, std::chrono::milliseconds timeout) cons… in SynchronizeModuleHandler()
217 T* Inject(const ModuleFactory* overriding) { in Inject()