![]() |
Chaste Commit::333233612e3dcc941d260418acd7b5ccdc30390e
|
#include <AbstractSimpleCellCycleModel.hpp>
Protected Member Functions | |
AbstractSimpleCellCycleModel (const AbstractSimpleCellCycleModel &rModel) | |
![]() | |
AbstractCellCycleModel (const AbstractCellCycleModel &rModel) | |
Protected Attributes | |
double | mCellCycleDuration |
![]() | |
CellPtr | mpCell |
double | mBirthTime |
bool | mReadyToDivide |
unsigned | mDimension |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Friends | |
class | boost::serialization::access |
This class contains basic information to all cell-cycle models that do NOT explicitly include distinct phases (G1, S, G2, M).
Definition at line 55 of file AbstractSimpleCellCycleModel.hpp.
|
protected |
Protected copy-constructor for use by CreateCellCycleModel. The only way for external code to create a copy of a cell cycle model is by calling that method, to ensure that a model of the correct subclass is created. This copy-constructor helps subclasses to ensure that all member variables are correctly copied when this happens.
This method is called by child classes to set member variables for a daughter cell upon cell division. Note that the parent cell cycle model will have had ResetForDivision() called just before CreateCellCycleModel() is called, so performing an exact copy of the parent is suitable behaviour. Any daughter-cell-specific initialisation can be done in InitialiseDaughterCell().
rModel | the cell cycle model to copy. |
Definition at line 48 of file AbstractSimpleCellCycleModel.cpp.
AbstractSimpleCellCycleModel::AbstractSimpleCellCycleModel | ( | ) |
Default constructor - creates an AbstractSimpleCellCycleModel.
Definition at line 38 of file AbstractSimpleCellCycleModel.cpp.
|
virtual |
Destructor.
Definition at line 44 of file AbstractSimpleCellCycleModel.cpp.
double AbstractSimpleCellCycleModel::GetCellCycleDuration | ( | ) | const |
Definition at line 94 of file AbstractSimpleCellCycleModel.cpp.
References mCellCycleDuration.
|
virtual |
See AbstractPhaseBasedCellCycleModel::Initialise()
Calls SetCellCycleDuration() defined in child classes.
Reimplemented from AbstractCellCycleModel.
Definition at line 63 of file AbstractSimpleCellCycleModel.cpp.
References SetCellCycleDuration().
|
virtual |
Overridden InitialiseDaughterCell() method.
Set the new cell's cell cycle duration once it has been created after division. This is by calling SetCellCycleDuration() defined in child classes.
Reimplemented from AbstractCellCycleModel.
Definition at line 68 of file AbstractSimpleCellCycleModel.cpp.
References AbstractCellCycleModel::InitialiseDaughterCell(), and SetCellCycleDuration().
|
pure virtual |
Outputs cell cycle model parameters to file.
As this method is pure virtual, it must be overridden in subclasses.
rParamsFile | the file stream to which the parameters are output |
Implements AbstractCellCycleModel.
Implemented in UniformCellCycleModel.
Definition at line 99 of file AbstractSimpleCellCycleModel.cpp.
References AbstractCellCycleModel::OutputCellCycleModelParameters().
Referenced by UniformCellCycleModel::OutputCellCycleModelParameters().
|
virtual |
See AbstractCellCycleModel::ResetForDivision()
Implements AbstractCellCycleModel.
Definition at line 74 of file AbstractSimpleCellCycleModel.cpp.
References AbstractCellCycleModel::GetAge(), mCellCycleDuration, AbstractCellCycleModel::mpCell, and AbstractCellCycleModel::mReadyToDivide.
|
virtual |
See AbstractCellCycleModel::ResetForDivision()
Reimplemented from AbstractCellCycleModel.
Definition at line 88 of file AbstractSimpleCellCycleModel.cpp.
References AbstractCellCycleModel::ResetForDivision(), and SetCellCycleDuration().
|
inlineprivate |
Archive the object and its member variables.
archive | the archive |
version | the current version of this class |
Definition at line 68 of file AbstractSimpleCellCycleModel.hpp.
References mCellCycleDuration.
|
pure virtual |
This method is implemented in Subclasses to set the cell cycle duration of the cell. It is called on the beginning of the simulation (intialisation) when initialising daughter cells and when reseting parent cells
It must be implemented in child classes.
Implemented in UniformCellCycleModel.
Referenced by Initialise(), InitialiseDaughterCell(), and ResetForDivision().
|
friend |
Needed for serialization.
Definition at line 60 of file AbstractSimpleCellCycleModel.hpp.
|
protected |
Duration of cell cycle. May be used as a mean duration for stochastic cell-cycle models.
Definition at line 80 of file AbstractSimpleCellCycleModel.hpp.
Referenced by GetCellCycleDuration(), ReadyToDivide(), serialize(), and UniformCellCycleModel::SetCellCycleDuration().