Loading...
Searching...
No Matches
juce::midi_ci::CacheProvider Class Referenceabstract

Detailed Description

An interface for objects that provide resources for property exchange transactions.

Public Member Functions

virtual ~CacheProvider ()=default
virtual std::set< MUIDgetDiscoveredMuids () const =0
 Returns a set containing all of the MUIDs currently known to the provider.
virtual InitiatorPropertyExchangeCachegetCacheForMuidAsInitiator (MUID m)=0
 Returns a property exchange cache for accumulating replies to transactions we initiated.
virtual ResponderPropertyExchangeCachegetCacheForMuidAsResponder (MUID m)=0
 Returns a property exchange cache for accumulating requests initiated by other devices.
virtual int getMaxSysexSizeForMuid (MUID m) const =0
 Returns the maximum sysex size supported by the device with the given MUID.

Constructors and Destructors

◆ ~CacheProvider()

virtual juce::midi_ci::CacheProvider::~CacheProvider ( )
virtualdefault

Member Functions

◆ getDiscoveredMuids()

virtual std::set< MUID > juce::midi_ci::CacheProvider::getDiscoveredMuids ( ) const
pure virtual

Returns a set containing all of the MUIDs currently known to the provider.

◆ getCacheForMuidAsInitiator()

virtual InitiatorPropertyExchangeCache * juce::midi_ci::CacheProvider::getCacheForMuidAsInitiator ( MUID m)
pure virtual

Returns a property exchange cache for accumulating replies to transactions we initiated.

◆ getCacheForMuidAsResponder()

virtual ResponderPropertyExchangeCache * juce::midi_ci::CacheProvider::getCacheForMuidAsResponder ( MUID m)
pure virtual

Returns a property exchange cache for accumulating requests initiated by other devices.

◆ getMaxSysexSizeForMuid()

virtual int juce::midi_ci::CacheProvider::getMaxSysexSizeForMuid ( MUID m) const
pure virtual

Returns the maximum sysex size supported by the device with the given MUID.

linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram