RecoSim  1.0
 All Classes Files Functions Variables Enumerations
algorithm_mode_command.h
Go to the documentation of this file.
1 
21 #ifndef ALGORITHM_MODE_COMMAND_H
22 #define ALGORITHM_MODE_COMMAND_H
23 
24 #include <systemc.h>
25 #include <string>
26 
27 using namespace sc_core;
28 using namespace std;
29 
31 
32 private:
33 
34  string target_module;
35  string command;
36  sc_time delay;
37 
38 public:
39 
40  AlgorithmModeCommand(string _target_module, string _command, sc_time _delay) : target_module(_target_module), command(_command), delay(_delay) {}
41 
42  string get_target_module(void) const;
43  string get_command(void) const;
44  sc_time get_delay(void) const;
45 
46 };
47 
49 public:
51 
52  bool operator() (const AlgorithmModeCommand& lhs, const AlgorithmModeCommand&rhs) const {
53  return (lhs.get_delay() > rhs.get_delay());
54  }
55 };
56 
57 
58 #endif
Definition: algorithm_mode_command.h:30
Definition: algorithm_mode_command.h:48