WRENCH
1.10
Cyberinfrastructure Simulation Workbench
Overview
Installation
Getting Started
WRENCH 101
WRENCH 102
APIs Reference
User
Developer
Internal
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
Functions
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
v
w
~
Variables
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
Enumerations
Enumerator
Files
File List
•
All
Classes
Namespaces
Functions
Variables
Enumerations
Enumerator
Pages
include
wrench
services
ServiceMessagePayload.h
1
11
#ifndef WRENCH_SERVICEMESSAGEPAYLOAD_H
12
#define WRENCH_SERVICEMESSAGEPAYLOAD_H
13
14
#include <string>
15
16
#define DECLARE_MESSAGEPAYLOAD_NAME(name) static const std::string name
17
18
19
#define SET_MESSAGEPAYLOAD_NAME(classname, name) const std::string classname::name=#name
20
21
namespace
wrench
{
22
23
27
class
ServiceMessagePayload
{
28
29
public
:
31
DECLARE_MESSAGEPAYLOAD_NAME(
STOP_DAEMON_MESSAGE_PAYLOAD
);
33
DECLARE_MESSAGEPAYLOAD_NAME(
DAEMON_STOPPED_MESSAGE_PAYLOAD
);
34
35
};
36
37
};
38
39
40
#endif //WRENCH_SERVICEMESSAGEPAYLOAD_H
wrench::ServiceMessagePayload::DAEMON_STOPPED_MESSAGE_PAYLOAD
static const std::string DAEMON_STOPPED_MESSAGE_PAYLOAD
The number of bytes in the control message sent by the daemon to confirm it has terminated.
Definition:
ServiceMessagePayload.h:33
wrench
Definition:
Alarm.cpp:20
wrench::ServiceMessagePayload::STOP_DAEMON_MESSAGE_PAYLOAD
static const std::string STOP_DAEMON_MESSAGE_PAYLOAD
The number of bytes in the control message sent to the daemon to terminate it.
Definition:
ServiceMessagePayload.h:31
wrench::ServiceMessagePayload
Configurable message payloads for a Service.
Definition:
ServiceMessagePayload.h:27