1 #ifndef MODULEFACTORY_HPP
2 #define MODULEFACTORY_HPP
44 static std::set<std::shared_ptr<Module>> instances;
65 #endif // MODULEFACTORY_HPP
static LateReturn< std::shared_ptr< Module > > CreateNewInstance(std::shared_ptr< ModuleTemplate > templ, std::shared_ptr< Canvas > parent)
ModuleInstanceCreationFailed(std::string t, std::string id_)
Definition: ModuleFactory.hpp:32
Definition: Alertable.hpp:26
std::string id
Definition: ModuleFactory.hpp:32
static LateReturn DestroyInstance(std::shared_ptr< Module >)
Definition: LateReturn.hpp:35
Definition: Exception.hpp:29
Definition: ModuleFactory.hpp:31
Definition: ModuleFactory.hpp:41
static std::shared_ptr< ModuleTemplate > GetTemplateByID(std::string)