36#ifndef DYNAMICMODELLOADERREGISTRY_HPP_
37#define DYNAMICMODELLOADERREGISTRY_HPP_
43#include <boost/utility.hpp>
44#include <boost/weak_ptr.hpp>
45#include "DynamicCellModelLoader.hpp"
46#include "FileFinder.hpp"
48typedef boost::weak_ptr<DynamicCellModelLoader> DynamicCellModelLoaderWeakPtr;
66 DynamicCellModelLoaderPtr
GetLoader(
const std::string& rPath);
88 std::map<std::string, DynamicCellModelLoaderWeakPtr>
mLoaders;
94 static std::shared_ptr<DynamicModelLoaderRegistry>
mpInstance;
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)