WRENCH  1.11
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
TimerEvent.h
1 
11 #ifndef WRENCH_TIMER_EVENT_H
12 #define WRENCH_TIMER_EVENT_H
13 
14 #include <string>
15 #include "wrench/failure_causes/FailureCause.h"
16 
17 /***********************/
19 /***********************/
20 
21 namespace wrench {
22 
23  class WorkflowTask;
24 
25  class DataFile;
26 
27  class StandardJob;
28 
29  class PilotJob;
30 
31  class ComputeService;
32 
33  class StorageService;
34 
35  class FileRegistryService;
36 
37  class FileRegistryService;
38 
42  class TimerEvent : public ExecutionEvent {
43 
44  private:
45 
46  friend class ExecutionEvent;
51  TimerEvent(std::string message)
52  : message(message) {}
53 
54  public:
55 
57  std::string message;
58 
63  std::string toString() override { return "TimerEvent (message: " + this->message + ")";}
64 
65  };
66 
67 };
68 
69 /***********************/
71 /***********************/
72 
73 
74 
75 #endif //WRENCH_TIMER_EVENT_H
wrench
Definition: Action.cpp:28
wrench::TimerEvent::toString
std::string toString() override
Get a textual description of the event.
Definition: TimerEvent.h:63
wrench::TimerEvent::message
std::string message
The message.
Definition: TimerEvent.h:57
wrench::ExecutionEvent
A class to represent the various execution events that are relevant to the execution of a workflow.
Definition: ExecutionEvent.h:26
wrench::TimerEvent
A "timer went off" ExecutionEvent.
Definition: TimerEvent.h:42