Top-level class to describe a message communicated by processes in the simulation. More...
#include <SimulationMessage.h>
Public Member Functions | |
SimulationMessage (std::string name, double payload) | |
Constructor. More... | |
virtual std::string | getName () |
Retrieve the message name. More... | |
Public Attributes | |
std::string | name |
The message name. | |
double | payload |
The message size in bytes. | |
Detailed Description
Top-level class to describe a message communicated by processes in the simulation.
Constructor & Destructor Documentation
◆ SimulationMessage()
wrench::SimulationMessage::SimulationMessage | ( | std::string | name, |
double | payload | ||
) |
Constructor.
- Parameters
-
name message name (a "human-readable type" really) payload message size in bytes
Member Function Documentation
◆ getName()
|
virtual |
Retrieve the message name.
- Returns
- the name
The documentation for this class was generated from the following files:
- SimulationMessage.h
- SimulationMessage.cpp