MIDI2LR 6.3.0.1
MIDI2LR is an application that interfaces MIDI controllers with Lightroom 6+/CC Classic. It processes MIDI input into develop parameter updates and photo actions, and sends MIDI output when parameters are changed for motorized feedback (on controllers that have motorized faders). A listing of available LightRoom commands is in the Wiki. Assistance on the code and design is welcome.
Loading...
Searching...
No Matches
Devices::DevInfo Struct Reference

Public Member Functions

 DevInfo (const juce::MidiDeviceInfo &info, juce::String io) noexcept
 DevInfo (juce::String n, juce::String i, juce::String io) noexcept

Public Attributes

juce::String i_o
juce::String identifier
juce::String name

Friends

bool operator!= (const DevInfo &lhs, const DevInfo &rhs) noexcept
bool operator< (const DevInfo &lhs, const DevInfo &rhs) noexcept
bool operator<= (const DevInfo &lhs, const DevInfo &rhs) noexcept
bool operator== (const DevInfo &lhs, const DevInfo &rhs) noexcept
bool operator> (const DevInfo &lhs, const DevInfo &rhs) noexcept
bool operator>= (const DevInfo &lhs, const DevInfo &rhs) noexcept

Constructor & Destructor Documentation

◆ DevInfo() [1/2]

Devices::DevInfo::DevInfo ( const juce::MidiDeviceInfo & info,
juce::String io )
inlinenoexcept
92 : name {info.name}, identifier {info.identifier}, i_o {std::move(io)}
93 {
94 }
juce::String identifier
Definition Devices.h:102
juce::String name
Definition Devices.h:101
juce::String i_o
Definition Devices.h:103

References DevInfo().

Referenced by DevInfo().

◆ DevInfo() [2/2]

Devices::DevInfo::DevInfo ( juce::String n,
juce::String i,
juce::String io )
inlinenoexcept
97 : name {std::move(n)}, identifier {std::move(i)}, i_o {std::move(io)}
98 {
99 }

References DevInfo().

Referenced by DevInfo().

◆ operator!=

bool operator!= ( const DevInfo & lhs,
const DevInfo & rhs )
friend
62 {
63 return !(lhs == rhs);
64 }

References operator==.

◆ operator<

bool operator< ( const DevInfo & lhs,
const DevInfo & rhs )
friend
67 {
68 if (lhs.name < rhs.name) { return true; }
69 if (rhs.name < lhs.name) { return false; }
70 if (lhs.identifier < rhs.identifier) { return true; }
71 if (rhs.identifier < lhs.identifier) { return false; }
72 return lhs.i_o < rhs.i_o;
73 }

Referenced by operator<=, operator>, and operator>=.

◆ operator<=

bool operator<= ( const DevInfo & lhs,
const DevInfo & rhs )
friend
76 {
77 return !(rhs < lhs);
78 }

References operator<.

◆ operator==

bool operator== ( const DevInfo & lhs,
const DevInfo & rhs )
friend
57 {
58 return lhs.name == rhs.name && lhs.identifier == rhs.identifier && lhs.i_o == rhs.i_o;
59 }

Referenced by operator!=.

◆ operator>

bool operator> ( const DevInfo & lhs,
const DevInfo & rhs )
friend
81 {
82 return rhs < lhs;
83 }

References operator<.

◆ operator>=

bool operator>= ( const DevInfo & lhs,
const DevInfo & rhs )
friend
86 {
87 return !(lhs < rhs);
88 }

References operator<.

Member Data Documentation

◆ i_o

juce::String Devices::DevInfo::i_o

◆ identifier

juce::String Devices::DevInfo::identifier

◆ name

juce::String Devices::DevInfo::name

The documentation for this struct was generated from the following file:
  • C:/Users/rsjaf/source/repos/MIDI2LR/src/application/Devices.h