A strongly-typed identifier for a 7-bit request ID with a nullable state.
More...
#include <juce_CIPropertyExchangeCache.h>
A strongly-typed identifier for a 7-bit request ID with a nullable state.
@tags{Audio}
◆ RequestID()
| juce::midi_ci::RequestID::RequestID |
( |
uint8_t |
index | ) |
|
|
inlineexplicitprivate |
◆ asByte()
| std::byte juce::midi_ci::RequestID::asByte |
( |
| ) |
const |
|
inline |
Returns the byte corresponding to this ID.
References value.
◆ asInt()
| uint8_t juce::midi_ci::RequestID::asInt |
( |
| ) |
const |
|
inline |
Returns the int value of this ID.
References value.
◆ create() [1/2]
| static std::optional< RequestID > juce::midi_ci::RequestID::create |
( |
std::byte |
value | ) |
|
|
inlinestatic |
Constructs a RequestID if the provided value is valid, i.e.
its most significant bit is not set. Otherwise, returns nullopt.
References create(), and value.
◆ create() [2/2]
| static std::optional< RequestID > juce::midi_ci::RequestID::create |
( |
uint8_t |
v | ) |
|
|
inlinestatic |
Constructs a RequestID if the provided value is valid, i.e.
its most significant bit is not set. Otherwise, returns nullopt.
Referenced by create().
◆ operator!=()
| bool juce::midi_ci::RequestID::operator!= |
( |
RequestID |
other | ) |
const |
|
inline |
◆ operator==()
| bool juce::midi_ci::RequestID::operator== |
( |
RequestID |
other | ) |
const |
|
inline |
◆ value
| uint8_t juce::midi_ci::RequestID::value {} |
|
private |
The documentation for this class was generated from the following file: