wrench::ExecutionEvent
-
class ExecutionEvent
A class to represent the various execution events that are relevant to the execution of a workflow.
Subclassed by wrench::CompoundJobCompletedEvent, wrench::CompoundJobFailedEvent, wrench::FileCopyCompletedEvent, wrench::FileCopyFailedEvent, wrench::FileReadCompletedEvent, wrench::FileReadFailedEvent, wrench::FileWriteCompletedEvent, wrench::FileWriteFailedEvent, wrench::PilotJobExpiredEvent, wrench::PilotJobStartedEvent, wrench::StandardJobCompletedEvent, wrench::StandardJobFailedEvent, wrench::TimerEvent
Public Functions
-
virtual ~ExecutionEvent() = default
Destructor.
-
inline virtual std::string toString()
Get a textual description of the event.
- Returns:
a text string
Public Static Functions
-
static std::shared_ptr<ExecutionEvent> waitForNextExecutionEvent(S4U_CommPort *commport, double timeout)
Block the calling process until a ExecutionEvent is generated based on messages received on a commport, or until a timeout occurs.
- Parameters:
commport – the name of the receiving commport
timeout – a timeout value in seconds (-1 means: no timeout)
- Returns:
a workflow execution event (or nullptr in case of a timeout)
-
virtual ~ExecutionEvent() = default