RecoSim  1.0
 All Classes Files Functions Variables Enumerations
monitoring.h
Go to the documentation of this file.
1 
22 #ifndef MONITORING_H
23 #define MONITORING_H
24 
25 #include "monitoring_interface.h"
26 
27 class Monitoring : public sc_module {
28 
29 public:
30 
31  static int thread_number;
32 
33  string monitoring_name;
34 
35  Monitoring_interface& services;
36 
37  Monitoring(sc_module_name nm, Monitoring_interface& _monitoring_if) : sc_module(nm), services(_monitoring_if) {
38  this->monitoring_name = name();
39  }
40 
41  int static get_thread_number() {
42  return thread_number;
43  }
44 
45 };
46 
47 
48 #endif
Definition: monitoring_interface.h:63
Definition: monitoring.h:27