diff options
author | David Robillard <d@drobilla.net> | 2012-05-15 18:40:44 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-05-15 18:40:44 +0000 |
commit | 49b9a38100f66c66aee6531bf83e0527ea0386b5 (patch) | |
tree | 63ef643aca90f1b9c36e7a58f87a9140424e0ce7 /src/server/ObjectSender.hpp | |
parent | ee62a6fdb161987fe3bddce7b71a49b3fe393bc5 (diff) | |
download | ingen-49b9a38100f66c66aee6531bf83e0527ea0386b5.tar.gz ingen-49b9a38100f66c66aee6531bf83e0527ea0386b5.tar.bz2 ingen-49b9a38100f66c66aee6531bf83e0527ea0386b5.zip |
Remove ClientSender and move code to Get.cpp (the only place it was used).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4421 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/ObjectSender.hpp')
-rw-r--r-- | src/server/ObjectSender.hpp | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/src/server/ObjectSender.hpp b/src/server/ObjectSender.hpp deleted file mode 100644 index 68e26ce6..00000000 --- a/src/server/ObjectSender.hpp +++ /dev/null @@ -1,65 +0,0 @@ -/* - This file is part of Ingen. - Copyright 2007-2012 David Robillard <http://drobilla.net/> - - Ingen is free software: you can redistribute it and/or modify it under the - terms of the GNU Affero General Public License as published by the Free - Software Foundation, either version 3 of the License, or any later version. - - Ingen is distributed in the hope that it will be useful, but WITHOUT ANY - WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - A PARTICULAR PURPOSE. See the GNU Affero General Public License for details. - - You should have received a copy of the GNU Affero General Public License - along with Ingen. If not, see <http://www.gnu.org/licenses/>. -*/ - -#ifndef INGEN_ENGINE_OBJECTSENDER_HPP -#define INGEN_ENGINE_OBJECTSENDER_HPP - -namespace Ingen { - -class Interface; - -namespace Server { - -class GraphObjectImpl; -class PatchImpl; -class NodeImpl; -class PortImpl; -class PluginImpl; - -/** Utility class for sending GraphObjects to clients via Interface. - * - * While Interface is the direct low level message-based interface - * (protocol), this is used from the engine to easily send proper Objects - * with these messages (which is done in a few different parts of the code). - * - * Basically a serialiser, except to calls on Interface rather than - * eg a byte stream. - */ -class ObjectSender { -public: - static void send_object(Interface* client, - const GraphObjectImpl* object, - bool recursive); - -private: - static void send_patch(Interface* client, - const PatchImpl* patch, - bool recursive, - bool bundle = true); - static void send_node(Interface* client, - const NodeImpl* node, - bool recursive, - bool bundle = true); - static void send_port(Interface* client, - const PortImpl* port, - bool bundle = true); -}; - -} // namespace Server -} // namespace Ingen - -#endif // INGEN_ENGINE_OBJECTSENDER_HPP - |