wrench::SimulationMessage Class Reference

Top-level class to describe a message communicated by processes in the simulation. More...

#include <SimulationMessage.h>

Inheritance diagram for wrench::SimulationMessage:
wrench::HostStateChangeDetectorMessage wrench::JobManagerMessage wrench::ServiceMessage wrench::ServiceTerminationDetectorMessage wrench::StandardJobExecutorMessage wrench::WMSMessage wrench::HostHasChangedSpeedMessage wrench::HostHasTurnedOffMessage wrench::HostHasTurnedOnMessage wrench::JobManagerStandardJobDoneMessage wrench::JobManagerStandardJobFailedMessage wrench::AlarmJobTimeOutMessage wrench::ComputeServiceMessage wrench::FileRegistryMessage wrench::FileTransferThreadMessage wrench::HTCondorCentralManagerServiceMessage wrench::NetworkProximityMessage wrench::ServiceDaemonStoppedMessage wrench::ServiceStopDaemonMessage wrench::ServiceTTLExpiredMessage wrench::StorageServiceMessage wrench::ServiceHasCrashedMessage wrench::ServiceHasTerminatedMessage wrench::ComputeThreadDoneMessage wrench::StandardJobExecutorDoneMessage wrench::StandardJobExecutorFailedMessage wrench::WorkunitExecutorDoneMessage wrench::WorkunitExecutorFailedMessage wrench::AlarmWMSDeferredStartMessage wrench::AlarmWMSTimerMessage

Public Member Functions

 SimulationMessage (std::string name, double payload)
 Constructor. More...
 
virtual std::string getName ()
 Retrieve the message name. More...
 

Public Attributes

std::string name
 The message name.
 
double payload
 The message size in bytes.
 

Detailed Description

Top-level class to describe a message communicated by processes in the simulation.

Constructor & Destructor Documentation

◆ SimulationMessage()

wrench::SimulationMessage::SimulationMessage ( std::string  name,
double  payload 
)

Constructor.

Parameters
namemessage name (a "human-readable type" really)
payloadmessage size in bytes

Member Function Documentation

◆ getName()

std::string wrench::SimulationMessage::getName ( )
virtual

Retrieve the message name.

Returns
the name

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