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