Control Surface
main
MIDI Control Surface library for Arduino
Loading...
Searching...
No Matches
src
Def
Channel.cpp
Go to the documentation of this file.
1
#include "
Channel.hpp
"
2
#include <
AH/PrintStream/PrintStream.hpp
>
3
4
BEGIN_CS_NAMESPACE
5
6
Print &
operator<<
(Print &os,
Channel
c) {
7
return
os << F(
"Channel "
) << c.
getOneBased
();
8
}
9
10
END_CS_NAMESPACE
operator<<
Print & operator<<(Print &os, Channel c)
Definition
Channel.cpp:6
Channel.hpp
PrintStream.hpp
END_CS_NAMESPACE
#define END_CS_NAMESPACE
Definition
Settings/NamespaceSettings.hpp:14
BEGIN_CS_NAMESPACE
#define BEGIN_CS_NAMESPACE
Definition
Settings/NamespaceSettings.hpp:11
Channel
A type-safe class for MIDI channels.
Definition
Channel.hpp:13
Channel::getOneBased
constexpr uint8_t getOneBased() const
Get the channel as an integer.
Definition
Channel.hpp:36
Generated by
1.10.0