wrench::WorkunitExecutorDoneMessage Class Reference

A message sent by a WorkunitExecutor to notify that it has completed a WorkUnit. More...

#include <StandardJobExecutorMessage.h>

Inheritance diagram for wrench::WorkunitExecutorDoneMessage:
wrench::StandardJobExecutorMessage wrench::SimulationMessage

Public Member Functions

 WorkunitExecutorDoneMessage (std::shared_ptr< WorkunitExecutor > workunit_executor, std::shared_ptr< Workunit > workunit, 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< Workunitworkunit
 The work unit that has completed.
 
std::shared_ptr< WorkunitExecutorworkunit_executor
 The work unit executor that has completed 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 it has completed a WorkUnit.

Constructor & Destructor Documentation

◆ WorkunitExecutorDoneMessage()

wrench::WorkunitExecutorDoneMessage::WorkunitExecutorDoneMessage ( std::shared_ptr< WorkunitExecutor workunit_executor,
std::shared_ptr< Workunit workunit,
double  payload 
)

Constructor.

Parameters
workunit_executorthe work unit executor on which the work unit has completed
workunitthe work unit that has completed
payloadthe message size in bytes

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