geopm  3.1.1.dev296+g5916b956
GEOPM - Global Extensible Open Power Manager
Public Member Functions | Static Public Member Functions | List of all members
geopm::ErrorMessage Class Reference

Public Member Functions

void update (int error_value, const std::string &error_message)
 
std::string message_last (int error_value)
 
std::string message_fixed (int error_value)
 
 ErrorMessage (const ErrorMessage &other)=delete
 
void operator= (const ErrorMessage &other)=delete
 

Static Public Member Functions

static ErrorMessageget (void)
 

Constructor & Destructor Documentation

◆ ErrorMessage()

geopm::ErrorMessage::ErrorMessage ( const ErrorMessage other)
delete

Member Function Documentation

◆ get()

ErrorMessage & geopm::ErrorMessage::get ( void  )
static

◆ message_fixed()

std::string geopm::ErrorMessage::message_fixed ( int  error_value)

◆ message_last()

std::string geopm::ErrorMessage::message_last ( int  error_value)

◆ operator=()

void geopm::ErrorMessage::operator= ( const ErrorMessage other)
delete

◆ update()

void geopm::ErrorMessage::update ( int  error_value,
const std::string &  error_message 
)

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