![]() |
Lumiera 0.pre.04
»edit your freedom«
|
#include "steam/control/handling-pattern.hpp"
Result (Status) of command execution.
It is returned when invoking a HandlingPattern and can be used to check for success and/or re-throw any Exception encountered during the command execution.
Definition at line 62 of file handling-pattern.hpp.
Public Member Functions | |
| bool | isValid () const |
| void | maybeThrow () const |
| operator bool () const | |
Friends | |
| class | HandlingPattern |
Protected Member Functions | |
| ExecResult () | |
| default: command executed successfully | |
| ExecResult (lumiera::Error const &) | |
| this result marks a failed execution | |
Private Attributes | |
| const string | log_ |
|
inlineprotected |
default: command executed successfully
Definition at line 72 of file handling-pattern.hpp.
|
protected |
this result marks a failed execution
Definition at line 100 of file handling-pattern.cpp.
References lumiera_error().
Here is the call graph for this function:| bool isValid | ( | ) | const |
Definition at line 108 of file handling-pattern.cpp.
References ExecResult::log_.
Referenced by ExecResult::operator bool().
Here is the caller graph for this function:| void maybeThrow | ( | ) | const |
Definition at line 115 of file handling-pattern.cpp.
References ExecResult::log_.
|
inline |
Definition at line 69 of file handling-pattern.hpp.
References ExecResult::isValid().
Here is the call graph for this function:
|
private |
Definition at line 64 of file handling-pattern.hpp.
Referenced by ExecResult::isValid(), and ExecResult::maybeThrow().
|
friend |
Definition at line 75 of file handling-pattern.hpp.
Collaboration diagram for ExecResult: