WMSMessage.h
1 
10 #ifndef WRENCH_WMSMESSAGE_H
11 #define WRENCH_WMSMESSAGE_H
12 
13 #include "wrench/simulation/SimulationMessage.h"
14 
15 namespace wrench {
16 
17  /***********************/
19  /***********************/
20 
24  class WMSMessage : public SimulationMessage {
25  protected:
26  WMSMessage(std::string name, double payload);
27  };
28 
34  public:
35  explicit AlarmWMSDeferredStartMessage(double payload);
36 
37  };
38 
43  public:
44  explicit AlarmWMSTimerMessage(std::string message, double payload);
46  std::string message;
47  };
48 
49 
50  /***********************/
52  /***********************/
53 }
54 
55 #endif //WRENCH_WMSMESSAGE_H
Top-level class for messages received/sent by a WMS.
Definition: WMSMessage.h:24
std::string name
The message name.
Definition: SimulationMessage.h:37
Message sent by an alarm to a WMS to tell it that it can start executing its workflow.
Definition: WMSMessage.h:33
Top-level class to describe a message communicated by processes in the simulation.
Definition: SimulationMessage.h:27
AlarmWMSDeferredStartMessage(double payload)
Constructor.
Definition: WMSMessage.cpp:29
Definition: Alarm.cpp:20
std::string message
The message sent my the timer.
Definition: WMSMessage.h:46
double payload
The message size in bytes.
Definition: SimulationMessage.h:39
AlarmWMSTimerMessage(std::string message, double payload)
Constructor.
Definition: WMSMessage.cpp:40
Message sent when a timer set by a WMS goes off.
Definition: WMSMessage.h:42
WMSMessage(std::string name, double payload)
Constructor.
Definition: WMSMessage.cpp:21