wrench::FunctionalityNotAvailable Class Reference

A "requested functionality is not available on that service" failure cause. More...

#include <FunctionalityNotAvailable.h>

Inheritance diagram for wrench::FunctionalityNotAvailable:
wrench::FailureCause

Public Member Functions

 FunctionalityNotAvailable (std::shared_ptr< Service > service, std::string functionality_name)
 Constructor. More...
 
std::string getFunctionalityName ()
 Getter. More...
 
std::shared_ptr< ServicegetService ()
 Getter. More...
 
std::string toString ()
 Get the human-readable failure message. More...
 

Detailed Description

A "requested functionality is not available on that service" failure cause.

Constructor & Destructor Documentation

◆ FunctionalityNotAvailable()

wrench::FunctionalityNotAvailable::FunctionalityNotAvailable ( std::shared_ptr< Service service,
std::string  functionality_name 
)

Constructor.

Parameters
servicethe service
functionality_namea description of the functionality that's not available

Member Function Documentation

◆ getFunctionalityName()

std::string wrench::FunctionalityNotAvailable::getFunctionalityName ( )

Getter.

Returns
the functionality name

◆ getService()

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

Getter.

Returns
the service

◆ toString()

std::string wrench::FunctionalityNotAvailable::toString ( )
virtual

Get the human-readable failure message.

Returns
the message

Implements wrench::FailureCause.


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