Chaste
Release::2018.1
|
#include <AbstractCellKiller.hpp>
Public Member Functions | |
AbstractCellKiller (AbstractCellPopulation< SPACE_DIM > *pCellPopulation) | |
virtual | ~AbstractCellKiller () |
virtual void | CheckAndLabelCellsForApoptosisOrDeath ()=0 |
const AbstractCellPopulation < SPACE_DIM > * | GetCellPopulation () const |
void | OutputCellKillerInfo (out_stream &rParamsFile) |
virtual void | OutputCellKillerParameters (out_stream &rParamsFile)=0 |
Public Member Functions inherited from Identifiable | |
virtual | ~Identifiable () |
std::string | GetIdentifier () const |
Protected Attributes | |
AbstractCellPopulation < SPACE_DIM > * | mpCellPopulation |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &archive, const unsigned int version) |
Friends | |
class | boost::serialization::access |
An abstract cell killer class, for use in cell-based simulations.
Definition at line 50 of file AbstractCellKiller.hpp.
AbstractCellKiller< SPACE_DIM >::AbstractCellKiller | ( | AbstractCellPopulation< SPACE_DIM > * | pCellPopulation | ) |
Constructor.
pCellPopulation | pointer to the cell population. |
Definition at line 39 of file AbstractCellKiller.cpp.
|
virtual |
Destructor.
Definition at line 45 of file AbstractCellKiller.cpp.
|
pure virtual |
Pure method which should call StartApoptosis() on any cell which should be about to undergo programmed death, or Kill() on any cell which should die immediately.
As this method is pure virtual, it must be overridden in subclasses.
Implemented in SloughingCellKiller< DIM >, RandomCellKiller< DIM >, PlaneBasedCellKiller< DIM >, TargetedCellKiller< DIM >, RadialSloughingCellKiller, T2SwapCellKiller< DIM >, ApoptoticCellKiller< SPACE_DIM >, and IsolatedLabelledCellKiller< DIM >.
const AbstractCellPopulation< SPACE_DIM > * AbstractCellKiller< SPACE_DIM >::GetCellPopulation | ( | ) | const |
Get a pointer to the cell population.
Definition at line 50 of file AbstractCellKiller.cpp.
void AbstractCellKiller< SPACE_DIM >::OutputCellKillerInfo | ( | out_stream & | rParamsFile | ) |
Outputs cell killer used in the simulation to file and then calls OutputCellKillerParameters to output all relevant parameters.
rParamsFile | the file stream to which the parameters are output |
|
pure virtual |
Outputs cell killer 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 |
Implemented in SloughingCellKiller< DIM >, RandomCellKiller< DIM >, PlaneBasedCellKiller< DIM >, TargetedCellKiller< DIM >, RadialSloughingCellKiller, T2SwapCellKiller< DIM >, ApoptoticCellKiller< SPACE_DIM >, and IsolatedLabelledCellKiller< DIM >.
Referenced by AbstractCellKiller< DIM >::OutputCellKillerInfo(), ApoptoticCellKiller< SPACE_DIM >::OutputCellKillerParameters(), IsolatedLabelledCellKiller< DIM >::OutputCellKillerParameters(), T2SwapCellKiller< DIM >::OutputCellKillerParameters(), RadialSloughingCellKiller::OutputCellKillerParameters(), PlaneBasedCellKiller< DIM >::OutputCellKillerParameters(), TargetedCellKiller< DIM >::OutputCellKillerParameters(), RandomCellKiller< DIM >::OutputCellKillerParameters(), and SloughingCellKiller< DIM >::OutputCellKillerParameters().
|
inlineprivate |
Serialize the object and its member variables.
archive | the archive |
version | the current version of this class |
Definition at line 62 of file AbstractCellKiller.hpp.
|
friend |
Needed for serialization.
Definition at line 54 of file AbstractCellKiller.hpp.
|
protected |
The cell population.
Definition at line 70 of file AbstractCellKiller.hpp.