shift renderer prototype to new node structure

This commit is contained in:
itsmattkc
2019-08-28 02:40:44 +10:00
parent 5afe7d523c
commit 7dc2290496
26 changed files with 264 additions and 395 deletions
+21
View File
@@ -21,6 +21,7 @@
#ifndef NODEPARAM_H
#define NODEPARAM_H
#include <QMutex>
#include <QObject>
#include <QVariant>
#include <QVector>
@@ -202,6 +203,11 @@ public:
*/
static QString GetDefaultDataTypeName(const DataType &type);
/**
* @brief Clear the cached value
*/
void ClearCachedValue();
signals:
/**
* @brief Signal emitted when an edge is added to this parameter
@@ -225,6 +231,21 @@ protected:
*/
QVector<NodeEdgePtr> edges_;
/**
* @brief Used for thread safety
*/
QMutex lock_;
/**
* @brief Currently cached value
*/
QVariant value_;
/**
* @brief Last timecode that a value was requested with
*/
rational time_;
private:
/**
* @brief Internal name string