10 #ifndef WRENCH_ALARM_H
11 #define WRENCH_ALARM_H
15 #include "wrench/services/Service.h"
16 #include "wrench/simulation/SimulationMessage.h"
30 class Alarm :
public Service {
32 friend class S4U_Daemon;
36 static std::shared_ptr<Alarm> createAndStartAlarm(Simulation *simulation,
double date, std::string hostname,
37 simgrid::s4u::Mailbox *reply_mailbox_name,
38 SimulationMessage *msg, std::string suffix);
43 Alarm(
double date, std::string hostname, simgrid::s4u::Mailbox *reply_mailbox,
44 SimulationMessage *msg, std::string suffix);
48 simgrid::s4u::Mailbox *reply_mailbox;
49 SimulationMessage *msg;
61 #endif //WRENCH_ALARM_H