NFcore::ComplexList Class Reference

#include <NFcore.hh>

List of all members.


Detailed Description

Container to organize all system complexes.

Author:
Justin Hogg

Public Member Functions

 ComplexList ()
 ~ComplexList ()
bool isUsingComplex () const
void setUseComplex (bool _useComplex)
void setSystem (System *_sys)
int createComplex (Molecule *m)
ComplexgetComplex (int ID_complex) const
ComplexgetNextAvailableComplex ()
void notifyThatComplexIsAvailable (int ID_complex)
void printAllComplexes ()
void purgeAndPrintAvailableComplexList ()
void outputComplexSizes (double cSampleTime)
void outputMoleculeTypeCountPerComplex (MoleculeType *m)
double outputMeanCount (MoleculeType *m)
double calculateMeanCount (MoleculeType *m)
void resetComplexIter ()
ComplexnextComplex ()

Protected Attributes

vector< Complex * > allComplexes
queue< int > nextAvailableComplex
Systemsys
bool useComplex

Constructor & Destructor Documentation

ComplexList::ComplexList (  ) 

ComplexList::~ComplexList (  ) 


Member Function Documentation

bool NFcore::ComplexList::isUsingComplex (  )  const [inline]

void NFcore::ComplexList::setUseComplex ( bool  _useComplex  )  [inline]

void NFcore::ComplexList::setSystem ( System _sys  )  [inline]

int ComplexList::createComplex ( Molecule m  ) 

Complex* NFcore::ComplexList::getComplex ( int  ID_complex  )  const [inline]

Complex * ComplexList::getNextAvailableComplex (  ) 

void ComplexList::notifyThatComplexIsAvailable ( int  ID_complex  ) 

void ComplexList::printAllComplexes (  ) 

void ComplexList::purgeAndPrintAvailableComplexList (  ) 

void ComplexList::outputComplexSizes ( double  cSampleTime  ) 

void ComplexList::outputMoleculeTypeCountPerComplex ( MoleculeType m  ) 

double ComplexList::outputMeanCount ( MoleculeType m  ) 

double ComplexList::calculateMeanCount ( MoleculeType m  ) 

void NFcore::ComplexList::resetComplexIter (  )  [inline]

Complex* NFcore::ComplexList::nextComplex (  )  [inline]


Member Data Documentation

vector<Complex * > NFcore::ComplexList::allComplexes [protected]

container of all complexes in the simulation

queue<int> NFcore::ComplexList::nextAvailableComplex [protected]

queue tells us which complexes can be used next

System* NFcore::ComplexList::sys [protected]

bool NFcore::ComplexList::useComplex [protected]


The documentation for this class was generated from the following files:
Generated on Thu Dec 9 11:02:48 2010 for NFsim by  doxygen 1.5.4