Updated application to code to accomodate changes to TDF format (new pad elements and changes to variant elements)
This commit is contained in:
@@ -4,16 +4,19 @@
|
||||
#include <string>
|
||||
#include <optional>
|
||||
|
||||
#include "TargetPadDescriptor.hpp"
|
||||
|
||||
namespace Targets
|
||||
{
|
||||
struct TargetPeripheralSignalDescriptor
|
||||
{
|
||||
public:
|
||||
std::string padName;
|
||||
const TargetPadId padId;
|
||||
const std::string padKey;
|
||||
std::optional<std::uint16_t> index;
|
||||
|
||||
TargetPeripheralSignalDescriptor(
|
||||
const std::string& padName,
|
||||
const std::string& padKey,
|
||||
const std::optional<std::uint16_t>& index
|
||||
);
|
||||
|
||||
@@ -21,7 +24,6 @@ namespace Targets
|
||||
TargetPeripheralSignalDescriptor& operator = (const TargetPeripheralSignalDescriptor& other) = delete;
|
||||
|
||||
TargetPeripheralSignalDescriptor(TargetPeripheralSignalDescriptor&& other) noexcept = default;
|
||||
TargetPeripheralSignalDescriptor& operator = (TargetPeripheralSignalDescriptor&& other) = default;
|
||||
|
||||
[[nodiscard]] TargetPeripheralSignalDescriptor clone() const;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user