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::JobManagerMessage wrench::ServiceFailureDetectorMessage wrench::ServiceMessage wrench::StandardJobExecutorMessage wrench::WMSMessage wrench::JobManagerStandardJobDoneMessage wrench::JobManagerStandardJobFailedMessage wrench::ServiceHaCrashedeMessage wrench::AlarmJobTimeOutMessage wrench::ComputeServiceMessage wrench::FileRegistryMessage wrench::HTCondorCentralManagerServiceMessage wrench::NetworkProximityMessage wrench::ServiceDaemonStoppedMessage wrench::ServiceStopDaemonMessage wrench::ServiceTTLExpiredMessage wrench::StorageServiceMessage wrench::ComputeThreadDoneMessage wrench::StandardJobExecutorDoneMessage wrench::StandardJobExecutorFailedMessage wrench::WorkunitExecutorDoneMessage wrench::WorkunitExecutorFailedMessage wrench::AlarmWMSDeferredStartMessage

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:
  • /Users/rafsilva/Documents/isi/workspace/wrench/wrench/include/wrench/simulation/SimulationMessage.h
  • /Users/rafsilva/Documents/isi/workspace/wrench/wrench/src/wrench/simulation/SimulationMessage.cpp