JUCE
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
juce::midi_ci::InitiatorPropertyExchangeCache::TokenAndId Struct Reference

Holds a token that can be used to stop waiting for a reply, along with an identifier byte that uniquely identifies an ongoing transaction. More...

#include <juce_CIPropertyExchangeCache.h>

Public Member Functions

 TokenAndId ()=default
 
 TokenAndId (ErasedScopeGuard tokenIn, std::byte idIn)
 
bool isValid () const
 

Public Attributes

ErasedScopeGuard token {}
 
std::byte id { 0x80 }
 

Detailed Description

Holds a token that can be used to stop waiting for a reply, along with an identifier byte that uniquely identifies an ongoing transaction.

Constructor & Destructor Documentation

◆ TokenAndId() [1/2]

juce::midi_ci::InitiatorPropertyExchangeCache::TokenAndId::TokenAndId ( )
default

◆ TokenAndId() [2/2]

juce::midi_ci::InitiatorPropertyExchangeCache::TokenAndId::TokenAndId ( ErasedScopeGuard  tokenIn,
std::byte  idIn 
)

Member Function Documentation

◆ isValid()

bool juce::midi_ci::InitiatorPropertyExchangeCache::TokenAndId::isValid ( ) const

Member Data Documentation

◆ token

ErasedScopeGuard juce::midi_ci::InitiatorPropertyExchangeCache::TokenAndId::token {}

◆ id

std::byte juce::midi_ci::InitiatorPropertyExchangeCache::TokenAndId::id { 0x80 }

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