MIDI2LR 6.1.0.0
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

◆ 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 }

Friends And Related Symbol Documentation

◆ operator!=

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

◆ 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 }

◆ operator<=

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

◆ 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 }

◆ operator>

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

◆ operator>=

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

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: