wrench::StandardJobExecutorFailedMessage Class Reference

A message sent by a StandardJobExecutor to notify that its StandardJob has failed. More...

#include <StandardJobExecutorMessage.h>

Inheritance diagram for wrench::StandardJobExecutorFailedMessage:
wrench::StandardJobExecutorMessage wrench::SimulationMessage

Public Member Functions

 StandardJobExecutorFailedMessage (std::shared_ptr< StandardJob > job, std::shared_ptr< StandardJobExecutor > executor, 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< StandardJobExecutorexecutor
 The standard job executor that has ailed to complete the standard job.
 
std::shared_ptr< StandardJobjob
 The standard job that has failed.
 
- 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 StandardJobExecutor to notify that its StandardJob has failed.

Constructor & Destructor Documentation

◆ StandardJobExecutorFailedMessage()

wrench::StandardJobExecutorFailedMessage::StandardJobExecutorFailedMessage ( std::shared_ptr< StandardJob job,
std::shared_ptr< StandardJobExecutor executor,
std::shared_ptr< FailureCause cause,
double  payload 
)

Constructor.

Parameters
jobthe job that has failed
executorthe executor on which the job has failed
causethe cause of the failure
payloadthe message size in bytes

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