A base class for input/output devices.
More...
#include <tracktion_IODevice.h>
Inherits Selectable.
A base class for input/output devices.
See InputDevice and OutputDevice for more details.
◆ IODevice()
| tracktion::engine::IODevice::IODevice |
( |
Engine & |
, |
|
|
juce::String |
name, |
|
|
juce::String |
deviceID |
|
) |
| |
◆ ~IODevice()
| tracktion::engine::IODevice::~IODevice |
( |
| ) |
|
|
override |
◆ getName()
| const juce::String & tracktion::engine::IODevice::getName |
( |
| ) |
const |
◆ getDeviceID()
| juce::String tracktion::engine::IODevice::getDeviceID |
( |
| ) |
const |
◆ isEnabled()
| bool tracktion::engine::IODevice::isEnabled |
( |
| ) |
const |
◆ setEnabled()
| virtual void tracktion::engine::IODevice::setEnabled |
( |
bool |
| ) |
|
|
pure virtual |
◆ isMidi()
| virtual bool tracktion::engine::IODevice::isMidi |
( |
| ) |
const |
|
pure virtual |
◆ isTrackDevice()
| virtual bool tracktion::engine::IODevice::isTrackDevice |
( |
| ) |
const |
|
pure virtual |
◆ getDeviceTypeDescription()
| virtual juce::String tracktion::engine::IODevice::getDeviceTypeDescription |
( |
| ) |
const |
|
pure virtual |
◆ setAlias()
| void tracktion::engine::IODevice::setAlias |
( |
const juce::String & |
newAlias | ) |
|
the alias is the name shown in the draggable input device components
◆ getAliasOrName()
| juce::String tracktion::engine::IODevice::getAliasOrName |
( |
| ) |
const |
Returns the alias if set, otherwise the name.
◆ getAliasIfSet()
| juce::String tracktion::engine::IODevice::getAliasIfSet |
( |
| ) |
const |
Returns the alias, or an empty string if not set.
◆ getSelectableDescription()
| juce::String tracktion::engine::IODevice::getSelectableDescription |
( |
| ) |
|
|
override |
◆ engine
| Engine& tracktion::engine::IODevice::engine |
◆ enabled
| std::atomic<bool> tracktion::engine::IODevice::enabled { false } |
|
protected |
◆ deviceID
| const juce::String tracktion::engine::IODevice::deviceID |
|
protected |
◆ name
| const juce::String tracktion::engine::IODevice::name |
|
protected |
The documentation for this class was generated from the following file: