#include <AbstractSimpleGenerationBasedCellCycleModel.hpp>
Public Member Functions | |
AbstractSimpleGenerationBasedCellCycleModel () | |
virtual | ~AbstractSimpleGenerationBasedCellCycleModel () |
void | ResetForDivision () |
void | InitialiseDaughterCell () |
void | SetGeneration (unsigned generation) |
unsigned | GetGeneration () const |
void | SetMaxTransitGenerations (unsigned maxTransitGenerations) |
unsigned | GetMaxTransitGenerations () const |
virtual void | OutputCellCycleModelParameters (out_stream &rParamsFile) |
Protected Attributes | |
unsigned | mGeneration |
unsigned | mMaxTransitGenerations |
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 46 of file AbstractSimpleGenerationBasedCellCycleModel.hpp.
AbstractSimpleGenerationBasedCellCycleModel::AbstractSimpleGenerationBasedCellCycleModel | ( | ) |
Default constructor - creates an AbstractSimpleCellCycleModel.
Definition at line 31 of file AbstractSimpleGenerationBasedCellCycleModel.cpp.
AbstractSimpleGenerationBasedCellCycleModel::~AbstractSimpleGenerationBasedCellCycleModel | ( | ) | [virtual] |
Default destructor.
Definition at line 38 of file AbstractSimpleGenerationBasedCellCycleModel.cpp.
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 59 of file AbstractSimpleGenerationBasedCellCycleModel.hpp.
References mGeneration, and mMaxTransitGenerations.
void AbstractSimpleGenerationBasedCellCycleModel::ResetForDivision | ( | ) | [virtual] |
Overridden ResetForDivision() method.
Reimplemented from AbstractSimpleCellCycleModel.
Definition at line 42 of file AbstractSimpleGenerationBasedCellCycleModel.cpp.
References AbstractCellCycleModel::mCellProliferativeType, mGeneration, mMaxTransitGenerations, and AbstractSimpleCellCycleModel::ResetForDivision().
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 56 of file AbstractSimpleGenerationBasedCellCycleModel.cpp.
References AbstractSimpleCellCycleModel::InitialiseDaughterCell(), AbstractCellCycleModel::mCellProliferativeType, mGeneration, and mMaxTransitGenerations.
void AbstractSimpleGenerationBasedCellCycleModel::SetGeneration | ( | unsigned | generation | ) |
Sets the cell's generation.
generation | the cell's generation |
Definition at line 79 of file AbstractSimpleGenerationBasedCellCycleModel.cpp.
References mGeneration.
Referenced by StochasticDurationGenerationBasedCellCycleModel::CreateCellCycleModel(), and FixedDurationGenerationBasedCellCycleModel::CreateCellCycleModel().
unsigned AbstractSimpleGenerationBasedCellCycleModel::GetGeneration | ( | ) | const |
Returns the cell's generation.
Definition at line 84 of file AbstractSimpleGenerationBasedCellCycleModel.cpp.
References mGeneration.
void AbstractSimpleGenerationBasedCellCycleModel::SetMaxTransitGenerations | ( | unsigned | maxTransitGenerations | ) |
Set mMaxTransitGenerations.
maxTransitGenerations | the new value of mMaxTransitGenerations |
Definition at line 89 of file AbstractSimpleGenerationBasedCellCycleModel.cpp.
References mMaxTransitGenerations.
Referenced by StochasticDurationGenerationBasedCellCycleModel::CreateCellCycleModel(), and FixedDurationGenerationBasedCellCycleModel::CreateCellCycleModel().
unsigned AbstractSimpleGenerationBasedCellCycleModel::GetMaxTransitGenerations | ( | ) | const |
Definition at line 94 of file AbstractSimpleGenerationBasedCellCycleModel.cpp.
References mMaxTransitGenerations.
void AbstractSimpleGenerationBasedCellCycleModel::OutputCellCycleModelParameters | ( | out_stream & | rParamsFile | ) | [virtual] |
Outputs cell cycle model parameters to file.
rParamsFile | the file stream to which the parameters are output |
Reimplemented from AbstractSimpleCellCycleModel.
Reimplemented in FixedDurationGenerationBasedCellCycleModel, and StochasticDurationGenerationBasedCellCycleModel.
Definition at line 99 of file AbstractSimpleGenerationBasedCellCycleModel.cpp.
References mMaxTransitGenerations, and AbstractSimpleCellCycleModel::OutputCellCycleModelParameters().
Referenced by StochasticDurationGenerationBasedCellCycleModel::OutputCellCycleModelParameters(), and FixedDurationGenerationBasedCellCycleModel::OutputCellCycleModelParameters().
friend class boost::serialization::access [friend] |
Needed for serialization.
Reimplemented from AbstractSimpleCellCycleModel.
Reimplemented in FixedDurationGenerationBasedCellCycleModel, and StochasticDurationGenerationBasedCellCycleModel.
Definition at line 51 of file AbstractSimpleGenerationBasedCellCycleModel.hpp.
unsigned AbstractSimpleGenerationBasedCellCycleModel::mGeneration [protected] |
The generation of this cell (STEM cells have a generation of 0)
Definition at line 69 of file AbstractSimpleGenerationBasedCellCycleModel.hpp.
Referenced by StochasticDurationGenerationBasedCellCycleModel::CreateCellCycleModel(), FixedDurationGenerationBasedCellCycleModel::CreateCellCycleModel(), GetGeneration(), InitialiseDaughterCell(), ResetForDivision(), serialize(), and SetGeneration().
unsigned AbstractSimpleGenerationBasedCellCycleModel::mMaxTransitGenerations [protected] |
How many generations a transit cell lives for before becoming fully differentiated.
Definition at line 72 of file AbstractSimpleGenerationBasedCellCycleModel.hpp.
Referenced by StochasticDurationGenerationBasedCellCycleModel::CreateCellCycleModel(), FixedDurationGenerationBasedCellCycleModel::CreateCellCycleModel(), GetMaxTransitGenerations(), InitialiseDaughterCell(), OutputCellCycleModelParameters(), ResetForDivision(), serialize(), and SetMaxTransitGenerations().