33 std::unique_ptr<Macro> m_macro;
37 std::unique_ptr<Macro>& macro;
54 QString deviceToJson(QString addr);
57 QString deviceToOSCQuery(QString addr);
58 W_SLOT(deviceToOSCQuery)
60 void createDevice(QString name, QString uuid, QJSValue obj);
63 void createOSCDevice(QString name, QString host,
int in,
int out);
64 W_SLOT(createOSCDevice)
66 void connectOSCQueryDevice(QString name, QString host);
67 W_SLOT(connectOSCQueryDevice)
69 void removeDevice(QString name);
72 void createQMLWebSocketDevice(QString name, QString text);
73 W_SLOT(createQMLWebSocketDevice)
75 void createQMLSerialDevice(QString name, QString port, QString text);
76 W_SLOT(createQMLSerialDevice)
79 W_SLOT(enumerateDevices, ())
82 W_SLOT(enumerateDevices, (
const QString&))
85 W_SLOT(listenDevice, (
const QString&))
87 void iterateDevice(
const QString& name,
const QJSValue& op);
88 W_SLOT(iterateDevice, (
const QString&,
const QJSValue&))
90 void setDeviceLearn(
const QString& name,
bool learn);
91 W_SLOT(setDeviceLearn, (
const QString&,
bool))
95 void createAddress(QString addr, QString type);
98 QObject* createProcess(QObject* interval, QString name, QString data);
101 void setName(QObject* sel, QString new_name);
104 QObject* createBox(QObject* obj, QString startTime, QString duration,
double y);
105 W_SLOT(createBox, (QObject*, QString, QString,
double))
108 createBox(QObject* obj,
double startTimeFlicks,
double durationFlicks,
double y);
109 W_SLOT(createBox, (QObject*,
double,
double,
double))
111 QObject* createState(QObject* ev,
double y);
114 QObject* createIntervalAfter(QObject* obj, QString duration,
double y);
115 W_SLOT(createIntervalAfter)
117 QObject* createIntervalBetween(QObject* startState, QObject* endState);
118 W_SLOT(createIntervalBetween)
120 QObject* port(QObject* obj, QString name);
123 QObject* inlet(QObject* obj,
int index);
126 int inlets(QObject* obj);
129 QObject* outlet(QObject* obj,
int index);
132 int outlets(QObject* obj);
135 QObject* createCable(QObject* outlet, QObject* inlet);
138 void setAddress(QObject* obj, QString addr);
141 void setValue(QObject* obj,
double value);
142 W_SLOT(setValue, (QObject*,
double))
144 void setValue(QObject* obj, QVector2D value);
145 W_SLOT(setValue, (QObject*, QVector2D))
147 void setValue(QObject* obj, QVector3D value);
148 W_SLOT(setValue, (QObject*, QVector3D))
150 void setValue(QObject* obj, QVector4D value);
151 W_SLOT(setValue, (QObject*, QVector4D))
153 void setValue(QObject* obj, QString value);
154 W_SLOT(setValue, (QObject*, QString))
156 void setValue(QObject* obj,
bool value);
157 W_SLOT(setValue, (QObject*,
bool))
159 void setValue(QObject* obj,
int value);
160 W_SLOT(setValue, (QObject*,
int))
162 void setValue(QObject* obj, QList<QString> value);
163 W_SLOT(setValue, (QObject*, QList<QString>))
165 void setValue(QObject* obj, QList<qreal> value);
166 W_SLOT(setValue, (QObject*, QList<qreal>))
168 void setValue(QObject* obj, QList<QVariant> value);
169 W_SLOT(setValue, (QObject*, QList<QVariant>))
171 QString valueType(QObject* obj);
174 double min(QObject* obj);
177 double max(QObject* obj);
180 QVector<QVariant> enumValues(QObject* obj);
183 QObject* metadata(QObject* obj)
const noexcept;
186 QObject* startState(QObject* obj);
189 QObject* startEvent(QObject* obj);
192 QObject* startSync(QObject* obj);
195 QObject* endState(QObject* obj);
198 QObject* endEvent(QObject* obj);
201 QObject* endSync(QObject* obj);
204 void remove(QObject* obj);
207 void setCurvePoints(QObject* process, QVector<QVariantList> points);
208 W_SLOT(setCurvePoints)
210 void setSteps(QObject* process, QVector<double> points);
213 QVariantList messages(QObject* state);
216 void setMessages(QObject* state, QVariantList msgs);
219 void replaceAddress(QObjectList objects, QString before, QString after);
220 W_SLOT(replaceAddress)
222 void automate(QObject* interval, QString addr);
223 W_SLOT(automate, (QObject*, QString))
225 void automate(QObject* interval, QObject* port);
226 W_SLOT(automate, (QObject*, QObject*))
246 QObject* find(QString p);
249 QObject* findByLabel(QString p);
255 QObject* rootInterval();
264 void play(QObject* obj);
265 W_SLOT(play, (QObject*))
276 void scrub(
double z);
281 QString readFile(QString path);
287 QObject* selectedObject();
288 W_SLOT(selectedObject)
290 QVariantList selectedObjects();
291 W_SLOT(selectedObjects)
293 void zoom(
double zx,
double zy);
294 W_SLOT(zoom, (
double,
double));
296 void scroll(
double zx,
double zy);
297 W_SLOT(scroll, (
double,
double));
300 QVariant prompt(QVariant v);
306 QVariant availableProcesses()
const noexcept;
307 W_SLOT(availableProcesses)
308 QVariant availableProcessesAndPresets()
const noexcept;
309 W_SLOT(availableProcessesAndPresets)
310 QVariant availableProtocols()
const noexcept;
311 W_SLOT(availableProtocols)
313 QByteArray serializeAsJson()
noexcept;
314 W_SLOT(serializeAsJson)