SimulationMessage.h
1 
11 #ifndef WRENCH_SIMGRIDMESSAGES_H
12 #define WRENCH_SIMGRIDMESSAGES_H
13 
14 #include <string>
15 #include <map>
16 #include <iostream>
17 
18 namespace wrench {
19 
20  /***********************/
22  /***********************/
23 
28 
29  public:
30 
31  SimulationMessage(std::string name, double payload);
32  virtual ~SimulationMessage();
33 
34  virtual std::string getName();
35 
37  std::string name;
39  double payload;
40  };
41 
42 
43  /***********************/
45  /***********************/
46 
47 };
48 
49 #endif //WRENCH_SIMGRIDMESSAGES_H
std::string name
The message name.
Definition: SimulationMessage.h:37
virtual std::string getName()
Retrieve the message name.
Definition: SimulationMessage.cpp:43
Top-level class to describe a message communicated by processes in the simulation.
Definition: SimulationMessage.h:27
SimulationMessage(std::string name, double payload)
Constructor.
Definition: SimulationMessage.cpp:31
Definition: Alarm.cpp:20
double payload
The message size in bytes.
Definition: SimulationMessage.h:39