TargetedCellKiller< DIM > Class Template Reference

#include <TargetedCellKiller.hpp>

Inherits AbstractCellKiller< DIM >.

Collaboration diagram for TargetedCellKiller< DIM >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TargetedCellKiller (AbstractCellPopulation< DIM > *pCellPopulation, unsigned targetedIndex, bool bloodLust=true)
unsigned GetTargetIndex () const
unsigned GetBloodLust () const
void TestAndLabelCellsForApoptosisOrDeath ()
void OutputCellKillerParameters (out_stream &rParamsFile)

Private Member Functions

template<class Archive >
void serialize (Archive &archive, const unsigned int version)

Private Attributes

unsigned mTargetIndex
bool mBloodLust

Friends

class boost::serialization::access

Detailed Description

template<unsigned DIM>
class TargetedCellKiller< DIM >

Simple cell killer, which at the first timestep kills any cell whose corresponding location index is a given number.

Definition at line 42 of file TargetedCellKiller.hpp.


Constructor & Destructor Documentation

template<unsigned DIM>
TargetedCellKiller< DIM >::TargetedCellKiller ( AbstractCellPopulation< DIM > *  pCellPopulation,
unsigned  targetedIndex,
bool  bloodLust = true 
) [inline]

Default constructor.

Parameters:
pCellPopulation pointer to the cell population
targetedIndex The index of the cell to kill
bloodLust Wether to kill cells or not defaults to true (used by load methods)

Definition at line 32 of file TargetedCellKiller.cpp.


Member Function Documentation

template<unsigned DIM>
unsigned TargetedCellKiller< DIM >::GetBloodLust (  )  const [inline]
Returns:
mBloodLust.

Definition at line 46 of file TargetedCellKiller.cpp.

References TargetedCellKiller< DIM >::mBloodLust.

template<unsigned DIM>
unsigned TargetedCellKiller< DIM >::GetTargetIndex (  )  const [inline]
Returns:
mTargetIndex.

Definition at line 40 of file TargetedCellKiller.cpp.

References TargetedCellKiller< DIM >::mTargetIndex.

template<unsigned DIM>
void TargetedCellKiller< DIM >::OutputCellKillerParameters ( out_stream &  rParamsFile  )  [inline, virtual]

Overridden OutputCellKillerParameters() method.

Parameters:
rParamsFile the file stream to which the parameters are output

Implements AbstractCellKiller< DIM >.

Definition at line 63 of file TargetedCellKiller.cpp.

References TargetedCellKiller< DIM >::mBloodLust, and TargetedCellKiller< DIM >::mTargetIndex.

template<unsigned DIM>
template<class Archive >
void TargetedCellKiller< DIM >::serialize ( Archive &  archive,
const unsigned int  version 
) [inline, private]

Archive the object.

Parameters:
archive the archive
version the current version of this class

Reimplemented from AbstractCellKiller< DIM >.

Definition at line 66 of file TargetedCellKiller.hpp.

template<unsigned DIM>
void TargetedCellKiller< DIM >::TestAndLabelCellsForApoptosisOrDeath (  )  [inline, virtual]

Friends And Related Function Documentation

template<unsigned DIM>
friend class boost::serialization::access [friend]

Needed for serialization.

Reimplemented from AbstractCellKiller< DIM >.

Definition at line 58 of file TargetedCellKiller.hpp.


Member Data Documentation

template<unsigned DIM>
bool TargetedCellKiller< DIM >::mBloodLust [private]

Variable to reack when the cell has been killed. Once the cell has been called mBloodLust will stop the killer killing more cells.

Definition at line 55 of file TargetedCellKiller.hpp.

Referenced by TargetedCellKiller< DIM >::GetBloodLust(), TargetedCellKiller< DIM >::OutputCellKillerParameters(), and TargetedCellKiller< DIM >::TestAndLabelCellsForApoptosisOrDeath().

template<unsigned DIM>
unsigned TargetedCellKiller< DIM >::mTargetIndex [private]

The documentation for this class was generated from the following files:
Generated on Thu Dec 22 13:07:55 2011 for Chaste by  doxygen 1.6.3