33 std::unique_ptr<Macro> m_macro;
37 std::unique_ptr<Macro>& macro;
54 QObject* device(QString name);
57 QString deviceToJson(QString addr);
60 QString deviceToOSCQuery(QString addr);
61 W_SLOT(deviceToOSCQuery)
63 void createDevice(QString name, QString uuid, QJSValue obj);
66 void createOSCDevice(QString name, QString host,
int in,
int out);
67 W_SLOT(createOSCDevice)
69 void connectOSCQueryDevice(QString name, QString host);
70 W_SLOT(connectOSCQueryDevice)
72 void removeDevice(QString name);
75 void createQMLWebSocketDevice(QString name, QString text);
76 W_SLOT(createQMLWebSocketDevice)
78 void createQMLSerialDevice(QString name, QString port, QString text);
79 W_SLOT(createQMLSerialDevice)
82 W_SLOT(enumerateDevices, ())
85 W_SLOT(enumerateDevices, (
const QString&))
88 W_SLOT(listenDevice, (
const QString&))
90 void iterateDevice(
const QString& name,
const QJSValue& op);
91 W_SLOT(iterateDevice, (
const QString&,
const QJSValue&))
93 void setDeviceLearn(
const QString& name,
bool learn);
94 W_SLOT(setDeviceLearn, (
const QString&,
bool))
98 void createAddress(QString addr, QString type);
101 QObject* createProcess(QObject* interval, QString name, QString data);
102 W_SLOT(createProcess)
104 void setName(QObject* sel, QString new_name);
107 QObject* createBox(QObject* obj, QString startTime, QString duration,
double y);
108 W_SLOT(createBox, (QObject*, QString, QString,
double))
111 createBox(QObject* obj,
double startTimeFlicks,
double durationFlicks,
double y);
112 W_SLOT(createBox, (QObject*,
double,
double,
double))
114 QObject* createState(QObject* ev,
double y);
117 QObject* createIntervalAfter(QObject* obj, QString duration,
double y);
118 W_SLOT(createIntervalAfter)
120 QObject* createIntervalBetween(QObject* startState, QObject* endState);
121 W_SLOT(createIntervalBetween)
123 QObject* port(QObject* obj, QString name);
126 QObject* inlet(QObject* obj,
int index);
129 int inlets(QObject* obj);
132 QObject* outlet(QObject* obj,
int index);
135 int outlets(QObject* obj);
138 QObject* createCable(QObject* outlet, QObject* inlet);
141 void setAddress(QObject* obj, QString addr);
144 void setValue(QObject* obj,
double value);
145 W_SLOT(setValue, (QObject*,
double))
147 void setValue(QObject* obj, QVector2D value);
148 W_SLOT(setValue, (QObject*, QVector2D))
150 void setValue(QObject* obj, QVector3D value);
151 W_SLOT(setValue, (QObject*, QVector3D))
153 void setValue(QObject* obj, QVector4D value);
154 W_SLOT(setValue, (QObject*, QVector4D))
156 void setValue(QObject* obj, QString value);
157 W_SLOT(setValue, (QObject*, QString))
159 void setValue(QObject* obj,
bool value);
160 W_SLOT(setValue, (QObject*,
bool))
162 void setValue(QObject* obj,
int value);
163 W_SLOT(setValue, (QObject*,
int))
165 void setValue(QObject* obj, QList<QString> value);
166 W_SLOT(setValue, (QObject*, QList<QString>))
168 void setValue(QObject* obj, QList<qreal> value);
169 W_SLOT(setValue, (QObject*, QList<qreal>))
171 void setValue(QObject* obj, QList<QVariant> value);
172 W_SLOT(setValue, (QObject*, QList<QVariant>))
174 QString valueType(QObject* obj);
177 double min(QObject* obj);
180 double max(QObject* obj);
183 QVector<QVariant> enumValues(QObject* obj);
186 QObject* metadata(QObject* obj)
const noexcept;
189 QObject* startState(QObject* obj);
192 QObject* startEvent(QObject* obj);
195 QObject* startSync(QObject* obj);
198 QObject* endState(QObject* obj);
201 QObject* endEvent(QObject* obj);
204 QObject* endSync(QObject* obj);
207 void remove(QObject* obj);
210 void setCurvePoints(QObject* process, QVector<QVariantList> points);
211 W_SLOT(setCurvePoints)
213 void setSteps(QObject* process, QVector<double> points);
216 QVariantList messages(QObject* state);
219 void setMessages(QObject* state, QVariantList msgs);
222 void replaceAddress(QObjectList objects, QString before, QString after);
223 W_SLOT(replaceAddress)
225 void automate(QObject* interval, QString addr);
226 W_SLOT(automate, (QObject*, QString))
228 void automate(QObject* interval, QObject* port);
229 W_SLOT(automate, (QObject*, QObject*))
246 void load(QString path);
252 void saveAs(QString path);
258 QObject* find(QString p);
261 QObject* findByLabel(QString p);
267 QObject* rootInterval();
270 QObject* documentPlugin(QString key);
271 W_SLOT(documentPlugin)
279 void play(QObject* obj);
280 W_SLOT(play, (QObject*))
291 void scrub(
double z);
296 QString readFile(QString path);
302 QObject* selectedObject();
303 W_SLOT(selectedObject)
305 QVariantList selectedObjects();
306 W_SLOT(selectedObjects)
308 void zoom(
double zx,
double zy);
309 W_SLOT(zoom, (
double,
double));
311 void scroll(
double zx,
double zy);
312 W_SLOT(scroll, (
double,
double));
315 QVariant prompt(QVariant v);
321 QVariant availableProcesses()
const noexcept;
322 W_SLOT(availableProcesses)
323 QVariant availableProcessesAndPresets()
const noexcept;
324 W_SLOT(availableProcessesAndPresets)
325 QVariant availableProtocols()
const noexcept;
326 W_SLOT(availableProtocols)
328 QByteArray serializeAsJson()
noexcept;
329 W_SLOT(serializeAsJson)