Chaste
Release::3.4
|
#include <AbstractDynamicallyLoadableEntity.hpp>
Public Member Functions | |
const DynamicCellModelLoaderPtr | GetLoader () const |
void | SetLoader (DynamicCellModelLoaderPtr pLoader) |
virtual | ~AbstractDynamicallyLoadableEntity () |
Private Member Functions | |
template<class Archive > | |
void | save (Archive &archive, const unsigned int version) const |
template<class Archive > | |
void | load (Archive &archive, const unsigned int version) |
Private Attributes | |
DynamicCellModelLoaderPtr | mpLoader |
Friends | |
class | boost::serialization::access |
A mixin class for things that get loaded dynamically to maintain an association between instance objects and the shared library they have been loaded from.
Definition at line 48 of file AbstractDynamicallyLoadableEntity.hpp.
|
virtual |
Virtual destructor to ensure we're polymorphic
Definition at line 50 of file AbstractDynamicallyLoadableEntity.cpp.
References DynamicModelLoaderRegistry::Instance(), mpLoader, and DynamicModelLoaderRegistry::ScheduleForDeletion().
const DynamicCellModelLoaderPtr AbstractDynamicallyLoadableEntity::GetLoader | ( | ) | const |
Definition at line 45 of file AbstractDynamicallyLoadableEntity.cpp.
References mpLoader.
Referenced by load(), save(), and AbstractCardiacTissue< SPACE_DIM >::SaveCardiacCells().
|
inlineprivate |
Load the path to the loadable module, and set our loader from the registry.
archive | the archive |
version | the archive version |
Definition at line 91 of file AbstractDynamicallyLoadableEntity.hpp.
References GetLoader(), DynamicModelLoaderRegistry::Instance(), and SetLoader().
|
inlineprivate |
Save the path to the loadable module.
archive | the archive |
version | the archive version |
Definition at line 79 of file AbstractDynamicallyLoadableEntity.hpp.
References GetLoader().
void AbstractDynamicallyLoadableEntity::SetLoader | ( | DynamicCellModelLoaderPtr | pLoader | ) |
Should only be called by a dynamic cell model loader
pLoader | a shared pointer to the loader |
Definition at line 40 of file AbstractDynamicallyLoadableEntity.cpp.
References mpLoader.
Referenced by load().
|
private |
The loader for our shared object file
Definition at line 69 of file AbstractDynamicallyLoadableEntity.hpp.
Referenced by GetLoader(), SetLoader(), and ~AbstractDynamicallyLoadableEntity().