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, QList<QString> value);
160 W_SLOT(setValue, (QObject*, QList<QString>))
162 QString valueType(QObject* obj);
165 double min(QObject* obj);
168 double max(QObject* obj);
171 QVector<QString> enumValues(QObject* obj);
174 QObject* metadata(QObject* obj)
const noexcept;
177 QObject* startState(QObject* obj);
180 QObject* startEvent(QObject* obj);
183 QObject* startSync(QObject* obj);
186 QObject* endState(QObject* obj);
189 QObject* endEvent(QObject* obj);
192 QObject* endSync(QObject* obj);
195 void remove(QObject* obj);
198 void setCurvePoints(QObject* process, QVector<QVariantList> points);
199 W_SLOT(setCurvePoints)
201 void setSteps(QObject* process, QVector<double> points);
204 QVariantList messages(QObject* state);
207 void setMessages(QObject* state, QVariantList msgs);
210 void replaceAddress(QObjectList objects, QString before, QString after);
211 W_SLOT(replaceAddress)
213 void automate(QObject* interval, QString addr);
214 W_SLOT(automate, (QObject*, QString))
216 void automate(QObject* interval, QObject* port);
217 W_SLOT(automate, (QObject*, QObject*))
237 QObject* find(QString p);
240 QObject* findByLabel(QString p);
246 QObject* rootInterval();
255 void play(QObject* obj);
256 W_SLOT(play, (QObject*))
267 void scrub(
double z);
272 QString readFile(QString path);
278 QObject* selectedObject();
279 W_SLOT(selectedObject)
281 QVariantList selectedObjects();
282 W_SLOT(selectedObjects)
284 void zoom(
double zx,
double zy);
285 W_SLOT(zoom, (
double,
double));
287 void scroll(
double zx,
double zy);
288 W_SLOT(scroll, (
double,
double));
291 QVariant prompt(QVariant v);
297 QVariant availableProcesses()
const noexcept;
298 W_SLOT(availableProcesses)
299 QVariant availableProcessesAndPresets()
const noexcept;
300 W_SLOT(availableProcessesAndPresets)
301 QVariant availableProtocols()
const noexcept;
302 W_SLOT(availableProtocols)
304 QByteArray serializeAsJson()
noexcept;
305 W_SLOT(serializeAsJson)