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 loadPreset(QObject* process, QString json);
111 QString savePreset(QObject* process);
114 void setName(QObject* sel, QString new_name);
117 QObject* createBox(QObject* obj, QString startTime, QString duration,
double y);
118 W_SLOT(createBox, (QObject*, QString, QString,
double))
121 createBox(QObject* obj,
double startTimeFlicks,
double durationFlicks,
double y);
122 W_SLOT(createBox, (QObject*,
double,
double,
double))
124 QObject* createState(QObject* ev,
double y);
127 QObject* createIntervalAfter(QObject* obj, QString duration,
double y);
128 W_SLOT(createIntervalAfter)
130 QObject* createIntervalBetween(QObject* startState, QObject* endState);
131 W_SLOT(createIntervalBetween)
133 void setIntervalDuration(QObject*
object,
TimeVal flicks);
134 W_SLOT(setIntervalDuration)
135 void setIntervalMinDuration(QObject*
object,
TimeVal flicks);
136 W_SLOT(setIntervalMinDuration)
137 void setIntervalMaxDuration(QObject*
object,
TimeVal flicks);
138 W_SLOT(setIntervalMaxDuration)
139 void setIntervalMaxInfinite(QObject*
object,
bool);
140 W_SLOT(setIntervalMaxInfinite)
141 void setIntervalSpeed(QObject*
object,
double);
142 W_SLOT(setIntervalSpeed)
144 QObject* port(QObject* obj, QString name);
147 QObject* inlet(QObject* obj,
int index);
150 int inlets(QObject* obj);
153 QObject* outlet(QObject* obj,
int index);
156 int outlets(QObject* obj);
159 QObject* createCable(QObject* outlet, QObject* inlet);
162 void setAddress(QObject* obj, QString addr);
165 void setValue(QObject* obj,
double value);
166 W_SLOT(setValue, (QObject*,
double))
168 void setValue(QObject* obj, QVector2D value);
169 W_SLOT(setValue, (QObject*, QVector2D))
171 void setValue(QObject* obj, QVector3D value);
172 W_SLOT(setValue, (QObject*, QVector3D))
174 void setValue(QObject* obj, QVector4D value);
175 W_SLOT(setValue, (QObject*, QVector4D))
177 void setValue(QObject* obj, QString value);
178 W_SLOT(setValue, (QObject*, QString))
180 void setValue(QObject* obj,
bool value);
181 W_SLOT(setValue, (QObject*,
bool))
183 void setValue(QObject* obj,
int value);
184 W_SLOT(setValue, (QObject*,
int))
186 void setValue(QObject* obj, QList<QString> value);
187 W_SLOT(setValue, (QObject*, QList<QString>))
189 void setValue(QObject* obj, QList<qreal> value);
190 W_SLOT(setValue, (QObject*, QList<qreal>))
192 void setValue(QObject* obj, QList<QVariant> value);
193 W_SLOT(setValue, (QObject*, QList<QVariant>))
195 QString valueType(QObject* obj);
198 double min(QObject* obj);
201 double max(QObject* obj);
204 QVector<QVariant> enumValues(QObject* obj);
207 QObject* metadata(QObject* obj)
const noexcept;
210 QObject* startState(QObject* obj);
213 QObject* startEvent(QObject* obj);
216 QObject* startSync(QObject* obj);
219 QObject* endState(QObject* obj);
222 QObject* endEvent(QObject* obj);
225 QObject* endSync(QObject* obj);
228 void remove(QObject* obj);
231 void setCurvePoints(QObject* process, QVector<QVariantList> points);
232 W_SLOT(setCurvePoints)
234 void setSteps(QObject* process, QVector<double> points);
237 QVariantList messages(QObject* state);
240 void setMessages(QObject* state, QVariantList msgs);
243 void replaceAddress(QObjectList objects, QString before, QString after);
244 W_SLOT(replaceAddress)
246 void automate(QObject* interval, QString addr);
247 W_SLOT(automate, (QObject*, QString))
249 void automate(QObject* interval, QObject* port);
250 W_SLOT(automate, (QObject*, QObject*))
267 void load(QString path);
273 void saveAs(QString path);
279 QObject* find(QString p);
282 QObject* findByLabel(QString p);
288 QObject* rootInterval();
291 QObject* documentPlugin(QString key);
292 W_SLOT(documentPlugin)
300 void play(QObject* obj);
301 W_SLOT(play, (QObject*))
315 void scrub(
double z);
318 QObject* transport();
319 W_INVOKABLE(transport)
323 QString readFile(QString path);
326 QString relativizeFilePath(QString path);
327 W_SLOT(relativizeFilePath)
329 QString locateFilePath(QString path);
330 W_SLOT(locateFilePath)
335 QObject* selectedObject();
336 W_SLOT(selectedObject)
338 QVariantList selectedObjects();
339 W_SLOT(selectedObjects)
341 void zoom(
double zx,
double zy);
342 W_SLOT(zoom, (
double,
double));
344 void scroll(
double zx,
double zy);
345 W_SLOT(scroll, (
double,
double));
348 QVariant prompt(QVariant v);
354 QVariantMap availableProcesses()
const noexcept;
355 W_SLOT(availableProcesses)
356 QVariant availableProcessesAndPresets()
const noexcept;
357 W_SLOT(availableProcessesAndPresets)
358 QVariant availableProtocols()
const noexcept;
359 W_SLOT(availableProtocols)
361 QByteArray serializeAsJson()
noexcept;
362 W_SLOT(serializeAsJson)