36 #include "DynamicModelLoaderRegistry.hpp"
54 DynamicCellModelLoaderPtr p_loader;
56 std::map<std::string, DynamicCellModelLoaderWeakPtr>::iterator it =
mLoaders.find(rPath);
57 if (it ==
mLoaders.end() || it->second.expired())
65 p_loader = it->second.lock();
static DynamicModelLoaderRegistry * Instance()
static std::shared_ptr< DynamicModelLoaderRegistry > mpInstance
std::string GetAbsolutePath() const
std::set< DynamicCellModelLoaderPtr > mDeletableLoaders
DynamicModelLoaderRegistry()
void ScheduleForDeletion(DynamicCellModelLoaderPtr pLoader)
DynamicCellModelLoaderPtr GetLoader(const std::string &rPath)
static DynamicCellModelLoaderPtr Create(const std::string &rLoadableModulePath)
std::map< std::string, DynamicCellModelLoaderWeakPtr > mLoaders