Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

CRunnable Class Reference

#include <Runnable.h>

Inheritance diagram for CRunnable:

Inheritance graph
Collaboration diagram for CRunnable:

Collaboration graph
List of all members.

Public Methods

 CRunnable ()
virtual ~CRunnable ()
void SetComponents (ReactionNetwork *pRxnNetwork, CReactionMover *pRxnMover, CellAverageObserver *pCellObserver)
void Run ()
void SetRunnableName (std::string name)
CellAverageObserverGetCellObserver ()
ReactionNetworkGetReactionNetwork ()
CReactionMoverGetReactionMover ()
std::string GetRunnableName () const

Private Attributes

std::string m_sRunnableName

Constructor & Destructor Documentation


Definition at line 11 of file Runnable.cpp.

CRunnable::~CRunnable   [virtual]

Definition at line 16 of file Runnable.cpp.

Member Function Documentation

CellAverageObserver* CRunnable::GetCellObserver   [inline]

Definition at line 25 of file Runnable.h.

References m_pCellObserver.

Referenced by GnuPlotterRunnableObserver::Update, and GnuPlotterEnsembleRunDirectorObserver::Update.

CReactionMover* CRunnable::GetReactionMover   [inline]

Definition at line 27 of file Runnable.h.

References m_pRxnMover.

ReactionNetwork* CRunnable::GetReactionNetwork   [inline]

Definition at line 26 of file Runnable.h.

References m_pRxnNetwork.

Referenced by GnuPlotterRunnableObserver::Update, and GnuPlotterEnsembleRunDirectorObserver::Update.

std::string CRunnable::GetRunnableName   const [inline]

Definition at line 28 of file Runnable.h.

References m_sRunnableName.

void CRunnable::Run  

Definition at line 33 of file Runnable.cpp.

References Subject::Attach, ReactionNetwork::ChemicalReset, Subject::Detach, CellAverageObserver::GetNumberOfCells, CellAverageObserver::GetNumberOfTimeSteps, m_pCellObserver, m_pRxnMover, m_pRxnNetwork, CReactionMover::Move, Subject::Notify, and CellAverageObserver::ZeroConcentrations.

void CRunnable::SetComponents ReactionNetwork   pRxnNetwork,
CReactionMover   pRxnMover,
CellAverageObserver   pCellObserver

Definition at line 26 of file Runnable.cpp.

References m_pCellObserver, m_pRxnMover, and m_pRxnNetwork.

void CRunnable::SetRunnableName std::string    name

Definition at line 21 of file Runnable.cpp.

References m_sRunnableName.

Member Data Documentation

CellAverageObserver* CRunnable::m_pCellObserver [private]

Definition at line 32 of file Runnable.h.

Referenced by GetCellObserver, Run, and SetComponents.

CReactionMover* CRunnable::m_pRxnMover [private]

Definition at line 31 of file Runnable.h.

Referenced by GetReactionMover, Run, and SetComponents.

ReactionNetwork* CRunnable::m_pRxnNetwork [private]

Definition at line 30 of file Runnable.h.

Referenced by GetReactionNetwork, Run, and SetComponents.

std::string CRunnable::m_sRunnableName [private]

Definition at line 33 of file Runnable.h.

Referenced by GetRunnableName, and SetRunnableName.

The documentation for this class was generated from the following files:
Generated on Mon Nov 3 10:05:28 2003 by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002