11 #ifndef WRENCH_HOSTSTATECHANGEDETECTORMESSAGE_H
12 #define WRENCH_HOSTSTATECHANGEDETECTORMESSAGE_H
15 #include <wrench/simulation/SimulationMessage.h>
16 #include <wrench-dev.h>
71 #endif //WRENCH_HOSTSTATECHANGEDETECTORMESSAGE_H
std::string name
The message name.
Definition: SimulationMessage.h:37
std::string hostname
The name of the host that has tuned off.
Definition: HostStateChangeDetectorMessage.h:50
Top-level class to describe a message communicated by processes in the simulation.
Definition: SimulationMessage.h:27
A message sent by the HostStateChangeDetector to notify some listener that a host has turned on.
Definition: HostStateChangeDetectorMessage.h:36
HostHasTurnedOnMessage(std::string hostname)
Constructor.
Definition: HostStateChangeDetectorMessage.cpp:29
Top-level class for messages received/sent by a HostStateChangeDetector.
Definition: HostStateChangeDetectorMessage.h:28
HostHasChangedSpeedMessage(std::string hostname, double speed)
Constructor.
Definition: HostStateChangeDetectorMessage.cpp:50
A message sent by the HostStateChangeDetector to notify some listener that a host has turned off.
Definition: HostStateChangeDetectorMessage.h:46
HostHasTurnedOffMessage(std::string hostname)
Constructor.
Definition: HostStateChangeDetectorMessage.cpp:39
A message sent by the HostStateChangeDetector to notify some listener that a host has changed speed.
Definition: HostStateChangeDetectorMessage.h:56
double speed
The host's (new) speed.
Definition: HostStateChangeDetectorMessage.h:62
std::string hostname
The name of the host that has tuned off.
Definition: HostStateChangeDetectorMessage.h:60
HostStateChangeDetectorMessage(std::string name)
Constructor.
Definition: HostStateChangeDetectorMessage.cpp:19
std::string hostname
The name of the host that has tuned on.
Definition: HostStateChangeDetectorMessage.h:40