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 DynamicCellModelLoaderPtr Create(const std::string &rLoadableModulePath)
static std::shared_ptr< DynamicModelLoaderRegistry > mpInstance
DynamicCellModelLoaderPtr GetLoader(const std::string &rPath)
std::map< std::string, DynamicCellModelLoaderWeakPtr > mLoaders
DynamicModelLoaderRegistry()
std::set< DynamicCellModelLoaderPtr > mDeletableLoaders
static DynamicModelLoaderRegistry * Instance()
void ScheduleForDeletion(DynamicCellModelLoaderPtr pLoader)
std::string GetAbsolutePath() const