wrench::AlarmWMSTimerMessage Class Reference

Message sent when a timer set by a WMS goes off. More...

#include <WMSMessage.h>

Inheritance diagram for wrench::AlarmWMSTimerMessage:
wrench::WMSMessage wrench::SimulationMessage

Public Member Functions

 AlarmWMSTimerMessage (std::string message, 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::string message
 The message sent my the timer.
 
- 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::WMSMessage
 WMSMessage (std::string name, double payload)
 Constructor. More...
 

Detailed Description

Message sent when a timer set by a WMS goes off.

Constructor & Destructor Documentation

◆ AlarmWMSTimerMessage()

wrench::AlarmWMSTimerMessage::AlarmWMSTimerMessage ( std::string  message,
double  payload 
)
explicit

Constructor.

Parameters
messagethe (string) message to be sent
payloadmessage size in bytes
Exceptions
std::invalid_argument

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