|
Sound Open Firmware
|
Scoped enumeration of common error code values which can be reported to ADSP System. More...
#include <system_error.h>

Public Types | |
| enum | Enum { NO_ERROR = ADSP_NO_ERROR , INVALID_PARAMETERS = ADSP_INVALID_PARAMETERS , BUSY = ADSP_BUSY_RESOURCE , FATAL_FAILURE = ADSP_FATAL_FAILURE } |
| list of named error codes More... | |
| typedef int | Type |
| type of the error code value | |
Public Member Functions | |
| ErrorCode (Type value) | |
| Initializes a new ErrorCode instance given a value of error code. | |
| Type | operator() () const |
| Returns the current value of the ErrorCode. | |
| operator Type (void) const | |
| Converts the ErrorCode instance into its code value. | |
| bool | operator== (Type a) |
| Evaluates the ErrorCode value against a given value. | |
| const Type & | Value () const |
| Gets a const reference on the error code value. | |
Static Public Attributes | |
| static Enum const | MinValue = NO_ERROR |
| Indicates the minimal value in the enumeration list. | |
| static Enum const | MaxValue = FATAL_FAILURE |
| Indicates the maximal value in the enumeration list. | |
Protected Member Functions | |
| Type & | Value () |
| Gets a reference on the error code value. | |
Scoped enumeration of common error code values which can be reported to ADSP System.
| typedef int intel_adsp::ErrorCode::Type |
type of the error code value
|
inlineexplicit |
Initializes a new ErrorCode instance given a value of error code.
|
inline |
Converts the ErrorCode instance into its code value.
|
inline |
Evaluates the ErrorCode value against a given value.
|
inlineprotected |
Gets a reference on the error code value.
|
inline |
Gets a const reference on the error code value.
|
static |
Indicates the maximal value in the enumeration list.
Indicates the minimal value in the enumeration list.