DISPLACE  1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
externalstatemanager.h
Go to the documentation of this file.
1 #ifndef EXTERNALSTATEMANAGER_H
2 #define EXTERNALSTATEMANAGER_H
3 
4 #include <commons_global.h>
5 #include <dtree/stateevaluator.h>
6 #include <dtree/variables.h>
7 
8 #include <vector>
9 
13 {
14  static ExternalStateManager *sInstance;
15 
18 
19 public:
20 
21  dtree::StateEvaluator *getStandardEvaluator(dtree::Variable variable) const;
22 
23  static ExternalStateManager *instance();
24 
25 private:
26  std::vector<dtree::StateEvaluator *> mStandardEvaluators;
27 };
28 
29 #endif // EXTERNALSTATEMANAGER_H
A monostate/singleton class to manage External States variables.
Definition: externalstatemanager.h:12
Variable
Definition: variables.h:10
An abstract class to allow internal/External states to be evaluated.
Definition: stateevaluator.h:14
#define COMMONSSHARED_EXPORT
Definition: commons_global.h:23