|
TracktionEngine
|
#include <tracktion_InputDevice.h>
Public Member Functions | |
| ~Destination () override | |
| Destructor. | |
| Destination (InputDeviceInstance &i, juce::ValueTree v) | |
| juce::String | getSelectableDescription () override |
| Public Member Functions inherited from engine::Selectable | |
| Selectable () | |
| virtual | ~Selectable () |
| virtual void | selectionStatusChanged (bool isNowSelected) |
| Can be overridden to tell this object that it has just been selected or deselected. | |
| virtual void | changed () |
| This should be called to send a change notification to any SelectableListeners that are registered with this object. | |
| virtual void | selectableAboutToBeDeleted () |
| Called just before the selectable is about to be deleted so any subclasses should still be valid at this point. | |
| void | addListener (SelectableListener *) |
| void | removeListener (SelectableListener *) |
| void | addSelectableListener (SelectableListener *) |
| void | removeSelectableListener (SelectableListener *) |
| void | cancelAnyPendingUpdates () |
| If changed() has been called, this will cancel any pending async change notificaions. | |
| void | deselect () |
| void | propertiesChanged () |
| void | notifyListenersOfDeletion () |
| WeakRef | getWeakRef () |
Public Attributes | |
| InputDeviceInstance & | input |
| The instance this belongs to. | |
| juce::ValueTree | state |
| The state of this destination. | |
| const EditItemID | targetID = EditItemID::fromProperty (state, IDs::targetID) |
| The target for this destination, either an AudioTrack or ClipSlot. | |
| const int | targetIndex = state[IDs::targetIndex] |
| The target index for this destination, if it is an AudioTrack. | |
| juce::CachedValue< bool > | recordEnabled |
| Property to control whether the destination is armed to record or not. | |
| Public Attributes inherited from engine::Selectable | |
| WeakRef::Master | masterReference |
Additional Inherited Members | |
| Public Types inherited from engine::Selectable | |
| using | WeakRef = juce::WeakReference<Selectable> |
| Static Public Member Functions inherited from engine::Selectable | |
| static void | initialise () |
| static bool | isSelectableValid (const Selectable *) noexcept |
| checks whether this object has been deleted. | |
|
override |
Destructor.
References engine::Selectable::notifyListenersOfDeletion().
| engine::InputDeviceInstance::Destination::Destination | ( | InputDeviceInstance & | i, |
| juce::ValueTree | v ) |
References input, engine::InputDeviceInstance::InputDeviceInstance(), recordEnabled, state, and targetID.
Referenced by engine::InputDeviceInstance::MidiInputDestination::MidiInputDestination(), engine::InputDeviceInstance::VirtualMidiInputDestination::VirtualMidiInputDestination(), and engine::InputDeviceInstance::WaveInputDestination::WaveInputDestination().
|
overridevirtual |
Implements engine::Selectable.
References input.
| InputDeviceInstance& engine::InputDeviceInstance::Destination::input |
The instance this belongs to.
Referenced by Destination(), and getSelectableDescription().
| juce::ValueTree engine::InputDeviceInstance::Destination::state |
The state of this destination.
Referenced by Destination().
| const EditItemID engine::InputDeviceInstance::Destination::targetID = EditItemID::fromProperty (state, IDs::targetID) |
The target for this destination, either an AudioTrack or ClipSlot.
Referenced by Destination().
| const int engine::InputDeviceInstance::Destination::targetIndex = state[IDs::targetIndex] |
The target index for this destination, if it is an AudioTrack.
| juce::CachedValue<bool> engine::InputDeviceInstance::Destination::recordEnabled |
Property to control whether the destination is armed to record or not.
Referenced by Destination().