#include <NFcore.hh>
Public Member Functions | |
ComplexList () | |
~ComplexList () | |
bool | isUsingComplex () const |
void | setUseComplex (bool _useComplex) |
void | setSystem (System *_sys) |
int | createComplex (Molecule *m) |
Complex * | getComplex (int ID_complex) const |
Complex * | getNextAvailableComplex () |
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 () |
Complex * | nextComplex () |
Protected Attributes | |
vector< Complex * > | allComplexes |
queue< int > | nextAvailableComplex |
System * | sys |
bool | useComplex |
ComplexList::ComplexList | ( | ) |
ComplexList::~ComplexList | ( | ) |
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] |
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] |