summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/libs/engine/ClientBroadcaster.cpp9
-rw-r--r--src/libs/engine/DSSINode.cpp16
-rw-r--r--src/libs/engine/DSSINode.h2
-rw-r--r--src/libs/engine/Node.h8
-rw-r--r--src/libs/engine/NodeBase.h2
-rw-r--r--src/libs/engine/Patch.h20
6 files changed, 13 insertions, 44 deletions
diff --git a/src/libs/engine/ClientBroadcaster.cpp b/src/libs/engine/ClientBroadcaster.cpp
index f0205d9f..25a289c8 100644
--- a/src/libs/engine/ClientBroadcaster.cpp
+++ b/src/libs/engine/ClientBroadcaster.cpp
@@ -329,14 +329,5 @@ ClientBroadcaster::send_all_objects()
// (*i).second->send_all_objects();
}
-/*
-void
-ClientBroadcaster::send_node_creation_messages(const Node* const node)
-{
- // This is pretty stupid :/ in and out and back again!
- for (ClientList::const_iterator i = _clients.begin(); i != _clients.end(); ++i)
- node->send_creation_messages((*i).second);
-}
-*/
} // namespace Ingen
diff --git a/src/libs/engine/DSSINode.cpp b/src/libs/engine/DSSINode.cpp
index 58ff050d..ff9fd11a 100644
--- a/src/libs/engine/DSSINode.cpp
+++ b/src/libs/engine/DSSINode.cpp
@@ -327,20 +327,4 @@ DSSINode::get_programs() const
}
-/*
-void
-DSSINode::send_creation_messages(ClientInterface* client) const
-{
- LADSPANode::send_creation_messages(client);
-
- for (map<int, Bank>::const_iterator i = get_programs().begin();
- i != get_programs().end(); ++i) {
-
- for (Bank::const_iterator j = i->second.begin(); j != i->second.end(); ++j)
- client->program_add(path(),
- i->first, j->first, j->second);
- }
-}
-*/
-
} // namespace Ingen
diff --git a/src/libs/engine/DSSINode.h b/src/libs/engine/DSSINode.h
index 9070410e..9be7b761 100644
--- a/src/libs/engine/DSSINode.h
+++ b/src/libs/engine/DSSINode.h
@@ -60,8 +60,6 @@ public:
void set_default_program();
const std::map<int, Bank>& get_programs() const;
- //void send_creation_messages(ClientInterface* client) const;
-
const Plugin* plugin() const { return _plugin; }
void plugin(const Plugin* const pi) { _plugin = pi; }
diff --git a/src/libs/engine/Node.h b/src/libs/engine/Node.h
index 4fe43d03..93f032a8 100644
--- a/src/libs/engine/Node.h
+++ b/src/libs/engine/Node.h
@@ -87,14 +87,14 @@ public:
/** Nodes that are connected to this Node's inputs.
* (This Node depends on them)
*/
- virtual Raul::List<Node*>* providers() = 0;
- virtual void providers(Raul::List<Node*>* l) = 0;
+ virtual Raul::List<Node*>* providers() = 0;
+ virtual void providers(Raul::List<Node*>* l) = 0;
/** Nodes are are connected to this Node's outputs.
* (They depend on this Node)
*/
- virtual Raul::List<Node*>* dependants() = 0;
- virtual void dependants(Raul::List<Node*>* l) = 0;
+ virtual Raul::List<Node*>* dependants() = 0;
+ virtual void dependants(Raul::List<Node*>* l) = 0;
/** The Patch this Node belongs to. */
virtual Patch* parent_patch() const = 0;
diff --git a/src/libs/engine/NodeBase.h b/src/libs/engine/NodeBase.h
index 6ae890f3..a1372f19 100644
--- a/src/libs/engine/NodeBase.h
+++ b/src/libs/engine/NodeBase.h
@@ -64,8 +64,6 @@ public:
void add_to_store(ObjectStore* store);
void remove_from_store();
- //void send_creation_messages(ClientInterface* client) const;
-
SampleRate sample_rate() const { return _srate; }
size_t buffer_size() const { return _buffer_size; }
size_t num_ports() const { return _ports ? _ports->size() : 0; }
diff --git a/src/libs/engine/Patch.h b/src/libs/engine/Patch.h
index 76290c8f..ba74d1af 100644
--- a/src/libs/engine/Patch.h
+++ b/src/libs/engine/Patch.h
@@ -59,8 +59,6 @@ public:
void set_buffer_size(size_t size);
- //void send_creation_messages(ClientInterface* client) const;
-
void add_to_store(ObjectStore* store);
void remove_from_store();
@@ -68,7 +66,7 @@ public:
// Patch specific stuff not inherited from Node
- void add_node(Raul::ListNode<Node*>* tn);
+ void add_node(Raul::ListNode<Node*>* tn);
Raul::ListNode<Node*>* remove_node(const string& name);
Raul::List<Node*>& nodes() { return _nodes; }
@@ -79,19 +77,19 @@ public:
size_t num_ports() const;
- Port* create_port(const string& name, DataType type, size_t buffer_size, bool is_output);
- void add_input(Raul::ListNode<Port*>* port) { _input_ports.push_back(port); } ///< Preprocesser thread
- void add_output(Raul::ListNode<Port*>* port) { _output_ports.push_back(port); } ///< Preprocessor thread
+ Port* create_port(const string& name, DataType type, size_t buffer_size, bool is_output);
+ void add_input(Raul::ListNode<Port*>* port) { _input_ports.push_back(port); } ///< Preprocesser thread
+ void add_output(Raul::ListNode<Port*>* port) { _output_ports.push_back(port); } ///< Preprocessor thread
Raul::ListNode<Port*>* remove_port(const string& name);
- void add_connection(Raul::ListNode<Connection*>* c) { _connections.push_back(c); }
+ void add_connection(Raul::ListNode<Connection*>* c) { _connections.push_back(c); }
Raul::ListNode<Connection*>* remove_connection(const Port* src_port, const Port* dst_port);
- Raul::Array<Node*>* process_order() { return _process_order; }
- void process_order(Raul::Array<Node*>* po) { _process_order = po; }
+ Raul::Array<Node*>* process_order() { return _process_order; }
+ void process_order(Raul::Array<Node*>* po) { _process_order = po; }
- Raul::Array<Port*>* external_ports() { return _ports; }
- void external_ports(Raul::Array<Port*>* pa) { _ports = pa; }
+ Raul::Array<Port*>* external_ports() { return _ports; }
+ void external_ports(Raul::Array<Port*>* pa) { _ports = pa; }
Raul::Array<Node*>* build_process_order() const;
Raul::Array<Port*>* build_ports_array() const;