Ardour  9.7-336-gb784ad01ee
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 ENGINE(PortRegisteredOrUnregistered, PortRegisteredOrUnregistered)
35 ENGINE(PortConnectedOrDisconnected, PortConnectedOrDisconnected)
36 
37 // session static
38 STATIC(FeedbackDetected, &ARDOUR::Session::FeedbackDetected)
39 STATIC(SuccessfulGraphSort, &ARDOUR::Session::SuccessfulGraphSort)
40 STATIC(StartTimeChanged, &ARDOUR::Session::StartTimeChanged)
43 
44 // stripable static globals
45 STATIC(Change, &PresentationInfo::Change)
46 
47 // session specific (re-subscribe when session changes)
48 SESSION(SessionConfigChanged, config.ParameterChanged)
49 SESSION(TransportStateChange, TransportStateChange)
50 SESSION(DirtyChanged, DirtyChanged)
51 SESSION(StateSaved, StateSaved)
52 SESSION(Xrun, Xrun)
53 SESSION(TransportLooped, TransportLooped)
54 SESSION(SoloActive, SoloActive)
55 SESSION(SoloChanged, SoloChanged)
56 SESSION(IsolatedChanged, IsolatedChanged)
57 SESSION(MonitorChanged, MonitorChanged)
58 SESSION(RecordStateChanged, RecordStateChanged)
59 SESSION(RecordArmStateChanged, RecordArmStateChanged)
60 SESSION(AudioLoopLocationChanged, auto_loop_location_changed)
61 SESSION(AudioPunchLocationChanged, auto_punch_location_changed)
62 SESSION(LocationsModified, locations_modified)
63 SESSION(AuditionActive, AuditionActive)
64 SESSION(BundleAddedOrRemoved, BundleAddedOrRemoved)
65 SESSION(PositionChanged, PositionChanged)
66 SESSION(Located, Located)
67 SESSION(RoutesReconnected, session_routes_reconnected)
68 SESSION(RouteAdded, RouteAdded)
69 SESSION(RouteGroupPropertyChanged, RouteGroupPropertyChanged)
70 SESSION(RouteAddedToRouteGroup, RouteAddedToRouteGroup)
71 SESSION(RouteRemovedFromRouteGroup, RouteRemovedFromRouteGroup)
72 SESSION(StepEditStatusChange, StepEditStatusChange)
73 SESSION(RouteGroupAdded, route_group_added)
74 SESSION(RouteGroupRemoved, route_group_removed)
75 SESSION(RouteGroupsReordered, route_groups_reordered)
76 
77 // plugin manager instance
78 STATIC(PluginListChanged, &(PluginManager::instance().PluginListChanged))
79 STATIC(PluginStatusChanged, &(PluginManager::instance().PluginStatusChanged))
80 //STATIC(PluginStatusesChanged, &(PluginManager::instance().PluginTagsChanged))
81 
82 // Diskstream static global
83 STATIC(DiskOverrun, &ARDOUR::DiskWriter::Overrun)
84 STATIC(DiskUnderrun, &ARDOUR::DiskReader::Underrun)
85 
86 // Region static
87 STATIC(RegionsPropertyChanged, &ARDOUR::Region::RegionsPropertyChanged)
88 
89 // Timers
90 STATIC(LuaTimerS, &LuaInstance::LuaTimerS)
91 STATIC(LuaTimerDS, &LuaInstance::LuaTimerDS)
92 
93 // Session load
94 STATIC(SetSession, &LuaInstance::SetSession)
95 
96 // Editor Selection Changed
97 STATIC(SelectionChanged, &LuaInstance::SelectionChanged)
98 
99 // TODO per track/route signals,
100 // TODO per plugin actions / controllables
101 // TODO per region actions
102 //SESSIONOBJECT(PropertyChanged, &ARDOUR::Stateful::PropertyChanged, 1)
103 
104 // TODO any location action
105 
106 // /////////////////////////////////////////////////////////////////////
107 // NOTE: WHEN ADDING/REMOVING SIGNALS, UPDATE libs/ardour/luabindings.cc
108 // TO MATCH THE TOTAL NUMBER OF SIGNALS.
109 //
110 // CLASSKEYS(std::bitset<52ul>); // LuaSignal::LAST_SIGNAL
111 // /////////////////////////////////////////////////////////////////////
static PBD::Signal< void(samplepos_t)> StartTimeChanged
Definition: session.h:872
static PBD::Signal< void(samplepos_t)> EndTimeChanged
Definition: session.h:873
static PBD::Signal< void()> FeedbackDetected
Definition: session.h:1312
static PBD::Signal< void()> SuccessfulGraphSort
Definition: session.h:1317
static PBD::Signal< void(std::string, std::string, bool, samplepos_t)> Exported
Definition: session.h:930
#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:551