WRENCH
1.11
Cyberinfrastructure Simulation Workbench
|
Overview | Installation | Getting Started | WRENCH 101 | WRENCH 102 |
A class to represent the various execution events that are relevant to the execution of a workflow. More...
#include <ExecutionEvent.h>
Public Member Functions | |
virtual std::string | toString () |
Get a textual description of the event. More... | |
Static Public Member Functions | |
static std::shared_ptr< ExecutionEvent > | waitForNextExecutionEvent (simgrid::s4u::Mailbox *mailbox) |
Block the calling process until a ExecutionEvent is generated based on messages received on a mailbox. More... | |
static std::shared_ptr< ExecutionEvent > | waitForNextExecutionEvent (simgrid::s4u::Mailbox *mailbox, double timeout) |
Block the calling process until a ExecutionEvent is generated based on messages received on a mailbox, or until a timeout ooccurs. More... | |
A class to represent the various execution events that are relevant to the execution of a workflow.
|
inlinevirtual |
Get a textual description of the event.
Reimplemented in wrench::FileCopyCompletedEvent, wrench::FileCopyFailedEvent, wrench::StandardJobFailedEvent, wrench::CompoundJobCompletedEvent, wrench::StandardJobCompletedEvent, wrench::CompoundJobFailedEvent, wrench::PilotJobExpiredEvent, wrench::PilotJobStartedEvent, and wrench::TimerEvent.
|
static |
Block the calling process until a ExecutionEvent is generated based on messages received on a mailbox.
mailbox | the name of the receiving mailbox |
ExecutionException | |
std::runtime_error |
|
static |
Block the calling process until a ExecutionEvent is generated based on messages received on a mailbox, or until a timeout ooccurs.
mailbox | the name of the receiving mailbox |
timeout | a timeout value in seconds (-1 means: no timeout) |
ExecutionException | |
std::runtime_error |