use strings to connect nodes

This makes the node system somewhat more high-level with the intent of making
working with them far more flexible and stable. By making the architecture more
abstracted, it becomes far less rigid which should allow us to do even more
with it and make it much less crash prone.
This commit is contained in:
itsmattkc
2021-02-09 15:48:37 +11:00
parent d1a3e22eaa
commit 81c1922911
138 changed files with 4487 additions and 3913 deletions
+6 -3
View File
@@ -36,13 +36,16 @@ class NodeTraverser : public CancelableObject
public:
NodeTraverser() = default;
NodeValueTable GenerateTable(const Node *n, const TimeRange &range);
NodeValueTable GenerateTable(const Node *n, const rational &in, const rational& out);
NodeValueTable GenerateTable(const Node *n, const QString &output, const TimeRange &range);
NodeValueTable GenerateTable(const NodeOutput& output, const TimeRange &range)
{
return GenerateTable(output.node(), output.output(), range);
}
NodeValueDatabase GenerateDatabase(const Node *node, const TimeRange &range);
protected:
NodeValueTable ProcessInput(NodeInput *input, const TimeRange &range);
NodeValueTable ProcessInput(const Node *node, const QString &input, const TimeRange &range);
virtual NodeValueTable GenerateBlockTable(const Track *track, const TimeRange& range);