Ardour  9.0-pre0-350-gf17a656217
luasignal_syms.inc.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2016-2017 Paul Davis <paul@linuxaudiosystems.com>
3  * Copyright (C) 2016-2018 Robin Gareus <robin@gareus.org>
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License along
16  * with this program; if not, write to the Free Software Foundation, Inc.,
17  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18  */
19 
20 // editor
21 #if 0
22 STATIC(SessionLoad, &)
23 STATIC(SessionClose, &)
24 #endif
25 STATIC(ConfigChanged, &ARDOUR::Config->ParameterChanged)
26 
27 // engine instance
28 ENGINE(EngineRunning, Running)
29 ENGINE(EngineStopped, Stopped)
30 ENGINE(EngineHalted, Halted)
31 ENGINE(EngineDeviceListChanged, DeviceListChanged)
32 ENGINE(BufferSizeChanged, BufferSizeChanged)
33 ENGINE(SampleRateChanged, SampleRateChanged)
34 
35 // session static
36 STATIC(FeedbackDetected, &ARDOUR::Session::FeedbackDetected)
37 STATIC(SuccessfulGraphSort, &ARDOUR::Session::SuccessfulGraphSort)
38 STATIC(StartTimeChanged, &ARDOUR::Session::StartTimeChanged)
41 
42 // stripable static globals
43 STATIC(Change, &PresentationInfo::Change)
44 
45 // session specific (re-subscribe when session changes)
46 SESSION(SessionConfigChanged, config.ParameterChanged)
47 SESSION(TransportStateChange, TransportStateChange)
48 SESSION(DirtyChanged, DirtyChanged)
49 SESSION(StateSaved, StateSaved)
50 SESSION(Xrun, Xrun)
51 SESSION(TransportLooped, TransportLooped)
52 SESSION(SoloActive, SoloActive)
53 SESSION(SoloChanged, SoloChanged)
54 SESSION(IsolatedChanged, IsolatedChanged)
55 SESSION(MonitorChanged, MonitorChanged)
56 SESSION(RecordStateChanged, RecordStateChanged)
57 SESSION(RecordArmStateChanged, RecordArmStateChanged)
58 SESSION(AudioLoopLocationChanged, auto_loop_location_changed)
59 SESSION(AudioPunchLocationChanged, auto_punch_location_changed)
60 SESSION(LocationsModified, locations_modified)
61 SESSION(AuditionActive, AuditionActive)
62 SESSION(BundleAddedOrRemoved, BundleAddedOrRemoved)
63 SESSION(PositionChanged, PositionChanged)
64 SESSION(Located, Located)
65 SESSION(RoutesReconnected, session_routes_reconnected)
66 SESSION(RouteAdded, RouteAdded)
67 SESSION(RouteGroupPropertyChanged, RouteGroupPropertyChanged)
68 SESSION(RouteAddedToRouteGroup, RouteAddedToRouteGroup)
69 SESSION(RouteRemovedFromRouteGroup, RouteRemovedFromRouteGroup)
70 SESSION(StepEditStatusChange, StepEditStatusChange)
71 SESSION(RouteGroupAdded, route_group_added)
72 SESSION(RouteGroupRemoved, route_group_removed)
73 SESSION(RouteGroupsReordered, route_groups_reordered)
74 
75 // plugin manager instance
76 STATIC(PluginListChanged, &(PluginManager::instance().PluginListChanged))
77 STATIC(PluginStatusChanged, &(PluginManager::instance().PluginStatusChanged))
78 //STATIC(PluginStatusesChanged, &(PluginManager::instance().PluginTagsChanged))
79 
80 // Diskstream static global
81 STATIC(DiskOverrun, &ARDOUR::DiskWriter::Overrun)
82 STATIC(DiskUnderrun, &ARDOUR::DiskReader::Underrun)
83 
84 // Region static
85 STATIC(RegionsPropertyChanged, &ARDOUR::Region::RegionsPropertyChanged)
86 
87 // Timers
88 STATIC(LuaTimerS, &LuaInstance::LuaTimerS)
89 STATIC(LuaTimerDS, &LuaInstance::LuaTimerDS)
90 
91 // Session load
92 STATIC(SetSession, &LuaInstance::SetSession)
93 
94 // Editor Selection Changed
95 STATIC(SelectionChanged, &LuaInstance::SelectionChanged)
96 
97 // TODO per track/route signals,
98 // TODO per plugin actions / controllables
99 // TODO per region actions
100 //SESSIONOBJECT(PropertyChanged, &ARDOUR::Stateful::PropertyChanged, 1)
101 
102 // TODO any location action
103 
104 // /////////////////////////////////////////////////////////////////////
105 // NOTE: WHEN ADDING/REMOVING SIGNALS, UPDATE libs/ardour/luabindings.cc
106 // TO MATCH THE TOTAL NUMBER OF SIGNALS.
107 //
108 // CLASSKEYS(std::bitset<50ul>); // LuaSignal::LAST_SIGNAL
109 // /////////////////////////////////////////////////////////////////////
static PBD::Signal< void(samplepos_t)> StartTimeChanged
Definition: session.h:802
static PBD::Signal< void(samplepos_t)> EndTimeChanged
Definition: session.h:803
static PBD::Signal< void()> FeedbackDetected
Definition: session.h:1238
static PBD::Signal< void()> SuccessfulGraphSort
Definition: session.h:1243
static PBD::Signal< void(std::string, std::string, bool, samplepos_t)> Exported
Definition: session.h:860
#define SESSION(name, c)
Definition: luasignal.h:27
#define ENGINE(name, c)
Definition: luasignal.h:25
STATIC(PluginListChanged, &(PluginManager::instance().PluginListChanged)) STATIC(PluginStatusChanged
RCConfiguration * Config
DebugBits PluginManager
Definition: plugin.h:541