WRENCH  1.11
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
Public Member Functions | List of all members
wrench::ServiceIsSuspended Class Reference

A "service is suspended" failure cause. More...

#include <ServiceIsSuspended.h>

Inheritance diagram for wrench::ServiceIsSuspended:
wrench::FailureCause

Public Member Functions

 ServiceIsSuspended (std::shared_ptr< Service > service)
 Constructor. More...
 
std::shared_ptr< ServicegetService ()
 Getter. More...
 
std::string toString () override
 Get the human-readable failure message. More...
 

Detailed Description

A "service is suspended" failure cause.

Constructor & Destructor Documentation

◆ ServiceIsSuspended()

wrench::ServiceIsSuspended::ServiceIsSuspended ( std::shared_ptr< Service service)
explicit

Constructor.

Parameters
servicethe service that was suspended

Member Function Documentation

◆ getService()

std::shared_ptr< Service > wrench::ServiceIsSuspended::getService ( )

Getter.

Returns
the service

◆ toString()

std::string wrench::ServiceIsSuspended::toString ( )
overridevirtual

Get the human-readable failure message.

Returns
the message

Implements wrench::FailureCause.


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