#include <AbstractSimpleGenerationBasedCellCycleModel.hpp>
Public Member Functions | |
AbstractSimpleGenerationBasedCellCycleModel () | |
virtual | ~AbstractSimpleGenerationBasedCellCycleModel () |
void | ResetForDivision () |
void | InitialiseDaughterCell () |
void | SetGeneration (unsigned generation) |
unsigned | GetGeneration () const |
Protected Attributes | |
unsigned | mGeneration |
Private Member Functions | |
template<class Archive> | |
void | serialize (Archive &archive, const unsigned int version) |
Friends | |
class | boost::serialization::access |
N.B. Whether or not the cell should actually divide may depend on Wnt / Oxygen etc. in subclasses.
Definition at line 49 of file AbstractSimpleGenerationBasedCellCycleModel.hpp.
AbstractSimpleGenerationBasedCellCycleModel::AbstractSimpleGenerationBasedCellCycleModel | ( | ) |
Default constructor - creates an AbstractSimpleCellCycleModel.
Definition at line 31 of file AbstractSimpleGenerationBasedCellCycleModel.cpp.
virtual AbstractSimpleGenerationBasedCellCycleModel::~AbstractSimpleGenerationBasedCellCycleModel | ( | ) | [inline, virtual] |
Default destructor.
Definition at line 83 of file AbstractSimpleGenerationBasedCellCycleModel.hpp.
void AbstractSimpleGenerationBasedCellCycleModel::serialize | ( | Archive & | archive, | |
const unsigned int | version | |||
) | [inline, private] |
Archive the cell cycle model.
archive | the archive | |
version | the current version of this class |
Reimplemented from AbstractSimpleCellCycleModel.
Reimplemented in FixedDurationGenerationBasedCellCycleModel, and StochasticDurationGenerationBasedCellCycleModel.
Definition at line 62 of file AbstractSimpleGenerationBasedCellCycleModel.hpp.
References mGeneration.
void AbstractSimpleGenerationBasedCellCycleModel::ResetForDivision | ( | ) | [virtual] |
Overridden ResetForDivision() method.
Reimplemented from AbstractSimpleCellCycleModel.
Definition at line 37 of file AbstractSimpleGenerationBasedCellCycleModel.cpp.
References TissueCell::GetCellType(), TissueConfig::Instance(), mGeneration, AbstractCellCycleModel::mpCell, AbstractSimpleCellCycleModel::ResetForDivision(), and TissueCell::SetCellType().
void AbstractSimpleGenerationBasedCellCycleModel::InitialiseDaughterCell | ( | ) | [virtual] |
Set the new cell's G1 duration once it has been created after division. The duration will be based on cell type.
Reimplemented from AbstractSimpleCellCycleModel.
Definition at line 52 of file AbstractSimpleGenerationBasedCellCycleModel.cpp.
References AbstractSimpleCellCycleModel::InitialiseDaughterCell(), TissueConfig::Instance(), mGeneration, AbstractCellCycleModel::mpCell, and TissueCell::SetCellType().
void AbstractSimpleGenerationBasedCellCycleModel::SetGeneration | ( | unsigned | generation | ) |
Sets the cell's generation.
generation | the cell's generation |
Definition at line 76 of file AbstractSimpleGenerationBasedCellCycleModel.cpp.
References mGeneration.
unsigned AbstractSimpleGenerationBasedCellCycleModel::GetGeneration | ( | ) | const |
Returns the cell's generation.
Definition at line 82 of file AbstractSimpleGenerationBasedCellCycleModel.cpp.
References mGeneration.
friend class boost::serialization::access [friend] |
Needed for serialization.
Reimplemented from AbstractSimpleCellCycleModel.
Reimplemented in FixedDurationGenerationBasedCellCycleModel, and StochasticDurationGenerationBasedCellCycleModel.
Definition at line 54 of file AbstractSimpleGenerationBasedCellCycleModel.hpp.
unsigned AbstractSimpleGenerationBasedCellCycleModel::mGeneration [protected] |
The generation of this cell (STEM cells have a generation of 0)
Definition at line 71 of file AbstractSimpleGenerationBasedCellCycleModel.hpp.
Referenced by GetGeneration(), InitialiseDaughterCell(), ResetForDivision(), serialize(), and SetGeneration().