AbstractDynamicallyLoadableEntity Class Reference

#include <AbstractDynamicallyLoadableEntity.hpp>

Collaboration diagram for AbstractDynamicallyLoadableEntity:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ~AbstractDynamicallyLoadableEntity ()
const DynamicCellModelLoaderGetLoader () const
void SetLoader (DynamicCellModelLoader *pLoader)

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

DynamicCellModelLoadermpLoader

Friends

class boost::serialization::access

Detailed Description

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 41 of file AbstractDynamicallyLoadableEntity.hpp.


Constructor & Destructor Documentation

AbstractDynamicallyLoadableEntity::~AbstractDynamicallyLoadableEntity (  )  [virtual]

Virtual destructor to ensure we're polymorphic

Definition at line 41 of file AbstractDynamicallyLoadableEntity.cpp.


Member Function Documentation

const DynamicCellModelLoader * AbstractDynamicallyLoadableEntity::GetLoader (  )  const
Returns:
a shared pointer to the loader

Definition at line 36 of file AbstractDynamicallyLoadableEntity.cpp.

References mpLoader.

Referenced by load(), save(), and AbstractCardiacPde< SPACE_DIM >::SaveCardiacCells().

template<class Archive >
void AbstractDynamicallyLoadableEntity::load ( Archive &  archive,
const unsigned int  version 
) [inline, private]

Load the path to the loadable module, and set our loader from the registry.

Parameters:
archive the archive
version the archive version

Definition at line 68 of file AbstractDynamicallyLoadableEntity.hpp.

References GetLoader(), DynamicModelLoaderRegistry::Instance(), and SetLoader().

template<class Archive >
void AbstractDynamicallyLoadableEntity::save ( Archive &  archive,
const unsigned int  version 
) const [inline, private]

Save the path to the loadable module.

Parameters:
archive the archive
version the archive version

Definition at line 56 of file AbstractDynamicallyLoadableEntity.hpp.

References DynamicCellModelLoader::GetLoadableModulePath(), and GetLoader().

void AbstractDynamicallyLoadableEntity::SetLoader ( DynamicCellModelLoader pLoader  ) 

Should only be called by a dynamic cell model loader

Parameters:
pLoader a shared pointer to the loader

Definition at line 31 of file AbstractDynamicallyLoadableEntity.cpp.

References mpLoader.

Referenced by load().


Member Data Documentation

The loader for our shared object file

Definition at line 46 of file AbstractDynamicallyLoadableEntity.hpp.

Referenced by GetLoader(), and SetLoader().


The documentation for this class was generated from the following files:

Generated by  doxygen 1.6.2