Ardour
9.0-pre0-1058-ge6e536b923
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerations
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
z
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
a
b
c
d
e
f
g
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
v
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Variables
_
a
b
c
d
g
h
i
k
l
m
n
p
s
v
w
x
z
Typedefs
a
b
c
d
e
f
g
i
k
l
m
n
p
r
s
t
u
v
x
z
Enumerations
b
e
g
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
profile.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2007-2015 Paul Davis <paul@linuxaudiosystems.com>
3
*
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License along
15
* with this program; if not, write to the Free Software Foundation, Inc.,
16
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17
*/
18
19
#pragma once
20
21
#include <boost/dynamic_bitset.hpp>
22
#include <stdint.h>
23
24
#include "
ardour/libardour_visibility.h
"
25
26
namespace
ARDOUR
{
27
28
class
LIBARDOUR_API
RuntimeProfile
{
29
public
:
30
enum
Element
{
31
SmallScreen
,
32
SinglePackage
,
33
Mixbus
,
34
LiveTrax
,
35
LastElement
,
36
};
37
38
RuntimeProfile
() {
bits
.resize (LastElement); }
39
~RuntimeProfile
() {}
40
41
void
set_small_screen
() {
bits
[SmallScreen] =
true
; }
42
bool
get_small_screen
()
const
{
return
bits
[SmallScreen]; }
43
44
bool
get_mixbus
()
const
{
return
bits
[Mixbus]; }
45
void
set_mixbus
() {
bits
[Mixbus] =
true
; }
46
47
bool
get_livetrax
()
const
{
return
bits
[LiveTrax]; }
48
void
set_livetrax
() {
bits
[LiveTrax] =
true
; }
49
50
void
set_single_package
() {
bits
[SinglePackage] =
true
; }
51
bool
get_single_package
()
const
{
return
bits
[SinglePackage]; }
52
53
private
:
54
boost::dynamic_bitset<uint64_t>
bits
;
55
56
};
57
58
LIBARDOUR_API
extern
RuntimeProfile
*
Profile
;
59
60
};
// namespace ARDOUR
61
ARDOUR::RuntimeProfile
Definition:
profile.h:28
ARDOUR::RuntimeProfile::get_small_screen
bool get_small_screen() const
Definition:
profile.h:42
ARDOUR::RuntimeProfile::bits
boost::dynamic_bitset< uint64_t > bits
Definition:
profile.h:54
ARDOUR::RuntimeProfile::get_single_package
bool get_single_package() const
Definition:
profile.h:51
ARDOUR::RuntimeProfile::get_livetrax
bool get_livetrax() const
Definition:
profile.h:47
ARDOUR::RuntimeProfile::RuntimeProfile
RuntimeProfile()
Definition:
profile.h:38
ARDOUR::RuntimeProfile::set_mixbus
void set_mixbus()
Definition:
profile.h:45
ARDOUR::RuntimeProfile::get_mixbus
bool get_mixbus() const
Definition:
profile.h:44
ARDOUR::RuntimeProfile::~RuntimeProfile
~RuntimeProfile()
Definition:
profile.h:39
ARDOUR::RuntimeProfile::set_small_screen
void set_small_screen()
Definition:
profile.h:41
ARDOUR::RuntimeProfile::Element
Element
Definition:
profile.h:30
ARDOUR::RuntimeProfile::SmallScreen
@ SmallScreen
Definition:
profile.h:31
ARDOUR::RuntimeProfile::LiveTrax
@ LiveTrax
Definition:
profile.h:34
ARDOUR::RuntimeProfile::LastElement
@ LastElement
Definition:
profile.h:35
ARDOUR::RuntimeProfile::SinglePackage
@ SinglePackage
Definition:
profile.h:32
ARDOUR::RuntimeProfile::Mixbus
@ Mixbus
Definition:
profile.h:33
ARDOUR::RuntimeProfile::set_livetrax
void set_livetrax()
Definition:
profile.h:48
ARDOUR::RuntimeProfile::set_single_package
void set_single_package()
Definition:
profile.h:50
libardour_visibility.h
LIBARDOUR_API
#define LIBARDOUR_API
Definition:
libardour_visibility.h:38
ARDOUR
Definition:
analysis_window.h:44
ARDOUR::Profile
RuntimeProfile * Profile
bits
const guchar * bits
Definition:
xcursors.h:1
libs
ardour
ardour
profile.h
Generated on Sat Apr 5 2025 04:18:55 for Ardour by
1.9.1