WRENCH  1.10
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
HostStateChangeDetectorMessage.h
1 
11 #ifndef WRENCH_HOSTSTATECHANGEDETECTORMESSAGE_H
12 #define WRENCH_HOSTSTATECHANGEDETECTORMESSAGE_H
13 
14 
15 #include <wrench/simulation/SimulationMessage.h>
16 #include <wrench-dev.h>
17 
18 namespace wrench {
19 
20 
21  /***********************/
23  /***********************/
24 
28  class HostStateChangeDetectorMessage : public SimulationMessage {
29  protected:
30  explicit HostStateChangeDetectorMessage(std::string name);
31  };
32 
36  class HostHasTurnedOnMessage : public HostStateChangeDetectorMessage {
37  public:
38  explicit HostHasTurnedOnMessage(std::string hostname);
40  std::string hostname;
41  };
42 
46  class HostHasTurnedOffMessage : public HostStateChangeDetectorMessage {
47  public:
48  explicit HostHasTurnedOffMessage(std::string hostname);
50  std::string hostname;
51  };
52 
56  class HostHasChangedSpeedMessage : public HostStateChangeDetectorMessage {
57  public:
58  explicit HostHasChangedSpeedMessage(std::string hostname, double speed);
60  std::string hostname;
62  double speed;
63  };
64 
65  /***********************/
67  /***********************/
68 
69 };
70 
71 #endif //WRENCH_HOSTSTATECHANGEDETECTORMESSAGE_H
wrench
Definition: Alarm.cpp:20