#include <AbstractSimpleGenerationBasedCellCycleModel.hpp>
Public Member Functions | |
AbstractSimpleGenerationBasedCellCycleModel () | |
virtual | ~AbstractSimpleGenerationBasedCellCycleModel () |
void | ResetForDivision () |
void | InitialiseDaughterCell () |
void | SetGeneration (unsigned generation) |
unsigned | GetGeneration () const |
Protected Member Functions | |
AbstractSimpleGenerationBasedCellCycleModel (double g1Duration, unsigned generation) | |
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 | ( | double | g1Duration, | |
unsigned | generation | |||
) | [protected] |
Protected constructor for creating an identical daughter cell (with the same G1 duration).
g1Duration | the parent cell's G1 duration | |
generation | the cell's generation |
Definition at line 37 of file AbstractSimpleGenerationBasedCellCycleModel.cpp.
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 92 of file AbstractSimpleGenerationBasedCellCycleModel.hpp.
void AbstractSimpleGenerationBasedCellCycleModel::serialize | ( | Archive & | archive, | |
const unsigned int | version | |||
) | [inline, private] |
Archive the cell cycle model.
archive | ||
version |
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 45 of file AbstractSimpleGenerationBasedCellCycleModel.cpp.
References TissueCell::GetCellType(), CancerParameters::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 60 of file AbstractSimpleGenerationBasedCellCycleModel.cpp.
References AbstractSimpleCellCycleModel::InitialiseDaughterCell(), CancerParameters::Instance(), mGeneration, AbstractCellCycleModel::mpCell, and TissueCell::SetCellType().
void AbstractSimpleGenerationBasedCellCycleModel::SetGeneration | ( | unsigned | generation | ) |
Sets the cell's generation.
generation |
Definition at line 84 of file AbstractSimpleGenerationBasedCellCycleModel.cpp.
References mGeneration.
unsigned AbstractSimpleGenerationBasedCellCycleModel::GetGeneration | ( | ) | const |
Returns the cell's generation.
Definition at line 90 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 StochasticDurationGenerationBasedCellCycleModel::CreateDaughterCellCycleModel(), FixedDurationGenerationBasedCellCycleModel::CreateDaughterCellCycleModel(), GetGeneration(), InitialiseDaughterCell(), ResetForDivision(), serialize(), and SetGeneration().