Configuration options for a Device.
More...
#include <juce_CIDeviceOptions.h>
Configuration options for a Device.
The options set here will remain constant over the lifetime of a Device.
◆ makeProductInstanceId()
static std::array< char, 16 > midi_ci::DeviceOptions::makeProductInstanceId |
( |
Random & | random | ) |
|
|
static |
◆ withOutputs()
One or more DeviceMessageHandlers that should receive callbacks with any messages that the device wishes to send.
Referenced DeviceMessageHandlers must outlive any Device constructed from these options.
References withMember(), and x.
◆ withFunctionBlock()
The function block layout of this device.
References withMember(), and x.
◆ withDeviceInfo()
DeviceOptions midi_ci::DeviceOptions::withDeviceInfo |
( |
const ump::DeviceInfo & | x | ) |
const |
|
nodiscard |
Basic information about the device used to determine manufacturer, model, etc.
In order to populate this correctly, you'll need to register with the MIDI association - otherwise you might accidentally end up using IDs that are already assigned to other companies/individuals.
References withMember(), and x.
◆ withFeatures()
◆ withMaxSysExSize()
DeviceOptions midi_ci::DeviceOptions::withMaxSysExSize |
( |
size_t | x | ) |
const |
|
nodiscard |
The maximum size of sysex messages to accept and to produce.
References withMember(), and x.
◆ withProfileDelegate()
Specifies a profile delegate that can be used to respond to particular profile events.
The referenced ProfileDelegate must outlive the Device.
References withMember(), and x.
◆ withPropertyDelegate()
Specifies a property delegate that can be used to respond to particular property events.
The referenced PropertyDelegate must outlive the Device.
References withMember(), and x.
◆ withProductInstanceId()
DeviceOptions midi_ci::DeviceOptions::withProductInstanceId |
( |
const std::array< char, 16 > & | x | ) |
const |
|
nodiscard |
Specifies a product instance ID that will be returned in endpoint response messages.
References jassertfalse, withMember(), and x.
◆ getOutputs()
const auto & midi_ci::DeviceOptions::getOutputs |
( |
| ) |
const |
|
nodiscard |
◆ getFunctionBlock()
const auto & midi_ci::DeviceOptions::getFunctionBlock |
( |
| ) |
const |
|
nodiscard |
◆ getDeviceInfo()
const auto & midi_ci::DeviceOptions::getDeviceInfo |
( |
| ) |
const |
|
nodiscard |
◆ getFeatures()
const auto & midi_ci::DeviceOptions::getFeatures |
( |
| ) |
const |
|
nodiscard |
◆ getMaxSysExSize()
const auto & midi_ci::DeviceOptions::getMaxSysExSize |
( |
| ) |
const |
|
nodiscard |
◆ getProductInstanceId()
const auto & midi_ci::DeviceOptions::getProductInstanceId |
( |
| ) |
const |
|
nodiscard |
◆ getProfileDelegate()
const auto & midi_ci::DeviceOptions::getProfileDelegate |
( |
| ) |
const |
|
nodiscard |
◆ getPropertyDelegate()
const auto & midi_ci::DeviceOptions::getPropertyDelegate |
( |
| ) |
const |
|
nodiscard |
◆ beginValidAscii
auto midi_ci::DeviceOptions::beginValidAscii = 32 |
|
staticconstexpr |
◆ endValidAscii
auto midi_ci::DeviceOptions::endValidAscii = 127 |
|
staticconstexpr |
The documentation for this class was generated from the following file: