OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Simulation.h
Go to the documentation of this file.
1 #ifndef __SIMULATION_H__
2 #define __SIMULATION_H__
3 
4 #include "Util/Types.h"
5 #include "Util/CmdArguments.h"
6 
20 class Simulation {
21 
22 public:
23 
25  : args_(args)
26  {}
27 
29  {}
30 
32 
40  virtual void run() = 0;
41 
48  virtual void collectResults() = 0;
49 
53  virtual reqVarContainer_t getResults() = 0;
54 
55 private:
57 
58 };
59 
60 #endif
std::map< std::string, reqVarInfo_t > reqVarContainer_t
Definition: Types.h:64
Simulation(CmdArguments_t args)
Definition: Simulation.h:24
boost::shared_ptr< CmdArguments > CmdArguments_t
Definition: CmdArguments.h:169
virtual reqVarContainer_t getResults()=0
Abstract class every simulation has to implement to be able to work with the optimization pilot...
Definition: Simulation.h:20
CmdArguments_t getArgs()
Definition: Simulation.h:31
virtual void collectResults()=0
virtual void run()=0
CmdArguments_t args_
Definition: Simulation.h:56