Lines Matching refs:Module
34 class Module; variable
45 ModuleFactory(std::function<Module*()> ctor);
48 std::function<Module*()> ctor_;
52 friend Module; variable
74 class Module {
80 virtual ~Module() = default;
117 Module* GetDependency(const ModuleFactory* module) const;
125 friend Module; variable
145 Module* Start(const ModuleFactory* id, ::bluetooth::os::Thread* thread);
151 Module* Get(const ModuleFactory* module) const;
153 void set_registry_and_handler(Module* instance, ::bluetooth::os::Thread* thread) const;
157 std::map<const ModuleFactory*, Module*> started_modules_;
175 void InjectTestModule(const ModuleFactory* module, Module* instance) { in InjectTestModule()
182 Module* GetModuleUnderTest(const ModuleFactory* module) const { in GetModuleUnderTest()
218 Module* instance = T::Factory.ctor_(); in Inject()