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