mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-06-14 00:02:10 +02:00
Add noexcept qualifications in src/common
Apparently this can actually make a difference in some cases, and the C++ Core Guideliens recommend doing this on all default constructors, destructors, and all functions that can not throw (and thus also don't allocate).
This commit is contained in:
@@ -16,14 +16,14 @@
|
||||
|
||||
#include "audio-presentation-latency.h"
|
||||
|
||||
YaAudioPresentationLatency::ConstructArgs::ConstructArgs() {}
|
||||
YaAudioPresentationLatency::ConstructArgs::ConstructArgs() noexcept {}
|
||||
|
||||
YaAudioPresentationLatency::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object)
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||
: supported(
|
||||
Steinberg::FUnknownPtr<Steinberg::Vst::IAudioPresentationLatency>(
|
||||
object)) {}
|
||||
|
||||
YaAudioPresentationLatency::YaAudioPresentationLatency(
|
||||
const ConstructArgs&& args)
|
||||
const ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -35,13 +35,13 @@ class YaAudioPresentationLatency
|
||||
* These are the arguments for creating a `YaAudioPresentationLatency`.
|
||||
*/
|
||||
struct ConstructArgs {
|
||||
ConstructArgs();
|
||||
ConstructArgs() noexcept;
|
||||
|
||||
/**
|
||||
* Check whether an existing implementation implements
|
||||
* `IAudioPresentationLatency` and read arguments from it.
|
||||
*/
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object);
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object) noexcept;
|
||||
|
||||
/**
|
||||
* Whether the object supported this interface.
|
||||
@@ -58,9 +58,9 @@ class YaAudioPresentationLatency
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaAudioPresentationLatency(const ConstructArgs&& args);
|
||||
YaAudioPresentationLatency(const ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const { return arguments.supported; }
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
/**
|
||||
* Message to pass through a call to
|
||||
|
||||
@@ -16,12 +16,12 @@
|
||||
|
||||
#include "audio-processor.h"
|
||||
|
||||
YaAudioProcessor::ConstructArgs::ConstructArgs() {}
|
||||
YaAudioProcessor::ConstructArgs::ConstructArgs() noexcept {}
|
||||
|
||||
YaAudioProcessor::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object)
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||
: supported(
|
||||
Steinberg::FUnknownPtr<Steinberg::Vst::IAudioProcessor>(object)) {}
|
||||
|
||||
YaAudioProcessor::YaAudioProcessor(const ConstructArgs&& args)
|
||||
YaAudioProcessor::YaAudioProcessor(const ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -36,13 +36,13 @@ class YaAudioProcessor : public Steinberg::Vst::IAudioProcessor {
|
||||
* These are the arguments for creating a `YaAudioProcessor`.
|
||||
*/
|
||||
struct ConstructArgs {
|
||||
ConstructArgs();
|
||||
ConstructArgs() noexcept;
|
||||
|
||||
/**
|
||||
* Check whether an existing implementation implements `IAudioProcessor`
|
||||
* and read arguments from it.
|
||||
*/
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object);
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object) noexcept;
|
||||
|
||||
/**
|
||||
* Whether the object supported this interface.
|
||||
@@ -59,9 +59,9 @@ class YaAudioProcessor : public Steinberg::Vst::IAudioProcessor {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaAudioProcessor(const ConstructArgs&& args);
|
||||
YaAudioProcessor(const ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const { return arguments.supported; }
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
/**
|
||||
* Message to pass through a call to
|
||||
|
||||
@@ -16,12 +16,12 @@
|
||||
|
||||
#include "automation-state.h"
|
||||
|
||||
YaAutomationState::ConstructArgs::ConstructArgs() {}
|
||||
YaAutomationState::ConstructArgs::ConstructArgs() noexcept {}
|
||||
|
||||
YaAutomationState::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object)
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||
: supported(
|
||||
Steinberg::FUnknownPtr<Steinberg::Vst::IAutomationState>(object)) {}
|
||||
|
||||
YaAutomationState::YaAutomationState(const ConstructArgs&& args)
|
||||
YaAutomationState::YaAutomationState(const ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -37,13 +37,13 @@ class YaAutomationState : public Steinberg::Vst::IAutomationState {
|
||||
* These are the arguments for creating a `YaAutomationState`.
|
||||
*/
|
||||
struct ConstructArgs {
|
||||
ConstructArgs();
|
||||
ConstructArgs() noexcept;
|
||||
|
||||
/**
|
||||
* Check whether an existing implementation implements
|
||||
* `IAutomationState` and read arguments from it.
|
||||
*/
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object);
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object) noexcept;
|
||||
|
||||
/**
|
||||
* Whether the object supported this interface.
|
||||
@@ -60,9 +60,9 @@ class YaAutomationState : public Steinberg::Vst::IAutomationState {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaAutomationState(const ConstructArgs&& args);
|
||||
YaAutomationState(const ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const { return arguments.supported; }
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
/**
|
||||
* Message to pass through a call to
|
||||
|
||||
@@ -16,11 +16,11 @@
|
||||
|
||||
#include "component.h"
|
||||
|
||||
YaComponent::ConstructArgs::ConstructArgs() {}
|
||||
YaComponent::ConstructArgs::ConstructArgs() noexcept {}
|
||||
|
||||
YaComponent::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object)
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||
: supported(Steinberg::FUnknownPtr<Steinberg::Vst::IComponent>(object)) {}
|
||||
|
||||
YaComponent::YaComponent(const ConstructArgs&& args)
|
||||
YaComponent::YaComponent(const ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -37,13 +37,13 @@ class YaComponent : public Steinberg::Vst::IComponent {
|
||||
* These are the arguments for creating a `YaComponent`.
|
||||
*/
|
||||
struct ConstructArgs {
|
||||
ConstructArgs();
|
||||
ConstructArgs() noexcept;
|
||||
|
||||
/**
|
||||
* Check whether an existing implementation implements `IComponent` and
|
||||
* read arguments from it.
|
||||
*/
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object);
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object) noexcept;
|
||||
|
||||
/**
|
||||
* Whether the object supported this interface.
|
||||
@@ -60,9 +60,9 @@ class YaComponent : public Steinberg::Vst::IComponent {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaComponent(const ConstructArgs&& args);
|
||||
YaComponent(const ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const { return arguments.supported; }
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
/**
|
||||
* The response code and returned CID for a call to
|
||||
|
||||
@@ -16,21 +16,21 @@
|
||||
|
||||
#include "connection-point.h"
|
||||
|
||||
YaConnectionPoint::ConstructArgs::ConstructArgs() {}
|
||||
YaConnectionPoint::ConstructArgs::ConstructArgs() noexcept {}
|
||||
|
||||
YaConnectionPoint::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object)
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||
: supported(
|
||||
Steinberg::FUnknownPtr<Steinberg::Vst::IConnectionPoint>(object)) {}
|
||||
|
||||
YaConnectionPoint::Vst3ConnectionPointProxyConstructArgs::
|
||||
Vst3ConnectionPointProxyConstructArgs() {}
|
||||
Vst3ConnectionPointProxyConstructArgs() noexcept {}
|
||||
|
||||
YaConnectionPoint::Vst3ConnectionPointProxyConstructArgs::
|
||||
Vst3ConnectionPointProxyConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object,
|
||||
size_t owner_instance_id)
|
||||
size_t owner_instance_id) noexcept
|
||||
: owner_instance_id(owner_instance_id), connection_point_args(object) {}
|
||||
|
||||
YaConnectionPoint::YaConnectionPoint(const ConstructArgs&& args)
|
||||
YaConnectionPoint::YaConnectionPoint(const ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -42,13 +42,13 @@ class YaConnectionPoint : public Steinberg::Vst::IConnectionPoint {
|
||||
* These are the arguments for creating a `YaConnectionPoint`.
|
||||
*/
|
||||
struct ConstructArgs {
|
||||
ConstructArgs();
|
||||
ConstructArgs() noexcept;
|
||||
|
||||
/**
|
||||
* Check whether an existing implementation implements
|
||||
* `IConnectionPoint` and read arguments from it.
|
||||
*/
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object);
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object) noexcept;
|
||||
|
||||
/**
|
||||
* Whether the object supported this interface.
|
||||
@@ -69,7 +69,7 @@ class YaConnectionPoint : public Steinberg::Vst::IConnectionPoint {
|
||||
* It's defined here to work around circular includes.
|
||||
*/
|
||||
struct Vst3ConnectionPointProxyConstructArgs {
|
||||
Vst3ConnectionPointProxyConstructArgs();
|
||||
Vst3ConnectionPointProxyConstructArgs() noexcept;
|
||||
|
||||
/**
|
||||
* Read from an existing object. We will try to mimic this object, so
|
||||
@@ -80,7 +80,7 @@ class YaConnectionPoint : public Steinberg::Vst::IConnectionPoint {
|
||||
* here.
|
||||
*/
|
||||
Vst3ConnectionPointProxyConstructArgs(Steinberg::IPtr<FUnknown> object,
|
||||
size_t owner_instance_id);
|
||||
size_t owner_instance_id) noexcept;
|
||||
|
||||
/**
|
||||
* The unique instance identifier of the proxy object instance this
|
||||
@@ -104,9 +104,9 @@ class YaConnectionPoint : public Steinberg::Vst::IConnectionPoint {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaConnectionPoint(const ConstructArgs&& args);
|
||||
YaConnectionPoint(const ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const { return arguments.supported; }
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
/**
|
||||
* Message to pass through a call to `IConnectionPoint::connect(other)` to
|
||||
|
||||
@@ -16,12 +16,12 @@
|
||||
|
||||
#include "edit-controller-2.h"
|
||||
|
||||
YaEditController2::ConstructArgs::ConstructArgs() {}
|
||||
YaEditController2::ConstructArgs::ConstructArgs() noexcept {}
|
||||
|
||||
YaEditController2::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object)
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||
: supported(
|
||||
Steinberg::FUnknownPtr<Steinberg::Vst::IEditController2>(object)) {}
|
||||
|
||||
YaEditController2::YaEditController2(const ConstructArgs&& args)
|
||||
YaEditController2::YaEditController2(const ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -34,13 +34,13 @@ class YaEditController2 : public Steinberg::Vst::IEditController2 {
|
||||
* These are the arguments for creating a `YaEditController2`.
|
||||
*/
|
||||
struct ConstructArgs {
|
||||
ConstructArgs();
|
||||
ConstructArgs() noexcept;
|
||||
|
||||
/**
|
||||
* Check whether an existing implementation implements
|
||||
* `IEditController2` and read arguments from it.
|
||||
*/
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object);
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object) noexcept;
|
||||
|
||||
/**
|
||||
* Whether the object supported this interface.
|
||||
@@ -57,9 +57,9 @@ class YaEditController2 : public Steinberg::Vst::IEditController2 {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaEditController2(const ConstructArgs&& args);
|
||||
YaEditController2(const ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const { return arguments.supported; }
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
/**
|
||||
* Message to pass through a call to `IEditController2::setKnobMode(mode)`
|
||||
|
||||
@@ -16,14 +16,14 @@
|
||||
|
||||
#include "edit-controller-host-editing.h"
|
||||
|
||||
YaEditControllerHostEditing::ConstructArgs::ConstructArgs() {}
|
||||
YaEditControllerHostEditing::ConstructArgs::ConstructArgs() noexcept {}
|
||||
|
||||
YaEditControllerHostEditing::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object)
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||
: supported(
|
||||
Steinberg::FUnknownPtr<Steinberg::Vst::IEditControllerHostEditing>(
|
||||
object)) {}
|
||||
|
||||
YaEditControllerHostEditing::YaEditControllerHostEditing(
|
||||
const ConstructArgs&& args)
|
||||
const ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -35,13 +35,13 @@ class YaEditControllerHostEditing
|
||||
* These are the arguments for creating a `YaEditControllerHostEditing`.
|
||||
*/
|
||||
struct ConstructArgs {
|
||||
ConstructArgs();
|
||||
ConstructArgs() noexcept;
|
||||
|
||||
/**
|
||||
* Check whether an existing implementation implements
|
||||
* `IEditControllerHostEditing` and read arguments from it.
|
||||
*/
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object);
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object) noexcept;
|
||||
|
||||
/**
|
||||
* Whether the object supported this interface.
|
||||
@@ -58,9 +58,9 @@ class YaEditControllerHostEditing
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaEditControllerHostEditing(const ConstructArgs&& args);
|
||||
YaEditControllerHostEditing(const ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const { return arguments.supported; }
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
/**
|
||||
* Message to pass through a call to
|
||||
|
||||
@@ -16,12 +16,12 @@
|
||||
|
||||
#include "edit-controller.h"
|
||||
|
||||
YaEditController::ConstructArgs::ConstructArgs() {}
|
||||
YaEditController::ConstructArgs::ConstructArgs() noexcept {}
|
||||
|
||||
YaEditController::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object)
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||
: supported(
|
||||
Steinberg::FUnknownPtr<Steinberg::Vst::IEditController>(object)) {}
|
||||
|
||||
YaEditController::YaEditController(const ConstructArgs&& args)
|
||||
YaEditController::YaEditController(const ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -38,13 +38,13 @@ class YaEditController : public Steinberg::Vst::IEditController {
|
||||
* These are the arguments for creating a `YaEditController`.
|
||||
*/
|
||||
struct ConstructArgs {
|
||||
ConstructArgs();
|
||||
ConstructArgs() noexcept;
|
||||
|
||||
/**
|
||||
* Check whether an existing implementation implements
|
||||
* `IEditController` and read arguments from it.
|
||||
*/
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object);
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object) noexcept;
|
||||
|
||||
/**
|
||||
* Whether the object supported this interface.
|
||||
@@ -61,9 +61,9 @@ class YaEditController : public Steinberg::Vst::IEditController {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaEditController(const ConstructArgs&& args);
|
||||
YaEditController(const ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const { return arguments.supported; }
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
/**
|
||||
* Message to pass through a call to
|
||||
|
||||
@@ -16,13 +16,13 @@
|
||||
|
||||
#include "info-listener.h"
|
||||
|
||||
YaInfoListener::ConstructArgs::ConstructArgs() {}
|
||||
YaInfoListener::ConstructArgs::ConstructArgs() noexcept {}
|
||||
|
||||
YaInfoListener::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object)
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||
: supported(
|
||||
Steinberg::FUnknownPtr<Steinberg::Vst::ChannelContext::IInfoListener>(
|
||||
object)) {}
|
||||
|
||||
YaInfoListener::YaInfoListener(const ConstructArgs&& args)
|
||||
YaInfoListener::YaInfoListener(const ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -35,13 +35,13 @@ class YaInfoListener : public Steinberg::Vst::ChannelContext::IInfoListener {
|
||||
* These are the arguments for creating a `YaInfoListener`.
|
||||
*/
|
||||
struct ConstructArgs {
|
||||
ConstructArgs();
|
||||
ConstructArgs() noexcept;
|
||||
|
||||
/**
|
||||
* Check whether an existing implementation implements `IInfoListener`
|
||||
* and read arguments from it.
|
||||
*/
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object);
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object) noexcept;
|
||||
|
||||
/**
|
||||
* Whether the object supported this interface.
|
||||
@@ -58,9 +58,9 @@ class YaInfoListener : public Steinberg::Vst::ChannelContext::IInfoListener {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaInfoListener(const ConstructArgs&& args);
|
||||
YaInfoListener(const ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const { return arguments.supported; }
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
/**
|
||||
* Message to pass through a call to
|
||||
|
||||
@@ -16,12 +16,12 @@
|
||||
|
||||
#include "keyswitch-controller.h"
|
||||
|
||||
YaKeyswitchController::ConstructArgs::ConstructArgs() {}
|
||||
YaKeyswitchController::ConstructArgs::ConstructArgs() noexcept {}
|
||||
|
||||
YaKeyswitchController::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object)
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||
: supported(Steinberg::FUnknownPtr<Steinberg::Vst::IKeyswitchController>(
|
||||
object)) {}
|
||||
|
||||
YaKeyswitchController::YaKeyswitchController(const ConstructArgs&& args)
|
||||
YaKeyswitchController::YaKeyswitchController(const ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -34,13 +34,13 @@ class YaKeyswitchController : public Steinberg::Vst::IKeyswitchController {
|
||||
* These are the arguments for creating a `YaKeyswitchController`.
|
||||
*/
|
||||
struct ConstructArgs {
|
||||
ConstructArgs();
|
||||
ConstructArgs() noexcept;
|
||||
|
||||
/**
|
||||
* Check whether an existing implementation implements
|
||||
* `IKeyswitchController` and read arguments from it.
|
||||
*/
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object);
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object) noexcept;
|
||||
|
||||
/**
|
||||
* Whether the object supported this interface.
|
||||
@@ -57,9 +57,9 @@ class YaKeyswitchController : public Steinberg::Vst::IKeyswitchController {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaKeyswitchController(const ConstructArgs&& args);
|
||||
YaKeyswitchController(const ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const { return arguments.supported; }
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
/**
|
||||
* Message to pass through a call to
|
||||
|
||||
@@ -16,11 +16,11 @@
|
||||
|
||||
#include "midi-learn.h"
|
||||
|
||||
YaMidiLearn::ConstructArgs::ConstructArgs() {}
|
||||
YaMidiLearn::ConstructArgs::ConstructArgs() noexcept {}
|
||||
|
||||
YaMidiLearn::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object)
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||
: supported(Steinberg::FUnknownPtr<Steinberg::Vst::IMidiLearn>(object)) {}
|
||||
|
||||
YaMidiLearn::YaMidiLearn(const ConstructArgs&& args)
|
||||
YaMidiLearn::YaMidiLearn(const ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -34,13 +34,13 @@ class YaMidiLearn : public Steinberg::Vst::IMidiLearn {
|
||||
* These are the arguments for creating a `YaMidiLearn`.
|
||||
*/
|
||||
struct ConstructArgs {
|
||||
ConstructArgs();
|
||||
ConstructArgs() noexcept;
|
||||
|
||||
/**
|
||||
* Check whether an existing implementation implements `IMidiLearn`
|
||||
* and read arguments from it.
|
||||
*/
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object);
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object) noexcept;
|
||||
|
||||
/**
|
||||
* Whether the object supported this interface.
|
||||
@@ -57,9 +57,9 @@ class YaMidiLearn : public Steinberg::Vst::IMidiLearn {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaMidiLearn(const ConstructArgs&& args);
|
||||
YaMidiLearn(const ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const { return arguments.supported; }
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
/**
|
||||
* Message to pass through a call to
|
||||
|
||||
@@ -16,11 +16,11 @@
|
||||
|
||||
#include "midi-mapping.h"
|
||||
|
||||
YaMidiMapping::ConstructArgs::ConstructArgs() {}
|
||||
YaMidiMapping::ConstructArgs::ConstructArgs() noexcept {}
|
||||
|
||||
YaMidiMapping::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object)
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||
: supported(Steinberg::FUnknownPtr<Steinberg::Vst::IMidiMapping>(object)) {}
|
||||
|
||||
YaMidiMapping::YaMidiMapping(const ConstructArgs&& args)
|
||||
YaMidiMapping::YaMidiMapping(const ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -34,13 +34,13 @@ class YaMidiMapping : public Steinberg::Vst::IMidiMapping {
|
||||
* These are the arguments for creating a `YaMidiMapping`.
|
||||
*/
|
||||
struct ConstructArgs {
|
||||
ConstructArgs();
|
||||
ConstructArgs() noexcept;
|
||||
|
||||
/**
|
||||
* Check whether an existing implementation implements `IMidiMapping`
|
||||
* and read arguments from it.
|
||||
*/
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object);
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object) noexcept;
|
||||
|
||||
/**
|
||||
* Whether the object supported this interface.
|
||||
@@ -57,9 +57,9 @@ class YaMidiMapping : public Steinberg::Vst::IMidiMapping {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaMidiMapping(const ConstructArgs&& args);
|
||||
YaMidiMapping(const ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const { return arguments.supported; }
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
/**
|
||||
* The response code and returned parameter ID for a call to
|
||||
|
||||
@@ -16,14 +16,14 @@
|
||||
|
||||
#include "note-expression-controller.h"
|
||||
|
||||
YaNoteExpressionController::ConstructArgs::ConstructArgs() {}
|
||||
YaNoteExpressionController::ConstructArgs::ConstructArgs() noexcept {}
|
||||
|
||||
YaNoteExpressionController::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object)
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||
: supported(
|
||||
Steinberg::FUnknownPtr<Steinberg::Vst::INoteExpressionController>(
|
||||
object)) {}
|
||||
|
||||
YaNoteExpressionController::YaNoteExpressionController(
|
||||
const ConstructArgs&& args)
|
||||
const ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -38,13 +38,13 @@ class YaNoteExpressionController
|
||||
* These are the arguments for creating a `YaNoteExpressionController`.
|
||||
*/
|
||||
struct ConstructArgs {
|
||||
ConstructArgs();
|
||||
ConstructArgs() noexcept;
|
||||
|
||||
/**
|
||||
* Check whether an existing implementation implements
|
||||
* `INoteExpressionController` and read arguments from it.
|
||||
*/
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object);
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object) noexcept;
|
||||
|
||||
/**
|
||||
* Whether the object supported this interface.
|
||||
@@ -61,9 +61,9 @@ class YaNoteExpressionController
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaNoteExpressionController(const ConstructArgs&& args);
|
||||
YaNoteExpressionController(const ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const { return arguments.supported; }
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
/**
|
||||
* Message to pass through a call to
|
||||
|
||||
@@ -16,13 +16,13 @@
|
||||
|
||||
#include "note-expression-physical-ui-mapping.h"
|
||||
|
||||
YaNoteExpressionPhysicalUIMapping::ConstructArgs::ConstructArgs() {}
|
||||
YaNoteExpressionPhysicalUIMapping::ConstructArgs::ConstructArgs() noexcept {}
|
||||
|
||||
YaNoteExpressionPhysicalUIMapping::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object)
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||
: supported(Steinberg::FUnknownPtr<
|
||||
Steinberg::Vst::INoteExpressionPhysicalUIMapping>(object)) {}
|
||||
|
||||
YaNoteExpressionPhysicalUIMapping::YaNoteExpressionPhysicalUIMapping(
|
||||
const ConstructArgs&& args)
|
||||
const ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -37,13 +37,13 @@ class YaNoteExpressionPhysicalUIMapping
|
||||
* `YaNoteExpressionPhysicalUIMapping`.
|
||||
*/
|
||||
struct ConstructArgs {
|
||||
ConstructArgs();
|
||||
ConstructArgs() noexcept;
|
||||
|
||||
/**
|
||||
* Check whether an existing implementation implements
|
||||
* `INoteExpressionPhysicalUIMapping` and read arguments from it.
|
||||
*/
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object);
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object) noexcept;
|
||||
|
||||
/**
|
||||
* Whether the object supported this interface.
|
||||
@@ -60,9 +60,9 @@ class YaNoteExpressionPhysicalUIMapping
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaNoteExpressionPhysicalUIMapping(const ConstructArgs&& args);
|
||||
YaNoteExpressionPhysicalUIMapping(const ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const { return arguments.supported; }
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
/**
|
||||
* The response code and returned info for a call to
|
||||
|
||||
@@ -16,12 +16,12 @@
|
||||
|
||||
#include "parameter-function-name.h"
|
||||
|
||||
YaParameterFunctionName::ConstructArgs::ConstructArgs() {}
|
||||
YaParameterFunctionName::ConstructArgs::ConstructArgs() noexcept {}
|
||||
|
||||
YaParameterFunctionName::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object)
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||
: supported(Steinberg::FUnknownPtr<Steinberg::Vst::IParameterFunctionName>(
|
||||
object)) {}
|
||||
|
||||
YaParameterFunctionName::YaParameterFunctionName(const ConstructArgs&& args)
|
||||
YaParameterFunctionName::YaParameterFunctionName(const ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -36,13 +36,13 @@ class YaParameterFunctionName : public Steinberg::Vst::IParameterFunctionName {
|
||||
* These are the arguments for creating a `YaParameterFunctionName`.
|
||||
*/
|
||||
struct ConstructArgs {
|
||||
ConstructArgs();
|
||||
ConstructArgs() noexcept;
|
||||
|
||||
/**
|
||||
* Check whether an existing implementation implements
|
||||
* `IParameterFunctionName` and read arguments from it.
|
||||
*/
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object);
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object) noexcept;
|
||||
|
||||
/**
|
||||
* Whether the object supported this interface.
|
||||
@@ -59,9 +59,9 @@ class YaParameterFunctionName : public Steinberg::Vst::IParameterFunctionName {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaParameterFunctionName(const ConstructArgs&& args);
|
||||
YaParameterFunctionName(const ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const { return arguments.supported; }
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
/**
|
||||
* The response code and returned parameter ID for a call to
|
||||
|
||||
@@ -16,11 +16,11 @@
|
||||
|
||||
#include "plugin-base.h"
|
||||
|
||||
YaPluginBase::ConstructArgs::ConstructArgs() {}
|
||||
YaPluginBase::ConstructArgs::ConstructArgs() noexcept {}
|
||||
|
||||
YaPluginBase::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object)
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||
: supported(Steinberg::FUnknownPtr<Steinberg::IPluginBase>(object)) {}
|
||||
|
||||
YaPluginBase::YaPluginBase(const ConstructArgs&& args)
|
||||
YaPluginBase::YaPluginBase(const ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -36,13 +36,13 @@ class YaPluginBase : public Steinberg::IPluginBase {
|
||||
* These are the arguments for creating a `YaPluginBase`.
|
||||
*/
|
||||
struct ConstructArgs {
|
||||
ConstructArgs();
|
||||
ConstructArgs() noexcept;
|
||||
|
||||
/**
|
||||
* Check whether an existing implementation implements `IPluginBase` and
|
||||
* read arguments from it.
|
||||
*/
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object);
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object) noexcept;
|
||||
|
||||
/**
|
||||
* Whether the object supported this interface.
|
||||
@@ -59,9 +59,9 @@ class YaPluginBase : public Steinberg::IPluginBase {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaPluginBase(const ConstructArgs&& args);
|
||||
YaPluginBase(const ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const { return arguments.supported; }
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
/**
|
||||
* Message to pass through a call to `IPluginBase::initialize()` to the Wine
|
||||
|
||||
@@ -16,12 +16,12 @@
|
||||
|
||||
#include "prefetchable-support.h"
|
||||
|
||||
YaPrefetchableSupport::ConstructArgs::ConstructArgs() {}
|
||||
YaPrefetchableSupport::ConstructArgs::ConstructArgs() noexcept {}
|
||||
|
||||
YaPrefetchableSupport::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object)
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||
: supported(Steinberg::FUnknownPtr<Steinberg::Vst::IPrefetchableSupport>(
|
||||
object)) {}
|
||||
|
||||
YaPrefetchableSupport::YaPrefetchableSupport(const ConstructArgs&& args)
|
||||
YaPrefetchableSupport::YaPrefetchableSupport(const ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -35,13 +35,13 @@ class YaPrefetchableSupport : public Steinberg::Vst::IPrefetchableSupport {
|
||||
* These are the arguments for creating a `YaPrefetchableSupport`.
|
||||
*/
|
||||
struct ConstructArgs {
|
||||
ConstructArgs();
|
||||
ConstructArgs() noexcept;
|
||||
|
||||
/**
|
||||
* Check whether an existing implementation implements
|
||||
* `IPrefetchableSupport` and read arguments from it.
|
||||
*/
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object);
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object) noexcept;
|
||||
|
||||
/**
|
||||
* Whether the object supported this interface.
|
||||
@@ -58,9 +58,9 @@ class YaPrefetchableSupport : public Steinberg::Vst::IPrefetchableSupport {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaPrefetchableSupport(const ConstructArgs&& args);
|
||||
YaPrefetchableSupport(const ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const { return arguments.supported; }
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
/**
|
||||
* The response code and returned bus information for a call to
|
||||
|
||||
@@ -16,14 +16,14 @@
|
||||
|
||||
#include "process-context-requirements.h"
|
||||
|
||||
YaProcessContextRequirements::ConstructArgs::ConstructArgs() {}
|
||||
YaProcessContextRequirements::ConstructArgs::ConstructArgs() noexcept {}
|
||||
|
||||
YaProcessContextRequirements::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object)
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||
: supported(
|
||||
Steinberg::FUnknownPtr<Steinberg::Vst::IProcessContextRequirements>(
|
||||
object)) {}
|
||||
|
||||
YaProcessContextRequirements::YaProcessContextRequirements(
|
||||
const ConstructArgs&& args)
|
||||
const ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -37,13 +37,13 @@ class YaProcessContextRequirements
|
||||
* These are the arguments for creating a `YaProcessContextRequirements`.
|
||||
*/
|
||||
struct ConstructArgs {
|
||||
ConstructArgs();
|
||||
ConstructArgs() noexcept;
|
||||
|
||||
/**
|
||||
* Check whether an existing implementation implements
|
||||
* `IProcessContextRequirements` and read arguments from it.
|
||||
*/
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object);
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object) noexcept;
|
||||
|
||||
/**
|
||||
* Whether the object supported this interface.
|
||||
@@ -60,9 +60,9 @@ class YaProcessContextRequirements
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaProcessContextRequirements(const ConstructArgs&& args);
|
||||
YaProcessContextRequirements(const ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const { return arguments.supported; }
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
/**
|
||||
* Message to pass through a call to
|
||||
|
||||
@@ -16,12 +16,12 @@
|
||||
|
||||
#include "program-list-data.h"
|
||||
|
||||
YaProgramListData::ConstructArgs::ConstructArgs() {}
|
||||
YaProgramListData::ConstructArgs::ConstructArgs() noexcept {}
|
||||
|
||||
YaProgramListData::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object)
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||
: supported(
|
||||
Steinberg::FUnknownPtr<Steinberg::Vst::IProgramListData>(object)) {}
|
||||
|
||||
YaProgramListData::YaProgramListData(const ConstructArgs&& args)
|
||||
YaProgramListData::YaProgramListData(const ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -35,13 +35,13 @@ class YaProgramListData : public Steinberg::Vst::IProgramListData {
|
||||
* These are the arguments for creating a `YaProgramListData`.
|
||||
*/
|
||||
struct ConstructArgs {
|
||||
ConstructArgs();
|
||||
ConstructArgs() noexcept;
|
||||
|
||||
/**
|
||||
* Check whether an existing implementation implements
|
||||
* `IProgramListData` and read arguments from it.
|
||||
*/
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object);
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object) noexcept;
|
||||
|
||||
/**
|
||||
* Whether the object supported this interface.
|
||||
@@ -58,9 +58,9 @@ class YaProgramListData : public Steinberg::Vst::IProgramListData {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaProgramListData(const ConstructArgs&& args);
|
||||
YaProgramListData(const ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const { return arguments.supported; }
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
/**
|
||||
* Message to pass through a call to
|
||||
|
||||
@@ -16,12 +16,12 @@
|
||||
|
||||
#include "unit-data.h"
|
||||
|
||||
YaUnitData::ConstructArgs::ConstructArgs() {}
|
||||
YaUnitData::ConstructArgs::ConstructArgs() noexcept {}
|
||||
|
||||
YaUnitData::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object)
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||
: supported(
|
||||
Steinberg::FUnknownPtr<Steinberg::Vst::IUnitData>(object)) {}
|
||||
|
||||
YaUnitData::YaUnitData(const ConstructArgs&& args)
|
||||
YaUnitData::YaUnitData(const ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -35,13 +35,13 @@ class YaUnitData : public Steinberg::Vst::IUnitData {
|
||||
* These are the arguments for creating a `YaUnitData`.
|
||||
*/
|
||||
struct ConstructArgs {
|
||||
ConstructArgs();
|
||||
ConstructArgs() noexcept;
|
||||
|
||||
/**
|
||||
* Check whether an existing implementation implements `IUnitData` and
|
||||
* read arguments from it.
|
||||
*/
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object);
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object) noexcept;
|
||||
|
||||
/**
|
||||
* Whether the object supported this interface.
|
||||
@@ -58,9 +58,9 @@ class YaUnitData : public Steinberg::Vst::IUnitData {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaUnitData(const ConstructArgs&& args);
|
||||
YaUnitData(const ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const { return arguments.supported; }
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
/**
|
||||
* Message to pass through a call to `IUnitData::unitDataSupported(unit_id)`
|
||||
|
||||
@@ -16,11 +16,11 @@
|
||||
|
||||
#include "unit-info.h"
|
||||
|
||||
YaUnitInfo::ConstructArgs::ConstructArgs() {}
|
||||
YaUnitInfo::ConstructArgs::ConstructArgs() noexcept {}
|
||||
|
||||
YaUnitInfo::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object)
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||
: supported(Steinberg::FUnknownPtr<Steinberg::Vst::IUnitInfo>(object)) {}
|
||||
|
||||
YaUnitInfo::YaUnitInfo(const ConstructArgs&& args)
|
||||
YaUnitInfo::YaUnitInfo(const ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -35,13 +35,13 @@ class YaUnitInfo : public Steinberg::Vst::IUnitInfo {
|
||||
* These are the arguments for creating a `YaUnitInfo`.
|
||||
*/
|
||||
struct ConstructArgs {
|
||||
ConstructArgs();
|
||||
ConstructArgs() noexcept;
|
||||
|
||||
/**
|
||||
* Check whether an existing implementation implements `IUnitInfo` and
|
||||
* read arguments from it.
|
||||
*/
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object);
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object) noexcept;
|
||||
|
||||
/**
|
||||
* Whether the object supported this interface.
|
||||
@@ -58,9 +58,9 @@ class YaUnitInfo : public Steinberg::Vst::IUnitInfo {
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaUnitInfo(const ConstructArgs&& args);
|
||||
YaUnitInfo(const ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const { return arguments.supported; }
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
/**
|
||||
* Message to pass through a call to `IUnitInfo::getUnitCount()` to the Wine
|
||||
|
||||
@@ -16,14 +16,14 @@
|
||||
|
||||
#include "xml-representation-controller.h"
|
||||
|
||||
YaXmlRepresentationController::ConstructArgs::ConstructArgs() {}
|
||||
YaXmlRepresentationController::ConstructArgs::ConstructArgs() noexcept {}
|
||||
|
||||
YaXmlRepresentationController::ConstructArgs::ConstructArgs(
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object)
|
||||
Steinberg::IPtr<Steinberg::FUnknown> object) noexcept
|
||||
: supported(
|
||||
Steinberg::FUnknownPtr<Steinberg::Vst::IXmlRepresentationController>(
|
||||
object)) {}
|
||||
|
||||
YaXmlRepresentationController::YaXmlRepresentationController(
|
||||
const ConstructArgs&& args)
|
||||
const ConstructArgs&& args) noexcept
|
||||
: arguments(std::move(args)) {}
|
||||
|
||||
@@ -42,13 +42,13 @@ class YaXmlRepresentationController
|
||||
* These are the arguments for creating a `YaXmlRepresentationController`.
|
||||
*/
|
||||
struct ConstructArgs {
|
||||
ConstructArgs();
|
||||
ConstructArgs() noexcept;
|
||||
|
||||
/**
|
||||
* Check whether an existing implementation implements
|
||||
* `IXmlRepresentationController` and read arguments from it.
|
||||
*/
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object);
|
||||
ConstructArgs(Steinberg::IPtr<Steinberg::FUnknown> object) noexcept;
|
||||
|
||||
/**
|
||||
* Whether the object supported this interface.
|
||||
@@ -65,9 +65,9 @@ class YaXmlRepresentationController
|
||||
* Instantiate this instance with arguments read from another interface
|
||||
* implementation.
|
||||
*/
|
||||
YaXmlRepresentationController(const ConstructArgs&& args);
|
||||
YaXmlRepresentationController(const ConstructArgs&& args) noexcept;
|
||||
|
||||
inline bool supported() const { return arguments.supported; }
|
||||
inline bool supported() const noexcept { return arguments.supported; }
|
||||
|
||||
/**
|
||||
* The response code and written state for a call to
|
||||
|
||||
Reference in New Issue
Block a user