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()
void SetLoader(DynamicCellModelLoaderPtr pLoader)
const DynamicCellModelLoaderPtr GetLoader() const
virtual ~AbstractDynamicallyLoadableEntity()
void load(Archive &archive, const unsigned int version)
void save(Archive &archive, const unsigned int version) const
DynamicCellModelLoaderPtr mpLoader
static DynamicModelLoaderRegistry * Instance()