WRENCH
1.11
Cyberinfrastructure Simulation Workbench
Overview
Installation
Getting Started
WRENCH 101
WRENCH 102
APIs Reference
User
Developer
Internal
include
wrench
simulation
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
19
namespace
wrench
{
20
21
/***********************/
23
/***********************/
24
28
class
SimulationMessage
{
29
30
public
:
31
32
SimulationMessage
(
double
payload
);
33
virtual
~
SimulationMessage
();
34
35
virtual
std::string
getName
();
36
38
//std::string name;//we dont need this anymore :)
40
double
payload
;
41
};
42
43
44
/***********************/
46
/***********************/
47
48
};
49
50
#endif //WRENCH_SIMGRIDMESSAGES_H
wrench::SimulationMessage::getName
virtual std::string getName()
Retrieve the message name.
Definition:
SimulationMessage.cpp:44
wrench::SimulationMessage
Top-level class to describe a message communicated by processes in the simulation.
Definition:
SimulationMessage.h:28
wrench::SimulationMessage::SimulationMessage
SimulationMessage(double payload)
Constructor.
Definition:
SimulationMessage.cpp:33
wrench
Definition:
Action.cpp:28
wrench::SimulationMessage::payload
double payload
The message name.
Definition:
SimulationMessage.h:40