Develop Biology
The language of life
|
#include <EnvironmentDependent.h>
Public Member Functions | |
EnvironmentDependent (T *environment=NULL) | |
virtual | ~EnvironmentDependent () |
virtual T * | GetEnvironment () |
virtual const T * | GetEnvironment () const |
virtual void | SetEnvironment (T *environment) |
Protected Attributes | |
T * | m_environment |
An EnvironmentDependent object is one that changes how it behaves based on where it exists. This class assumes there is only ever 1 greater environment directly above the inheriting class. For example, a Protein is dependent on the Cell in which it resides and a Cell is dependent on the Tissue in which it resides. However, no where is a Protein dependent on multiple Cells directly nor is any Cell dependent on more than 1 Tissue at a time. Instead, these EnvironmentDependent classes rely on their greater context to move between themselves and further contexts, whatever resources they need or produce. In other words, the immediate m_environment is a pivot point into the larger system & the larger system is often tiered, having an even larger system "above" it.
T | what this is dependent on (will store a T as m_environment). |
Definition at line 34 of file EnvironmentDependent.h.
|
inline |
environment |
Definition at line 40 of file EnvironmentDependent.h.
|
inlinevirtual |
Definition at line 50 of file EnvironmentDependent.h.
|
inlinevirtual |
Definition at line 58 of file EnvironmentDependent.h.
References bio::molecular::EnvironmentDependent< T >::m_environment.
|
inlinevirtual |
Definition at line 66 of file EnvironmentDependent.h.
References bio::molecular::EnvironmentDependent< T >::m_environment.
|
inlinevirtual |
Sets m_environment. Don't let the environment go out of scope or be deleted before *this!
environment |
Reimplemented in bio::molecular::Surface.
Definition at line 76 of file EnvironmentDependent.h.
References bio::molecular::EnvironmentDependent< T >::m_environment.
Referenced by bio::organic::Habitat::AdaptInhabitants(), bio::cellular::Tissue::DifferentiateCells(), and bio::cellular::OrganSystem::Organogenesis().
|
protected |
Definition at line 82 of file EnvironmentDependent.h.
Referenced by bio::molecular::EnvironmentDependent< T >::GetEnvironment(), and bio::molecular::EnvironmentDependent< T >::SetEnvironment().