11 #ifndef WRENCH_ACTION_ACTION_EXECUTION_SERVICE_MESSAGE_H
12 #define WRENCH_ACTION_ACTION_EXECUTION_SERVICE_MESSAGE_H
16 #include "wrench/services/helper_services/action_execution_service/ActionExecutionService.h"
17 #include "wrench/services/ServiceMessage.h"
44 std::shared_ptr<Action>
action,
60 std::shared_ptr<FailureCause>
cause,
66 std::shared_ptr<FailureCause>
cause;
76 std::shared_ptr<Action>
action,
95 std::shared_ptr<FailureCause>
cause,
101 std::shared_ptr<FailureCause>
cause;
110 std::shared_ptr<Action>
action,
124 #endif //WRENCH_ACTION_ACTION_EXECUTION_SERVICE_MESSAGE_H
A message sent by an ActionExecutionService in answer to an Action submission.
Definition: ActionExecutionServiceMessage.h:56
TerminationCause
Job termination cause enum.
Definition: ComputeService.h:67
ActionExecutionServiceActionDoneMessage(std::shared_ptr< Action > action, double payload)
Constructor.
Definition: ActionExecutionServiceMessage.cpp:96
simgrid::s4u::Mailbox * reply_mailbox
The reply mailbox.
Definition: ActionExecutionServiceMessage.h:50
Top-level class to describe a message communicated by processes in the simulation.
Definition: SimulationMessage.h:28
ActionExecutionServiceSubmitActionRequestMessage(simgrid::s4u::Mailbox *reply_mailbox, std::shared_ptr< Action > action, double payload)
Constructor.
Definition: ActionExecutionServiceMessage.cpp:35
bool success
Whether the action submission was a success or not.
Definition: ActionExecutionServiceMessage.h:64
ActionExecutionServiceTerminateActionRequestMessage(simgrid::s4u::Mailbox *reply_mailbox, std::shared_ptr< Action > action, ComputeService::TerminationCause termination_cause, double payload)
Constructor.
Definition: ActionExecutionServiceMessage.cpp:66
std::shared_ptr< Action > action
The action that completed
Definition: ActionExecutionServiceMessage.h:114
Definition: Action.cpp:28
A message sent by an ActionExecutionService in response to an action termination.
Definition: ActionExecutionServiceMessage.h:91
A message sent to an ActionExecutionService to submit an Action.
Definition: ActionExecutionServiceMessage.h:40
ComputeService::TerminationCause termination_cause
The termination cause.
Definition: ActionExecutionServiceMessage.h:85
A message sent by an ActionExecutionService to notify of an action's completion.
Definition: ActionExecutionServiceMessage.h:107
double payload
The message name.
Definition: SimulationMessage.h:40
bool success
The success status.
Definition: ActionExecutionServiceMessage.h:99
A message sent to an ActionExecutionService to terminate an Action.
Definition: ActionExecutionServiceMessage.h:72
ActionExecutionServiceTerminateActionAnswerMessage(bool success, std::shared_ptr< FailureCause > cause, double payload)
Constructor.
Definition: ActionExecutionServiceMessage.cpp:83
std::shared_ptr< FailureCause > cause
The failure cause, if any
Definition: ActionExecutionServiceMessage.h:101
simgrid::s4u::Mailbox * reply_mailbox
The reply mailbox.
Definition: ActionExecutionServiceMessage.h:81
std::shared_ptr< Action > action
The action to be executed.
Definition: ActionExecutionServiceMessage.h:48
ActionExecutionServiceSubmitActionAnswerMessage(bool success, std::shared_ptr< FailureCause > cause, double payload)
Constructor.
Definition: ActionExecutionServiceMessage.cpp:50
std::shared_ptr< FailureCause > cause
The failure cause, if any.
Definition: ActionExecutionServiceMessage.h:66
std::shared_ptr< Action > action
The action to terminate
Definition: ActionExecutionServiceMessage.h:83
ActionExecutionServiceMessage(double payload)
Constructor.
Definition: ActionExecutionServiceMessage.cpp:24
Top-level class for messages received/sent by a ActionExecutionService.
Definition: ActionExecutionServiceMessage.h:32