ReduxLib C++ 2025.0.0-beta2
Loading...
Searching...
No Matches
redux::canand::SettingResult Class Reference

#include <CanandSettingsManager.h>

Public Member Functions

constexpr SettingResult (uint64_t value, int16_t result)
 
constexpr bool IsValid ()
 

Public Attributes

uint64_t value {0xffffffff'ffffffff}
 
int16_t result {SettingResultCode::kInvalid}
 

Detailed Description

Result type of an individual settings operation outcome.

Constructor & Destructor Documentation

◆ SettingResult()

constexpr redux::canand::SettingResult::SettingResult ( uint64_t  value,
int16_t  result 
)
inlineconstexpr

Constructor.

Parameters
valuethe value (only lower 48 bits matter)
resultthe result code

Member Function Documentation

◆ IsValid()

constexpr bool redux::canand::SettingResult::IsValid ( )
inlineconstexpr

Returns true if the setting result is valid.

Returns
true if the setting result is valid/ok

Member Data Documentation

◆ result

int16_t redux::canand::SettingResult::result {SettingResultCode::kInvalid}

The result code.

◆ value

uint64_t redux::canand::SettingResult::value {0xffffffff'ffffffff}

The setting value.


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