wrench::ComputeServiceResourceInformationAnswerMessage Class Reference

A message sent by a ComputeService in answer to a resource information request. More...

#include <ComputeServiceMessage.h>

Inheritance diagram for wrench::ComputeServiceResourceInformationAnswerMessage:
wrench::ComputeServiceMessage wrench::ServiceMessage wrench::SimulationMessage

Public Member Functions

 ComputeServiceResourceInformationAnswerMessage (std::map< std::string, std::map< std::string, double >> info, 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::map< std::string, std::map< std::string, double > > info
 The resource information map.
 
- 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::ComputeServiceMessage
 ComputeServiceMessage (std::string name, double payload)
 Constructor. More...
 
- Protected Member Functions inherited from wrench::ServiceMessage
 ServiceMessage (std::string name, double payload)
 Constructor. More...
 

Detailed Description

A message sent by a ComputeService in answer to a resource information request.

Constructor & Destructor Documentation

◆ ComputeServiceResourceInformationAnswerMessage()

wrench::ComputeServiceResourceInformationAnswerMessage::ComputeServiceResourceInformationAnswerMessage ( std::map< std::string, std::map< std::string, double >>  info,
double  payload 
)

Constructor.

Parameters
infothe resource description map
payloadthe message size in bytes
Exceptions
std::invalid_argument

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