35 std::unique_ptr<Macro> m_macro;
39 std::unique_ptr<Macro>& macro;
59 QObject* device(QString name);
62 QString deviceToJson(QString addr);
65 QString deviceToOSCQuery(QString addr);
66 W_SLOT(deviceToOSCQuery)
68 void createDevice(QString name, QString uuid, QJSValue obj);
71 void createOSCDevice(QString name, QString host,
int in,
int out);
72 W_SLOT(createOSCDevice)
74 void connectOSCQueryDevice(QString name, QString host);
75 W_SLOT(connectOSCQueryDevice)
77 void removeDevice(QString name);
80 void createQMLWebSocketDevice(QString name, QString text);
81 W_SLOT(createQMLWebSocketDevice)
83 void createQMLSerialDevice(QString name, QString port, QString text);
84 W_SLOT(createQMLSerialDevice)
87 W_SLOT(enumerateDevices, ())
90 W_SLOT(enumerateDevices, (
const QString&))
93 W_SLOT(listenDevice, (
const QString&))
95 void iterateDevice(
const QString& name,
const QJSValue& op);
96 W_SLOT(iterateDevice, (
const QString&,
const QJSValue&))
98 void setDeviceLearn(
const QString& name,
bool learn);
99 W_SLOT(setDeviceLearn, (
const QString&,
bool))
103 void createAddress(QString addr, QString type);
104 W_SLOT(createAddress)
106 QObject* createProcess(QObject* interval, QString name, QString data);
107 W_SLOT(createProcess)
109 void setName(QObject* sel, QString new_name);
112 QObject* createBox(QObject* obj, QString startTime, QString duration,
double y);
113 W_SLOT(createBox, (QObject*, QString, QString,
double))
116 createBox(QObject* obj,
double startTimeFlicks,
double durationFlicks,
double y);
117 W_SLOT(createBox, (QObject*,
double,
double,
double))
119 QObject* createState(QObject* ev,
double y);
122 QObject* createIntervalAfter(QObject* obj, QString duration,
double y);
123 W_SLOT(createIntervalAfter)
125 QObject* createIntervalBetween(QObject* startState, QObject* endState);
126 W_SLOT(createIntervalBetween)
128 void setIntervalDuration(QObject*
object,
TimeVal flicks);
129 W_SLOT(setIntervalDuration)
130 void setIntervalMinDuration(QObject*
object,
TimeVal flicks);
131 W_SLOT(setIntervalMinDuration)
132 void setIntervalMaxDuration(QObject*
object,
TimeVal flicks);
133 W_SLOT(setIntervalMaxDuration)
134 void setIntervalMaxInfinite(QObject*
object,
bool);
135 W_SLOT(setIntervalMaxInfinite)
136 void setIntervalSpeed(QObject*
object,
double);
137 W_SLOT(setIntervalSpeed)
139 QObject* port(QObject* obj, QString name);
142 QObject* inlet(QObject* obj,
int index);
145 int inlets(QObject* obj);
148 QObject* outlet(QObject* obj,
int index);
151 int outlets(QObject* obj);
154 QObject* createCable(QObject* outlet, QObject* inlet);
157 void setAddress(QObject* obj, QString addr);
160 void setValue(QObject* obj,
double value);
161 W_SLOT(setValue, (QObject*,
double))
163 void setValue(QObject* obj, QVector2D value);
164 W_SLOT(setValue, (QObject*, QVector2D))
166 void setValue(QObject* obj, QVector3D value);
167 W_SLOT(setValue, (QObject*, QVector3D))
169 void setValue(QObject* obj, QVector4D value);
170 W_SLOT(setValue, (QObject*, QVector4D))
172 void setValue(QObject* obj, QString value);
173 W_SLOT(setValue, (QObject*, QString))
175 void setValue(QObject* obj,
bool value);
176 W_SLOT(setValue, (QObject*,
bool))
178 void setValue(QObject* obj,
int value);
179 W_SLOT(setValue, (QObject*,
int))
181 void setValue(QObject* obj, QList<QString> value);
182 W_SLOT(setValue, (QObject*, QList<QString>))
184 void setValue(QObject* obj, QList<qreal> value);
185 W_SLOT(setValue, (QObject*, QList<qreal>))
187 void setValue(QObject* obj, QList<QVariant> value);
188 W_SLOT(setValue, (QObject*, QList<QVariant>))
190 QString valueType(QObject* obj);
193 double min(QObject* obj);
196 double max(QObject* obj);
199 QVector<QVariant> enumValues(QObject* obj);
202 QObject* metadata(QObject* obj)
const noexcept;
205 QObject* startState(QObject* obj);
208 QObject* startEvent(QObject* obj);
211 QObject* startSync(QObject* obj);
214 QObject* endState(QObject* obj);
217 QObject* endEvent(QObject* obj);
220 QObject* endSync(QObject* obj);
223 void remove(QObject* obj);
226 void setCurvePoints(QObject* process, QVector<QVariantList> points);
227 W_SLOT(setCurvePoints)
229 void setSteps(QObject* process, QVector<double> points);
232 QVariantList messages(QObject* state);
235 void setMessages(QObject* state, QVariantList msgs);
238 void replaceAddress(QObjectList objects, QString before, QString after);
239 W_SLOT(replaceAddress)
241 void automate(QObject* interval, QString addr);
242 W_SLOT(automate, (QObject*, QString))
244 void automate(QObject* interval, QObject* port);
245 W_SLOT(automate, (QObject*, QObject*))
262 void load(QString path);
268 void saveAs(QString path);
274 QObject* find(QString p);
277 QObject* findByLabel(QString p);
283 QObject* rootInterval();
286 QObject* documentPlugin(QString key);
287 W_SLOT(documentPlugin)
295 void play(QObject* obj);
296 W_SLOT(play, (QObject*))
310 void scrub(
double z);
313 QObject* transport();
314 W_INVOKABLE(transport)
318 QString readFile(QString path);
324 QObject* selectedObject();
325 W_SLOT(selectedObject)
327 QVariantList selectedObjects();
328 W_SLOT(selectedObjects)
330 void zoom(
double zx,
double zy);
331 W_SLOT(zoom, (
double,
double));
333 void scroll(
double zx,
double zy);
334 W_SLOT(scroll, (
double,
double));
337 QVariant prompt(QVariant v);
343 QVariantMap availableProcesses()
const noexcept;
344 W_SLOT(availableProcesses)
345 QVariant availableProcessesAndPresets()
const noexcept;
346 W_SLOT(availableProcessesAndPresets)
347 QVariant availableProtocols()
const noexcept;
348 W_SLOT(availableProtocols)
350 QByteArray serializeAsJson()
noexcept;
351 W_SLOT(serializeAsJson)