wrench::WorkunitExecutorFailedMessage Class Reference

A message sent by a WorkunitExecutor to notify that its WorkUnit as failed. More...

#include <StandardJobExecutorMessage.h>

Inheritance diagram for wrench::WorkunitExecutorFailedMessage:
wrench::StandardJobExecutorMessage wrench::SimulationMessage

Public Member Functions

 WorkunitExecutorFailedMessage (std::shared_ptr< WorkunitExecutor > workunit_executor, std::shared_ptr< Workunit > workunit, std::shared_ptr< FailureCause > cause, double payload)
 Constructor. More...
 
- Public Member Functions inherited from wrench::SimulationMessage
 SimulationMessage (std::string name, double payload)
 Constructor. More...
 
virtual std::string getName ()
 Retrieve the message name. More...
 

Public Attributes

std::shared_ptr< FailureCausecause
 The cause of the failure.
 
std::shared_ptr< Workunitworkunit
 The work unit that has failed.
 
std::shared_ptr< WorkunitExecutorworkunit_executor
 The worker unit executor that has failed to perform the work unit.
 
- Public Attributes inherited from wrench::SimulationMessage
std::string name
 The message name.
 
double payload
 The message size in bytes.
 

Additional Inherited Members

- Protected Member Functions inherited from wrench::StandardJobExecutorMessage
 StandardJobExecutorMessage (std::string name, double payload)
 Constructor. More...
 

Detailed Description

A message sent by a WorkunitExecutor to notify that its WorkUnit as failed.

Constructor & Destructor Documentation

◆ WorkunitExecutorFailedMessage()

wrench::WorkunitExecutorFailedMessage::WorkunitExecutorFailedMessage ( std::shared_ptr< WorkunitExecutor workunit_executor,
std::shared_ptr< Workunit workunit,
std::shared_ptr< FailureCause cause,
double  payload 
)

Constructor.

Parameters
workunit_executorthe work unit executor on which the work has failed
workunitthe work unit that has failed
causethe cause of the failure
payloadthe message size in bytes

The documentation for this class was generated from the following files: