Candidate_v1.6.1
ChemicalSpaceEvaluator
TremoloParser_IncreasedPrecision
Rev | Line | |
---|
[a3fded] | 1 | /*
|
---|
| 2 | * ThermoStatContainer.hpp
|
---|
| 3 | *
|
---|
| 4 | * Created on: 12.06.2010
|
---|
| 5 | * Author: heber
|
---|
| 6 | */
|
---|
| 7 |
|
---|
| 8 | #ifndef THERMOSTATCONTAINER_HPP_
|
---|
| 9 | #define THERMOSTATCONTAINER_HPP_
|
---|
| 10 |
|
---|
| 11 | // include config.h
|
---|
| 12 | #ifdef HAVE_CONFIG_H
|
---|
| 13 | #include <config.h>
|
---|
| 14 | #endif
|
---|
| 15 |
|
---|
[14c57a] | 16 | #include "Thermostats/Thermostat.hpp"
|
---|
[a3fded] | 17 |
|
---|
[14c57a] | 18 | class ConfigFileBuffer;
|
---|
[a3fded] | 19 |
|
---|
| 20 | class ThermoStatContainer {
|
---|
| 21 | public:
|
---|
| 22 | ThermoStatContainer();
|
---|
| 23 | ~ThermoStatContainer();
|
---|
[14c57a] | 24 | ThermostatTraits<Thermostat> *getTraitByName(const std::string name);
|
---|
| 25 | Thermostat *makeByName(const std::string name,class ConfigFileBuffer * const fb);
|
---|
| 26 | void makeActive(const std::string name,class ConfigFileBuffer * const fb);
|
---|
[4882d5] | 27 | Thermostat *getActive() {
|
---|
| 28 | return activeThermostat;
|
---|
| 29 | }
|
---|
[14c57a] | 30 | void chooseNone();
|
---|
[a3fded] | 31 |
|
---|
[14c57a] | 32 | Thermostat* activeThermostat;
|
---|
| 33 | typedef std::map<std::string,ThermostatTraits<Thermostat>* > traitsMap;
|
---|
| 34 | traitsMap availThermostats;
|
---|
[a3fded] | 35 | double TargetTemp;
|
---|
| 36 | };
|
---|
| 37 |
|
---|
| 38 | #endif /* THERMOSTATCONTAINER_HPP_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.