summaryrefslogtreecommitdiffstats
path: root/src/libs/client/NodeModel.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/client/NodeModel.hpp')
-rw-r--r--src/libs/client/NodeModel.hpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/libs/client/NodeModel.hpp b/src/libs/client/NodeModel.hpp
index 1f212b6b..a4bcf4d8 100644
--- a/src/libs/client/NodeModel.hpp
+++ b/src/libs/client/NodeModel.hpp
@@ -48,6 +48,7 @@ class ClientStore;
class NodeModel : public ObjectModel, virtual public Ingen::Shared::Node
{
public:
+ NodeModel(const NodeModel& copy);
virtual ~NodeModel();
SharedPtr<PortModel> get_port(const string& port_name) const;
@@ -83,12 +84,12 @@ protected:
virtual void clear();
- PortModelList _ports; ///< List of ports (not a Table to preserve order)
- string _plugin_uri; ///< Plugin URI (if PluginModel is unknown)
- SharedPtr<PluginModel> _plugin; ///< The plugin this node is an instance of
-
- float* _min_values; ///< The min values for the node ports (only used for LV2 so far)
- float* _max_values; ///< The max values for the node ports (only used for LV2 so far)
+ PortModelList _ports; ///< List of ports (not a Table to preserve order)
+ string _plugin_uri; ///< Plugin URI (if PluginModel is unknown)
+ SharedPtr<PluginModel> _plugin; ///< The plugin this node is an instance of
+ uint32_t _num_values; ///< Size of _min_values and _max_values
+ float* _min_values; ///< Port min values (cached for LV2)
+ float* _max_values; ///< Port max values (cached for LV2)
};