RADLib
RADical C++ application framework
RADPower::PowerActionPlan Struct Reference

Prepared action result. More...

#include <RADPower.h>

Public Attributes

PowerAction action = PowerAction::Suspend
 Action requested. More...
 
std::string command
 Shell command that would be executed. More...
 
bool executed = false
 True when command was actually executed. More...
 
std::string error
 Error text when execution failed. More...
 

Detailed Description

Prepared action result.

Member Data Documentation

◆ action

PowerAction RADPower::PowerActionPlan::action = PowerAction::Suspend

Action requested.

◆ command

std::string RADPower::PowerActionPlan::command

Shell command that would be executed.

◆ error

std::string RADPower::PowerActionPlan::error

Error text when execution failed.

◆ executed

bool RADPower::PowerActionPlan::executed = false

True when command was actually executed.


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