removed data storage from input/output parameters
These will be held in the renderer structure from now on, not in the nodes themselves. The nodes will serve more as a blueprint.
This commit is contained in:
@@ -40,18 +40,7 @@ public:
|
||||
*/
|
||||
virtual Type type() override;
|
||||
|
||||
QVariant get_realtime_value();
|
||||
|
||||
bool has_cached_value(const TimeRange& time);
|
||||
QVariant get_cached_value(const TimeRange& time);
|
||||
void cache_value(const TimeRange& time, const QVariant& value);
|
||||
void drop_cached_values();
|
||||
void drop_cached_values_overlapping(const TimeRange& time);
|
||||
|
||||
private:
|
||||
QHash<TimeRange, QVariant> cached_values_;
|
||||
|
||||
QMutex cache_lock_;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user