Control Surface
1.1.1
MIDI Control Surface library for Arduino
src
MIDI_Outputs
CCButtonLatching.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
MIDI_Outputs/Abstract/MIDIButtonLatching.hpp
>
4
#include <
MIDI_Senders/DigitalCCSender.hpp
>
5
6
BEGIN_CS_NAMESPACE
7
21
class
CCButtonLatching
:
public
MIDIButtonLatching
<DigitalCCSender> {
22
public
:
37
CCButtonLatching
(
pin_t
pin,
const
MIDICNChannelAddress
&
address
,
38
const
DigitalCCSender
&
sender
= {})
39
:
MIDIButtonLatching
(pin,
address
,
sender
) {}
40
};
41
42
END_CS_NAMESPACE
AH::pin_t
uint16_t pin_t
The type for Arduino pins (and ExtendedIOElement pins).
Definition:
Hardware-Types.hpp:17
DigitalCCSender.hpp
MIDIButtonLatching< DigitalCCSender >::MIDIButtonLatching
MIDIButtonLatching(pin_t pin, const MIDICNChannelAddress &address, const DigitalCCSender &sender)
Construct a new MIDIButtonLatching.
Definition:
Abstract/MIDIButtonLatching.hpp:30
MIDIButtonLatching.hpp
BEGIN_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
Definition:
Settings/NamespaceSettings.hpp:9
MIDIButtonLatching
A class for latching buttons and switches that send MIDI events.
Definition:
Abstract/MIDIButtonLatching.hpp:17
DigitalCCSender
Definition:
DigitalCCSender.hpp:7
END_CS_NAMESPACE
#define END_CS_NAMESPACE
Definition:
Settings/NamespaceSettings.hpp:10
MIDICNChannelAddress
A type-safe utility class for saving a MIDI address consisting of a 7-bit address,...
Definition:
MIDICNChannelAddress.hpp:82
MIDIButtonLatching< DigitalCCSender >::sender
DigitalCCSender sender
Definition:
Abstract/MIDIButtonLatching.hpp:51
CCButtonLatching
A class of MIDIOutputElements that read the input of a latching push button or toggle switch,...
Definition:
CCButtonLatching.hpp:21
MIDIButtonLatching< DigitalCCSender >::address
const MIDICNChannelAddress address
Definition:
Abstract/MIDIButtonLatching.hpp:48
CCButtonLatching::CCButtonLatching
CCButtonLatching(pin_t pin, const MIDICNChannelAddress &address, const DigitalCCSender &sender={})
Create a new CCButtonLatching object with the given pin, the given controller number and channel.
Definition:
CCButtonLatching.hpp:37
Generated by
1.8.16