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);
77 friend class boost::serialization::access;
84 template<
class Archive>
85 void save(Archive & archive,
const unsigned int version)
const
87 const std::string so_path =
GetLoader()->GetLoadableModulePath();
96 template<
class Archive>
97 void load(Archive & archive,
const unsigned int version)
103 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)