Sygaldry
Toggle main menu visibility
Main Page
Related Pages
Topics
Concepts
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
c
d
e
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Functions
a
c
d
e
i
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Variables
Typedefs
Files
File List
▼
Sygaldry
►
Quick Motivation Summary
Quick Start
►
Project Motivation
►
Library Overview
Licenses
►
Design Concepts
►
Developer Environment Setup
►
Making a New Instrument
►
Making a New Component
►
Contributors' Guide
►
Implementation Documentation
►
Sygaldry Authors Directory
►
Convenience Scripts
Literate Programming with Doxygen
Literate Programming with lili
Bibliography
►
Topics
►
Concepts
►
Classes
▼
Files
▼
File List
►
sygaldry
•
All
Classes
Functions
Variables
Typedefs
Enumerations
Modules
Pages
Concepts
Loading...
Searching...
No Matches
list.hpp
1
#pragma once
2
/*
3
Copyright 2023 Travis J. West, https://traviswest.ca, Input Devices and Music Interaction Laboratory
4
(IDMIL), Centre for Interdisciplinary Research in Music Media and Technology
5
(CIRMMT), McGill University, Montréal, Canada, and Univ. Lille, Inria, CNRS,
6
Centrale Lille, UMR 9189 CRIStAL, F-59000 Lille, France
7
8
SPDX-License-Identifier: MIT
9
*/
10
11
#include <type_traits>
12
#include "sygah-consteval.hpp"
13
#include "sygac-components.hpp"
14
#include "sygbp-osc_string_constants.hpp"
15
16
namespace
sygaldry {
namespace
sygbp {
19
20
struct
List
21
{
22
static
_consteval
auto
name() {
return
"/list"
; }
23
static
_consteval
auto
usage() {
return
""
; }
24
static
_consteval
auto
description() {
return
"List the components available to interact with through the CLI"
; }
25
26
int
main(
int
argc,
char
** argv,
auto
& log,
auto
& components)
27
{
28
for_each_component(components, [&](
const
auto
& component)
29
{
30
log.println(osc_path_v< std::remove_cvref_t<
decltype
(component)>
31
, std::remove_cvref_t<
decltype
(components)>
32
>);
33
});
34
return
0;
35
}
36
};
20
struct
List
{
…
};
37
39
} }
sygaldry::sygbp::List
Definition
list.hpp:21
sygaldry
sygbp-cli
commands
list.hpp
Generated by
1.9.8