36 #ifndef ABSTRACTDYNAMICALLYLOADABLEENTITY_HPP_
37 #define ABSTRACTDYNAMICALLYLOADABLEENTITY_HPP_
39 #include "DynamicCellModelLoader.hpp"
40 #include "DynamicModelLoaderRegistry.hpp"
42 #include <boost/serialization/split_member.hpp>
54 const DynamicCellModelLoaderPtr
GetLoader()
const;
61 void SetLoader(DynamicCellModelLoaderPtr pLoader);
71 friend class boost::serialization::access;
78 template<
class Archive>
79 void save(Archive & archive,
const unsigned int version)
const
81 const std::string so_path =
GetLoader()->GetLoadableModulePath();
90 template<
class Archive>
91 void load(Archive & archive,
const unsigned int version)
97 BOOST_SERIALIZATION_SPLIT_MEMBER()
static DynamicModelLoaderRegistry * Instance()
const DynamicCellModelLoaderPtr GetLoader() const
DynamicCellModelLoaderPtr mpLoader
virtual ~AbstractDynamicallyLoadableEntity()
void SetLoader(DynamicCellModelLoaderPtr pLoader)
void save(Archive &archive, const unsigned int version) const
void load(Archive &archive, const unsigned int version)