Changeset 3355
- Timestamp:
- 02/02/10 12:04:00 (6 weeks ago)
- Location:
- Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol
- Files:
-
- 4 added
- 5 removed
- 34 modified
-
I_ChildNodeRequest.hpp (modified) (5 diffs)
-
I_ChildNodeResponse.hpp (modified) (5 diffs)
-
I_Message.hpp (modified) (3 diffs)
-
I_NewProjectRequest.hpp (modified) (5 diffs)
-
I_NewProjectResponse.hpp (modified) (5 diffs)
-
I_SubscribeModelRequest.hpp (modified) (5 diffs)
-
I_SubscribeModelResponse.hpp (modified) (5 diffs)
-
I_WorkbenchProtocolManager.hpp (modified) (5 diffs)
-
I_WorkbenchRequest.hpp (deleted)
-
I_WorkbenchResponse.hpp (deleted)
-
WorkbenchProtocol.vcproj (deleted)
-
src/ChildNodeRequest.cpp (modified) (9 diffs)
-
src/ChildNodeRequest.hpp (modified) (7 diffs)
-
src/ChildNodeResponse.cpp (modified) (6 diffs)
-
src/ChildNodeResponse.hpp (modified) (7 diffs)
-
src/I_ChildNodeRequest.cpp (modified) (3 diffs)
-
src/I_ChildNodeResponse.cpp (modified) (3 diffs)
-
src/I_Message.cpp (modified) (3 diffs)
-
src/I_NewProjectRequest.cpp (modified) (3 diffs)
-
src/I_NewProjectResponse.cpp (modified) (3 diffs)
-
src/I_SubscribeModelRequest.cpp (modified) (3 diffs)
-
src/I_SubscribeModelResponse.cpp (modified) (3 diffs)
-
src/I_WorkbenchProtocolManager.cpp (modified) (4 diffs)
-
src/I_WorkbenchRequest.cpp (deleted)
-
src/I_WorkbenchResponse.cpp (deleted)
-
src/Message.cpp (modified) (3 diffs)
-
src/Message.hpp (modified) (6 diffs)
-
src/MessageFactory.cpp (modified) (4 diffs)
-
src/MessageFactory.hpp (modified) (3 diffs)
-
src/NewProjectRequest.cpp (modified) (9 diffs)
-
src/NewProjectRequest.hpp (modified) (7 diffs)
-
src/NewProjectResponse.cpp (modified) (6 diffs)
-
src/NewProjectResponse.hpp (modified) (7 diffs)
-
src/Request.cpp (added)
-
src/Request.hpp (added)
-
src/Response.cpp (added)
-
src/Response.hpp (added)
-
src/SubscribeModelRequest.cpp (modified) (9 diffs)
-
src/SubscribeModelRequest.hpp (modified) (7 diffs)
-
src/SubscribeModelResponse.cpp (modified) (6 diffs)
-
src/SubscribeModelResponse.hpp (modified) (7 diffs)
-
src/WorkbenchProtocolManager.cpp (modified) (6 diffs)
-
src/WorkbenchProtocolManager.hpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/I_ChildNodeRequest.hpp
r3161 r3355 1 1 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 2 // Zen Studio Workbench2 // Zen Community Framework 3 3 // 4 // Copyright (C) 2001 - 20 09Tony Richards4 // Copyright (C) 2001 - 2010 Tony Richards 5 5 // Copyright (C) 2008 - 2009 Matthew Alan Gray 6 // Copyright (C) 2009 Jason Smith7 6 // 8 7 // This software is provided 'as-is', without any express or implied … … 24 23 // Tony Richards trichards@indiezen.com 25 24 // Matthew Alan Gray mgray@indiezen.org 26 // Jason Smith jsmith@airsteampunk.com27 25 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 28 #ifndef ZEN_STUDIO_WORKBENCH_I_CHILD_NODE_REQUEST_HPP_INCLUDED 29 #define ZEN_STUDIO_WORKBENCH_I_CHILD_NODE_REQUEST_HPP_INCLUDED 26 // This is generated by the Zen Protocol Code Generator. Do not modify! 27 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 28 #ifndef ZEN_STUDIO_WORKBENCH_I_CHILDNODE_REQUEST_HPP_INCLUDED 29 #define ZEN_STUDIO_WORKBENCH_I_CHILDNODE_REQUEST_HPP_INCLUDED 30 30 31 #include <Zen/Studio/WorkbenchProtocol/I_WorkbenchRequest.hpp> 31 #include "Configuration.hpp" 32 33 #include <Zen/Core/Memory/managed_ptr.hpp> 34 #include <Zen/Core/Memory/managed_weak_ptr.hpp> 35 36 #include <Zen/Studio/WorkbenchProtocol/I_Message.hpp> 37 38 #include <Zen/Enterprise/AppServer/I_Request.hpp> 39 40 #include <boost/cstdint.hpp> 41 #include <boost/serialization/string.hpp> 42 #include <string> 32 43 33 44 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ … … 38 49 39 50 class WORKBENCHPROTOCOL_DLL_LINK I_ChildNodeRequest 40 : public virtual I_WorkbenchRequest51 : public Zen::Enterprise::AppServer::I_Request 41 52 { 42 53 /// @name Types 43 54 /// @{ 44 55 public: 45 typedef Memory::managed_ptr<Enterprise::AppServer::I_Request> pRequest_type;56 typedef Zen::Memory::managed_ptr<Zen::Enterprise::AppServer::I_Request> pRequest_type; 46 57 /// @} 47 58 48 /// @name I_ChildNodeRequest interface59 /// @name Getter / Setter methods 49 60 /// @{ 50 61 public: 62 /// Get the nodeId element. 63 virtual const boost::uint64_t& getNodeId() const = 0; 64 65 /// Set the nodeId element value. 66 virtual void setNodeId(const boost::uint64_t& _nodeId) = 0; 51 67 /// @} 52 68 … … 60 76 /// @name 'Structors 61 77 /// @{ 78 protected: 62 79 I_ChildNodeRequest(); 63 80 virtual ~I_ChildNodeRequest(); … … 67 84 68 85 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 86 } // namespace Zen 87 } // namespace Studio 69 88 } // namespace Workbench 70 } // namespace Studio 89 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 90 91 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 92 namespace Zen { 71 93 namespace Memory { 72 94 // I_ChildNodeRequest is managed by factory 73 95 template<> 74 struct is_managed_by_factory< Studio::Workbench::I_ChildNodeRequest> : public boost::true_type{};96 struct is_managed_by_factory<Zen::Studio::Workbench::I_ChildNodeRequest> : public boost::true_type{}; 75 97 } // namespace Memory 76 98 } // namespace Zen 77 99 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 78 100 79 #endif // ZEN_STUDIO_WORKBENCH_I_CHILD _NODE_REQUEST_HPP_INCLUDED101 #endif // ZEN_STUDIO_WORKBENCH_I_CHILDNODE_REQUEST_HPP_INCLUDED -
Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/I_ChildNodeResponse.hpp
r3161 r3355 1 1 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 2 // Zen Studio Workbench2 // Zen Community Framework 3 3 // 4 // Copyright (C) 2001 - 20 09Tony Richards4 // Copyright (C) 2001 - 2010 Tony Richards 5 5 // Copyright (C) 2008 - 2009 Matthew Alan Gray 6 // Copyright (C) 2009 Jason Smith7 6 // 8 7 // This software is provided 'as-is', without any express or implied … … 24 23 // Tony Richards trichards@indiezen.com 25 24 // Matthew Alan Gray mgray@indiezen.org 26 // Jason Smith jsmith@airsteampunk.com27 25 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 28 #ifndef ZEN_STUDIO_WORKBENCH_I_CHILD_NODE_RESPONSE_HPP_INCLUDED 29 #define ZEN_STUDIO_WORKBENCH_I_CHILD_NODE_RESPONSE_HPP_INCLUDED 26 // This is generated by the Zen Protocol Code Generator. Do not modify! 27 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 28 #ifndef ZEN_STUDIO_WORKBENCH_I_CHILDNODE_RESPONSE_HPP_INCLUDED 29 #define ZEN_STUDIO_WORKBENCH_I_CHILDNODE_RESPONSE_HPP_INCLUDED 30 30 31 #include <Zen/Studio/WorkbenchProtocol/I_WorkbenchResponse.hpp> 31 #include "Configuration.hpp" 32 33 #include <Zen/Core/Memory/managed_ptr.hpp> 34 #include <Zen/Core/Memory/managed_weak_ptr.hpp> 35 36 #include <Zen/Studio/WorkbenchProtocol/I_Message.hpp> 37 38 #include <Zen/Enterprise/AppServer/I_Response.hpp> 39 40 #include <boost/cstdint.hpp> 41 #include <boost/serialization/string.hpp> 42 #include <string> 32 43 33 44 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ … … 38 49 39 50 class WORKBENCHPROTOCOL_DLL_LINK I_ChildNodeResponse 40 : public virtual I_WorkbenchResponse51 : public Zen::Enterprise::AppServer::I_Response 41 52 { 42 53 /// @name Types 43 54 /// @{ 44 55 public: 45 typedef Memory::managed_ptr<Enterprise::AppServer::I_Response> pResponse_type; 46 /// @} 47 48 /// @name I_ChildNodeResponse interface 49 /// @{ 50 public: 56 typedef Zen::Memory::managed_ptr<Zen::Enterprise::AppServer::I_Response> pResponse_type; 51 57 /// @} 52 58 … … 55 61 public: 56 62 static pResponse_type create(pEndpoint_type _pSourceEndpoint, 57 pEndpoint_type _pDestinationEndpoint );63 pEndpoint_type _pDestinationEndpoint, unsigned int _requestMessageId); 58 64 /// @} 59 65 60 66 /// @name 'Structors 61 67 /// @{ 68 protected: 62 69 I_ChildNodeResponse(); 63 70 virtual ~I_ChildNodeResponse(); … … 67 74 68 75 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 76 } // namespace Zen 77 } // namespace Studio 69 78 } // namespace Workbench 70 } // namespace Studio 79 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 80 81 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 82 namespace Zen { 71 83 namespace Memory { 72 84 // I_ChildNodeResponse is managed by factory 73 85 template<> 74 struct is_managed_by_factory< Studio::Workbench::I_ChildNodeResponse> : public boost::true_type{};86 struct is_managed_by_factory<Zen::Studio::Workbench::I_ChildNodeResponse> : public boost::true_type{}; 75 87 } // namespace Memory 76 88 } // namespace Zen 77 89 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 78 90 79 #endif // ZEN_STUDIO_WORKBENCH_I_CHILD _NODE_RESPONSE_HPP_INCLUDED91 #endif // ZEN_STUDIO_WORKBENCH_I_CHILDNODE_RESPONSE_HPP_INCLUDED -
Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/I_Message.hpp
r3161 r3355 1 1 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 2 // Zen Studio Workbench2 // Zen Community Framework 3 3 // 4 // Copyright (C) 2001 - 20 08Tony Richards5 // Copyright (C) 2009 Jason Smith4 // Copyright (C) 2001 - 2010 Tony Richards 5 // Copyright (C) 2008 - 2009 Matthew Alan Gray 6 6 // 7 7 // This software is provided 'as-is', without any express or implied … … 22 22 // 23 23 // Tony Richards trichards@indiezen.com 24 // Jason Smith jsmith@airsteampunk.com 24 // Matthew Alan Gray mgray@indiezen.org 25 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 // This is generated by the Zen Protocol Code Generator. Do not modify! 25 27 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 28 #ifndef ZEN_STUDIO_WORKBENCH_I_MESSAGE_HPP_INCLUDED … … 63 65 64 66 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 67 } // namespace Zen 68 } // namespace Studio 65 69 } // namespace Workbench 66 } // namespace Studio 70 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 71 72 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 73 namespace Zen { 67 74 namespace Memory { 68 75 // I_Message is managed by factory -
Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/I_NewProjectRequest.hpp
r3161 r3355 1 1 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 2 // Zen Studio2 // Zen Community Framework 3 3 // 4 // Copyright (C) 2001 - 20 09Tony Richards4 // Copyright (C) 2001 - 2010 Tony Richards 5 5 // Copyright (C) 2008 - 2009 Matthew Alan Gray 6 6 // … … 24 24 // Matthew Alan Gray mgray@indiezen.org 25 25 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 #ifndef ZEN_STUDIO_WORKBENCH_I_NEW_PROJECT_REQUEST_HPP_INCLUDED 27 #define ZEN_STUDIO_WORKBENCH_I_NEW_PROJECT_REQUEST_HPP_INCLUDED 26 // This is generated by the Zen Protocol Code Generator. Do not modify! 27 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 28 #ifndef ZEN_STUDIO_WORKBENCH_I_NEWPROJECT_REQUEST_HPP_INCLUDED 29 #define ZEN_STUDIO_WORKBENCH_I_NEWPROJECT_REQUEST_HPP_INCLUDED 28 30 29 #include <Zen/Studio/WorkbenchProtocol/I_WorkbenchRequest.hpp> 31 #include "Configuration.hpp" 32 33 #include <Zen/Core/Memory/managed_ptr.hpp> 34 #include <Zen/Core/Memory/managed_weak_ptr.hpp> 35 36 #include <Zen/Studio/WorkbenchProtocol/I_Message.hpp> 37 38 #include <Zen/Enterprise/AppServer/I_Request.hpp> 39 40 #include <boost/cstdint.hpp> 41 #include <boost/serialization/string.hpp> 42 #include <string> 30 43 31 44 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ … … 36 49 37 50 class WORKBENCHPROTOCOL_DLL_LINK I_NewProjectRequest 38 : public virtual I_WorkbenchRequest51 : public Zen::Enterprise::AppServer::I_Request 39 52 { 40 53 /// @name Types 41 54 /// @{ 42 55 public: 43 typedef Memory::managed_ptr<Enterprise::AppServer::I_Request> pRequest_type;56 typedef Zen::Memory::managed_ptr<Zen::Enterprise::AppServer::I_Request> pRequest_type; 44 57 /// @} 45 58 46 /// @name I_NewProjectRequest interface59 /// @name Getter / Setter methods 47 60 /// @{ 48 61 public: 62 /// Get the nodeId element. 63 virtual const boost::uint64_t& getNodeId() const = 0; 64 65 /// Set the nodeId element value. 66 virtual void setNodeId(const boost::uint64_t& _nodeId) = 0; 49 67 /// @} 50 68 … … 58 76 /// @name 'Structors 59 77 /// @{ 78 protected: 60 79 I_NewProjectRequest(); 61 80 virtual ~I_NewProjectRequest(); … … 65 84 66 85 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 86 } // namespace Zen 87 } // namespace Studio 67 88 } // namespace Workbench 68 } // namespace Studio 89 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 90 91 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 92 namespace Zen { 69 93 namespace Memory { 70 94 // I_NewProjectRequest is managed by factory 71 95 template<> 72 struct is_managed_by_factory< Studio::Workbench::I_NewProjectRequest> : public boost::true_type{};96 struct is_managed_by_factory<Zen::Studio::Workbench::I_NewProjectRequest> : public boost::true_type{}; 73 97 } // namespace Memory 74 98 } // namespace Zen 75 99 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 76 100 77 #endif // ZEN_STUDIO_WORKBENCH_I_NEW _PROJECT_REQUEST_HPP_INCLUDED101 #endif // ZEN_STUDIO_WORKBENCH_I_NEWPROJECT_REQUEST_HPP_INCLUDED -
Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/I_NewProjectResponse.hpp
r3161 r3355 1 1 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 2 // Zen Studio2 // Zen Community Framework 3 3 // 4 // Copyright (C) 2001 - 20 09Tony Richards4 // Copyright (C) 2001 - 2010 Tony Richards 5 5 // Copyright (C) 2008 - 2009 Matthew Alan Gray 6 6 // … … 24 24 // Matthew Alan Gray mgray@indiezen.org 25 25 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 #ifndef ZEN_STUDIO_WORKBENCH_I_NEW_PROJECT_RESPONSE_HPP_INCLUDED 27 #define ZEN_STUDIO_WORKBENCH_I_NEW_PROJECT_RESPONSE_HPP_INCLUDED 26 // This is generated by the Zen Protocol Code Generator. Do not modify! 27 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 28 #ifndef ZEN_STUDIO_WORKBENCH_I_NEWPROJECT_RESPONSE_HPP_INCLUDED 29 #define ZEN_STUDIO_WORKBENCH_I_NEWPROJECT_RESPONSE_HPP_INCLUDED 28 30 29 31 #include "Configuration.hpp" 30 32 31 #include <Zen/Studio/WorkbenchProtocol/I_WorkbenchResponse.hpp> 33 #include <Zen/Core/Memory/managed_ptr.hpp> 34 #include <Zen/Core/Memory/managed_weak_ptr.hpp> 35 36 #include <Zen/Studio/WorkbenchProtocol/I_Message.hpp> 37 38 #include <Zen/Enterprise/AppServer/I_Response.hpp> 39 40 #include <boost/cstdint.hpp> 41 #include <boost/serialization/string.hpp> 42 #include <string> 32 43 33 44 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ … … 38 49 39 50 class WORKBENCHPROTOCOL_DLL_LINK I_NewProjectResponse 40 : public I_WorkbenchResponse51 : public Zen::Enterprise::AppServer::I_Response 41 52 { 42 53 /// @name Types 43 54 /// @{ 44 55 public: 45 /// @} 46 47 /// @name I_NewProjectResponse interface 48 /// @{ 49 public: 56 typedef Zen::Memory::managed_ptr<Zen::Enterprise::AppServer::I_Response> pResponse_type; 50 57 /// @} 51 58 … … 54 61 public: 55 62 static pResponse_type create(pEndpoint_type _pSourceEndpoint, 56 pEndpoint_type _pDestinationEndpoint);63 pEndpoint_type _pDestinationEndpoint, unsigned int _requestMessageId); 57 64 /// @} 58 65 … … 67 74 68 75 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 76 } // namespace Zen 77 } // namespace Studio 69 78 } // namespace Workbench 70 } // namespace Studio 79 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 80 81 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 82 namespace Zen { 71 83 namespace Memory { 72 84 // I_NewProjectResponse is managed by factory 73 85 template<> 74 struct is_managed_by_factory< Studio::Workbench::I_NewProjectResponse> : public boost::true_type{};86 struct is_managed_by_factory<Zen::Studio::Workbench::I_NewProjectResponse> : public boost::true_type{}; 75 87 } // namespace Memory 76 88 } // namespace Zen 77 89 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 78 90 79 #endif // ZEN_STUDIO_WORKBENCH_I_NEW _PROJECT_RESPONSE_HPP_INCLUDED91 #endif // ZEN_STUDIO_WORKBENCH_I_NEWPROJECT_RESPONSE_HPP_INCLUDED -
Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/I_SubscribeModelRequest.hpp
r3161 r3355 1 1 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 2 // Zen Studio2 // Zen Community Framework 3 3 // 4 // Copyright (C) 2001 - 20 09Tony Richards4 // Copyright (C) 2001 - 2010 Tony Richards 5 5 // Copyright (C) 2008 - 2009 Matthew Alan Gray 6 6 // … … 24 24 // Matthew Alan Gray mgray@indiezen.org 25 25 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 #ifndef ZEN_STUDIO_WORKBENCH_I_SUBSCRIBE_MODEL_REQUEST_HPP_INCLUDED 27 #define ZEN_STUDIO_WORKBENCH_I_SUBSCRIBE_MODEL_REQUEST_HPP_INCLUDED 26 // This is generated by the Zen Protocol Code Generator. Do not modify! 27 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 28 #ifndef ZEN_STUDIO_WORKBENCH_I_SUBSCRIBEMODEL_REQUEST_HPP_INCLUDED 29 #define ZEN_STUDIO_WORKBENCH_I_SUBSCRIBEMODEL_REQUEST_HPP_INCLUDED 28 30 29 #include <Zen/Studio/WorkbenchProtocol/I_WorkbenchRequest.hpp> 31 #include "Configuration.hpp" 32 33 #include <Zen/Core/Memory/managed_ptr.hpp> 34 #include <Zen/Core/Memory/managed_weak_ptr.hpp> 35 36 #include <Zen/Studio/WorkbenchProtocol/I_Message.hpp> 37 38 #include <Zen/Enterprise/AppServer/I_Request.hpp> 39 40 #include <boost/cstdint.hpp> 41 #include <boost/serialization/string.hpp> 42 #include <string> 30 43 31 44 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ … … 36 49 37 50 class WORKBENCHPROTOCOL_DLL_LINK I_SubscribeModelRequest 38 : public virtual I_WorkbenchRequest51 : public Zen::Enterprise::AppServer::I_Request 39 52 { 40 53 /// @name Types 41 54 /// @{ 42 55 public: 43 typedef Memory::managed_ptr<Enterprise::AppServer::I_Request> pRequest_type;56 typedef Zen::Memory::managed_ptr<Zen::Enterprise::AppServer::I_Request> pRequest_type; 44 57 /// @} 45 58 46 /// @name I_SubscribeModelRequest interface59 /// @name Getter / Setter methods 47 60 /// @{ 48 61 public: 62 /// Get the nodeId element. 63 virtual const boost::uint64_t& getNodeId() const = 0; 64 65 /// Set the nodeId element value. 66 virtual void setNodeId(const boost::uint64_t& _nodeId) = 0; 49 67 /// @} 50 68 … … 58 76 /// @name 'Structors 59 77 /// @{ 78 protected: 60 79 I_SubscribeModelRequest(); 61 80 virtual ~I_SubscribeModelRequest(); … … 65 84 66 85 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 86 } // namespace Zen 87 } // namespace Studio 67 88 } // namespace Workbench 68 } // namespace Studio 89 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 90 91 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 92 namespace Zen { 69 93 namespace Memory { 70 94 // I_SubscribeModelRequest is managed by factory 71 95 template<> 72 struct is_managed_by_factory< Studio::Workbench::I_SubscribeModelRequest> : public boost::true_type{};96 struct is_managed_by_factory<Zen::Studio::Workbench::I_SubscribeModelRequest> : public boost::true_type{}; 73 97 } // namespace Memory 74 98 } // namespace Zen 75 99 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 76 100 77 #endif // ZEN_STUDIO_WORKBENCH_I_SUBSCRIBE _MODEL_REQUEST_HPP_INCLUDED101 #endif // ZEN_STUDIO_WORKBENCH_I_SUBSCRIBEMODEL_REQUEST_HPP_INCLUDED -
Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/I_SubscribeModelResponse.hpp
r3161 r3355 1 1 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 2 // Zen Studio2 // Zen Community Framework 3 3 // 4 // Copyright (C) 2001 - 20 09Tony Richards4 // Copyright (C) 2001 - 2010 Tony Richards 5 5 // Copyright (C) 2008 - 2009 Matthew Alan Gray 6 6 // … … 24 24 // Matthew Alan Gray mgray@indiezen.org 25 25 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 #ifndef ZEN_STUDIO_WORKBENCH_I_SUBSCRIBE_MODEL_RESPONSE_HPP_INCLUDED 27 #define ZEN_STUDIO_WORKBENCH_I_SUBSCRIBE_MODEL_RESPONSE_HPP_INCLUDED 26 // This is generated by the Zen Protocol Code Generator. Do not modify! 27 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 28 #ifndef ZEN_STUDIO_WORKBENCH_I_SUBSCRIBEMODEL_RESPONSE_HPP_INCLUDED 29 #define ZEN_STUDIO_WORKBENCH_I_SUBSCRIBEMODEL_RESPONSE_HPP_INCLUDED 28 30 29 #include <Zen/Studio/WorkbenchProtocol/I_WorkbenchResponse.hpp> 31 #include "Configuration.hpp" 32 33 #include <Zen/Core/Memory/managed_ptr.hpp> 34 #include <Zen/Core/Memory/managed_weak_ptr.hpp> 35 36 #include <Zen/Studio/WorkbenchProtocol/I_Message.hpp> 37 38 #include <Zen/Enterprise/AppServer/I_Response.hpp> 39 40 #include <boost/cstdint.hpp> 41 #include <boost/serialization/string.hpp> 42 #include <string> 30 43 31 44 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ … … 36 49 37 50 class WORKBENCHPROTOCOL_DLL_LINK I_SubscribeModelResponse 38 : public virtual I_WorkbenchResponse51 : public Zen::Enterprise::AppServer::I_Response 39 52 { 40 53 /// @name Types 41 54 /// @{ 42 55 public: 43 typedef Memory::managed_ptr<Enterprise::AppServer::I_Response> pResponse_type; 44 /// @} 45 46 /// @name I_SubscribeModelResponse interface 47 /// @{ 48 public: 56 typedef Zen::Memory::managed_ptr<Zen::Enterprise::AppServer::I_Response> pResponse_type; 49 57 /// @} 50 58 … … 53 61 public: 54 62 static pResponse_type create(pEndpoint_type _pSourceEndpoint, 55 pEndpoint_type _pDestinationEndpoint );63 pEndpoint_type _pDestinationEndpoint, unsigned int _requestMessageId); 56 64 /// @} 57 65 58 66 /// @name 'Structors 59 67 /// @{ 68 protected: 60 69 I_SubscribeModelResponse(); 61 70 virtual ~I_SubscribeModelResponse(); … … 65 74 66 75 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 76 } // namespace Zen 77 } // namespace Studio 67 78 } // namespace Workbench 68 } // namespace Studio 79 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 80 81 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 82 namespace Zen { 69 83 namespace Memory { 70 84 // I_SubscribeModelResponse is managed by factory 71 85 template<> 72 struct is_managed_by_factory< Studio::Workbench::I_SubscribeModelResponse> : public boost::true_type{};86 struct is_managed_by_factory<Zen::Studio::Workbench::I_SubscribeModelResponse> : public boost::true_type{}; 73 87 } // namespace Memory 74 88 } // namespace Zen 75 89 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 76 90 77 #endif // ZEN_STUDIO_WORKBENCH_I_SUBSCRIBE _MODEL_RESPONSE_HPP_INCLUDED91 #endif // ZEN_STUDIO_WORKBENCH_I_SUBSCRIBEMODEL_RESPONSE_HPP_INCLUDED -
Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/I_WorkbenchProtocolManager.hpp
r3161 r3355 1 1 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 2 // Zen Studio2 // Zen Community Framework 3 3 // 4 // Copyright (C) 2001 - 20 09Tony Richards4 // Copyright (C) 2001 - 2010 Tony Richards 5 5 // Copyright (C) 2008 - 2009 Matthew Alan Gray 6 6 // … … 24 24 // Matthew Alan Gray mgray@indiezen.org 25 25 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 #ifndef ZEN_STUDIO_WORKBENCH_I_WORKBENCH_PROTOCOL_MANAGER_HPP_INCLUDED 27 #define ZEN_STUDIO_WORKBENCH_I_WORKBENCH_PROTOCOL_MANAGER_HPP_INCLUDED 26 // This is generated by the Zen Protocol Code Generator. Do not modify! 27 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 28 #ifndef ZEN_STUDIO_WORKBENCH_I_MANAGER_HPP_INCLUDED 29 #define ZEN_STUDIO_WORKBENCH_I_MANAGER_HPP_INCLUDED 28 30 29 31 #include "Configuration.hpp" 30 32 33 #include "I_Message.hpp" 34 31 35 #include <Zen/Core/Memory/managed_ptr.hpp> 32 33 #include <Zen/Enterprise/AppServer/I_Request.hpp>34 35 #include "I_Message.hpp"36 36 37 37 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ … … 42 42 } // namespace AppServer 43 43 } // namespace Enterprise 44 } // namespace Zen 45 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 46 namespace Zen { 44 47 namespace Studio { 45 48 namespace Workbench { 46 49 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 47 ;48 50 49 /// Workbench application protocol manager. 51 50 52 class WORKBENCHPROTOCOL_DLL_LINK I_WorkbenchProtocolManager 51 53 { 52 53 54 /// @name Types 54 55 /// @{ … … 70 71 static I_WorkbenchProtocolManager& getSingleton(); 71 72 /// @} 72 73 73 /// @name 'Structors 74 74 /// @{ … … 81 81 82 82 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 83 } // namespace Zen 84 } // namespace Studio 83 85 } // namespace Workbench 84 } // namespace Studio85 } // namespace Zen86 86 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 87 87 88 #endif // ZEN_STUDIO_WORKBENCH_I_WORKBENCH_PROTOCOL_MANAGER_HPP_INCLUDED 88 89 #endif // ZEN_STUDIO_WORKBENCH_I_MANAGER_HPP_INCLUDED -
Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/ChildNodeRequest.cpp
r3161 r3355 1 1 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 2 // Zen Studio WorkbenchFramework2 // Zen Community Framework 3 3 // 4 // Copyright (C) 2001 - 20 09Tony Richards4 // Copyright (C) 2001 - 2010 Tony Richards 5 5 // Copyright (C) 2008 - 2009 Matthew Alan Gray 6 6 // … … 24 24 // Matthew Alan Gray mgray@indiezen.org 25 25 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 // This is generated by the Zen Protocol Code Generator. Do not modify! 27 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 28 #include "ChildNodeRequest.hpp" 27 29 #include "MessageFactory.hpp" … … 38 40 #include <Zen/Core/Utility/runtime_exception.hpp> 39 41 42 #include <boost/archive/polymorphic_iarchive.hpp> 43 #include <boost/archive/polymorphic_oarchive.hpp> 44 40 45 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 41 46 namespace Zen { … … 50 55 pEndpoint_type _pDestinationEndpoint) 51 56 : Message(createMessageHeader(), _pSourceEndpoint, _pDestinationEndpoint) 57 , Request(getMessageHeader(), _pSourceEndpoint, _pDestinationEndpoint) 52 58 { 53 59 } … … 58 64 pEndpoint_type _pDestinationEndpoint) 59 65 : Message(_pMessageHeader, _pSourceEndpoint, _pDestinationEndpoint) 66 , Request(_pMessageHeader, _pSourceEndpoint, _pDestinationEndpoint) 60 67 { 61 68 } … … 70 77 ChildNodeRequest::serialize(pMessageHeader_type _pHeader, boost::archive::polymorphic_iarchive& _archive, const int _version) 71 78 { 79 _archive & m_nodeId; 72 80 } 73 81 … … 76 84 ChildNodeRequest::serialize(boost::archive::polymorphic_oarchive& _archive, const int _version) 77 85 { 86 _archive & m_nodeId; 87 } 88 89 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 90 const boost::uint64_t& 91 ChildNodeRequest::getNodeId() const 92 { 93 return m_nodeId; 94 } 95 96 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 97 void 98 ChildNodeRequest::setNodeId(const boost::uint64_t& _nodeId) 99 { 100 m_nodeId = _nodeId; 78 101 } 79 102 … … 111 134 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 112 135 void 113 ChildNodeRequest::destroy(wpRequest_type _wpRe quest)136 ChildNodeRequest::destroy(wpRequest_type _wpResponse) 114 137 { 115 ChildNodeRequest* pRequest = dynamic_cast<ChildNodeRequest*>(_wpRe quest.get());138 ChildNodeRequest* pRequest = dynamic_cast<ChildNodeRequest*>(_wpResponse.get()); 116 139 117 140 if( pRequest != NULL ) … … 139 162 140 163 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 164 } // namespace Zen 165 } // namespace Studio 141 166 } // namespace Workbench 142 } // namespace Studio143 } // namespace Zen144 167 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ -
Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/ChildNodeRequest.hpp
r3161 r3355 1 1 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 2 // Zen Studio WorkbenchFramework2 // Zen Community Framework 3 3 // 4 // Copyright (C) 2001 - 20 09Tony Richards4 // Copyright (C) 2001 - 2010 Tony Richards 5 5 // Copyright (C) 2008 - 2009 Matthew Alan Gray 6 6 // … … 24 24 // Matthew Alan Gray mgray@indiezen.org 25 25 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 #ifndef ZEN_STUDIO_WORKBENCH_CHILD_NODE_REQUEST_HPP_INCLUDED 27 #define ZEN_STUDIO_WORKBENCH_CHILD_NODE_REQUEST_HPP_INCLUDED 26 // This is generated by the Zen Protocol Code Generator. Do not modify! 27 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 28 #ifndef ZEN_STUDIO_WORKBENCH_CHILDNODE_REQUEST_HPP_INCLUDED 29 #define ZEN_STUDIO_WORKBENCH_CHILDNODE_REQUEST_HPP_INCLUDED 28 30 29 31 #include "../I_ChildNodeRequest.hpp" 30 32 31 #include " Message.hpp"33 #include "Request.hpp" 32 34 33 35 #include <Zen/Enterprise/AppServer/I_MessageFactory.hpp> 36 37 #include <boost/cstdint.hpp> 38 #include <boost/serialization/string.hpp> 39 #include <string> 34 40 35 41 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ … … 42 48 } // namespace AppServer 43 49 } // namespace Enterprise 50 } // namespace Zen 51 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 52 namespace Zen { 44 53 namespace Studio { 45 54 namespace Workbench { 46 55 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 47 ;48 49 56 class ChildNodeRequest 50 57 : public I_ChildNodeRequest 51 , public Message58 , public Request 52 59 { 53 60 /// @name Types 54 61 /// @{ 55 62 public: 56 enum { type = 3}; // TODO Should we be hardcoding this?63 enum { type = 111 }; // TODO Should we be hardcoding this? 57 64 typedef Zen::Memory::managed_ptr<Zen::Enterprise::AppServer::I_MessageType> pMessageType_type; 65 66 typedef Zen::Memory::managed_weak_ptr<Zen::Enterprise::AppServer::I_Request> wpRequest_type; 58 67 /// @} 59 68 … … 70 79 /// @} 71 80 72 /// @name ChildNodeRequestimplementation81 /// @name I_Message implementation 73 82 /// @{ 74 83 public: 75 virtual unsigned int getMessageId() const { return Message::getMessageId(); } 84 virtual unsigned int getMessageId() const { return Message::getMessageId(); } 85 /// @} 86 87 /// @name Getter / Setter methods 88 /// @{ 89 public: 90 /// Get the nodeId element. 91 virtual const boost::uint64_t& getNodeId() const; 92 93 /// Set the nodeId element value. 94 virtual void setNodeId(const boost::uint64_t& _nodeId); 76 95 /// @} 77 96 … … 85 104 static void destroy(wpRequest_type _wpRequest); 86 105 /// @} 87 106 88 107 /// @name 'Structors 89 108 /// @{ 90 public: 109 protected: 110 friend class I_ChildNodeRequest; 91 111 friend class MessageFactory; 92 112 /// This constructor is used by the static create 93 113 /// methods for creating outbound messages. 94 114 ChildNodeRequest(pEndpoint_type _pSourceEndpoint, 95 pEndpoint_type _pDestinationEndpoint);115 pEndpoint_type _pDestinationEndpoint); 96 116 /// This constructor is used by the message factory 97 117 /// for creating inbound messages. 98 118 ChildNodeRequest(pMessageHeader_type _pMessageHeader, 99 pEndpoint_type _pSourceEndpoint,100 pEndpoint_type _pDestinationEndpoint);119 pEndpoint_type _pSourceEndpoint, 120 pEndpoint_type _pDestinationEndpoint); 101 121 virtual ~ChildNodeRequest(); 102 122 /// @} … … 109 129 static pMessageType_type sm_pType; 110 130 static Zen::Enterprise::AppServer::I_MessageRegistry* sm_pMessageRegistry; 131 132 boost::uint64_t m_nodeId; 133 111 134 /// @} 112 135 … … 114 137 115 138 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 139 } // namespace Zen 140 } // namespace Studio 116 141 } // namespace Workbench 117 } // namespace Studio118 } // namespace Zen119 142 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 120 143 121 #endif // ZEN_STUDIO_WORKBENCH_CHILD _NODE_REQUEST_HPP_INCLUDED144 #endif // ZEN_STUDIO_WORKBENCH_CHILDNODE_REQUEST_HPP_INCLUDED -
Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/ChildNodeResponse.cpp
r3161 r3355 1 1 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 2 // Zen Studio WorkbenchFramework2 // Zen Community Framework 3 3 // 4 // Copyright (C) 2001 - 20 09Tony Richards4 // Copyright (C) 2001 - 2010 Tony Richards 5 5 // Copyright (C) 2008 - 2009 Matthew Alan Gray 6 6 // … … 24 24 // Matthew Alan Gray mgray@indiezen.org 25 25 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 // This is generated by the Zen Protocol Code Generator. Do not modify! 27 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 28 #include "ChildNodeResponse.hpp" 27 29 #include "MessageFactory.hpp" … … 38 40 #include <Zen/Core/Utility/runtime_exception.hpp> 39 41 42 #include <boost/archive/polymorphic_iarchive.hpp> 43 #include <boost/archive/polymorphic_oarchive.hpp> 44 40 45 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 41 46 namespace Zen { … … 48 53 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 49 54 ChildNodeResponse::ChildNodeResponse(pEndpoint_type _pSourceEndpoint, 50 pEndpoint_type _pDestinationEndpoint) 55 pEndpoint_type _pDestinationEndpoint, 56 unsigned int _requestMessageId) 51 57 : Message(createMessageHeader(), _pSourceEndpoint, _pDestinationEndpoint) 58 , Response(getMessageHeader(), _pSourceEndpoint, _pDestinationEndpoint, _requestMessageId) 59 52 60 { 53 61 } … … 56 64 ChildNodeResponse::ChildNodeResponse(pMessageHeader_type _pMessageHeader, 57 65 pEndpoint_type _pSourceEndpoint, 58 pEndpoint_type _pDestinationEndpoint) 66 pEndpoint_type _pDestinationEndpoint, 67 unsigned int _requestMessageId) 59 68 : Message(_pMessageHeader, _pSourceEndpoint, _pDestinationEndpoint) 69 , Response(_pMessageHeader, _pSourceEndpoint, _pDestinationEndpoint, _requestMessageId) 60 70 { 61 71 } … … 137 147 return sm_pResourceLocation; 138 148 } 149 139 150 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 151 } // namespace Zen 152 } // namespace Studio 140 153 } // namespace Workbench 141 } // namespace Studio142 } // namespace Zen143 154 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ -
Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/ChildNodeResponse.hpp
r3161 r3355 1 1 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 2 // Zen Studio WorkbenchFramework2 // Zen Community Framework 3 3 // 4 // Copyright (C) 2001 - 20 09Tony Richards4 // Copyright (C) 2001 - 2010 Tony Richards 5 5 // Copyright (C) 2008 - 2009 Matthew Alan Gray 6 6 // … … 24 24 // Matthew Alan Gray mgray@indiezen.org 25 25 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 #ifndef ZEN_STUDIO_WORKBENCH_CHILD_NODE_RESPONSE_HPP_INCLUDED 27 #define ZEN_STUDIO_WORKBENCH_CHILD_NODE_RESPONSE_HPP_INCLUDED 26 // This is generated by the Zen Protocol Code Generator. Do not modify! 27 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 28 #ifndef ZEN_STUDIO_WORKBENCH_CHILDNODE_RESPONSE_HPP_INCLUDED 29 #define ZEN_STUDIO_WORKBENCH_CHILDNODE_RESPONSE_HPP_INCLUDED 28 30 29 31 #include "../I_ChildNodeResponse.hpp" 30 32 31 #include " Message.hpp"33 #include "Response.hpp" 32 34 33 35 #include <Zen/Enterprise/AppServer/I_MessageFactory.hpp> 36 37 #include <boost/cstdint.hpp> 38 #include <boost/serialization/string.hpp> 39 #include <string> 34 40 35 41 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ … … 42 48 } // namespace AppServer 43 49 } // namespace Enterprise 50 } // namespace Zen 51 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 52 namespace Zen { 44 53 namespace Studio { 45 54 namespace Workbench { 46 55 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 47 ;48 49 56 class ChildNodeResponse 50 57 : public I_ChildNodeResponse 51 , public Message58 , public Response 52 59 { 53 60 /// @name Types 54 61 /// @{ 55 62 public: 56 enum { type = 4}; // TODO Should we be hardcoding this?63 enum { type = 112 }; // TODO Should we be hardcoding this? 57 64 typedef Zen::Memory::managed_ptr<Zen::Enterprise::AppServer::I_MessageType> pMessageType_type; 65 66 typedef Zen::Memory::managed_weak_ptr<Zen::Enterprise::AppServer::I_Response> wpResponse_type; 58 67 /// @} 59 68 … … 70 79 /// @} 71 80 72 /// @name ChildNodeResponse implementation81 /// @name I_Message implementation 73 82 /// @{ 74 83 public: 75 virtual unsigned int getMessageId() const { return Message::getMessageId(); } 84 virtual unsigned int getMessageId() const { return Message::getMessageId(); } 76 85 /// @} 77 86 87 /// @name Dominance for Response 88 /// @{ 89 public: 90 virtual unsigned int getRequestMessageId() const { return Response::getRequestMessageId(); } 91 /// @} 78 92 /// @name Static methods 79 93 /// @{ … … 85 99 static void destroy(wpResponse_type _wpResponse); 86 100 /// @} 87 101 88 102 /// @name 'Structors 89 103 /// @{ 90 public: 104 protected: 105 friend class I_ChildNodeResponse; 91 106 friend class MessageFactory; 92 107 /// This constructor is used by the static create 93 108 /// methods for creating outbound messages. 94 109 ChildNodeResponse(pEndpoint_type _pSourceEndpoint, 95 pEndpoint_type _pDestinationEndpoint);110 pEndpoint_type _pDestinationEndpoint, unsigned int _requestMessageId); 96 111 /// This constructor is used by the message factory 97 112 /// for creating inbound messages. 98 113 ChildNodeResponse(pMessageHeader_type _pMessageHeader, 99 pEndpoint_type _pSourceEndpoint,100 pEndpoint_type _pDestinationEndpoint);114 pEndpoint_type _pSourceEndpoint, 115 pEndpoint_type _pDestinationEndpoint, unsigned int _requestMessageId); 101 116 virtual ~ChildNodeResponse(); 102 117 /// @} … … 109 124 static pMessageType_type sm_pType; 110 125 static Zen::Enterprise::AppServer::I_MessageRegistry* sm_pMessageRegistry; 126 127 111 128 /// @} 112 129 … … 114 131 115 132 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 133 } // namespace Zen 134 } // namespace Studio 116 135 } // namespace Workbench 117 } // namespace Studio118 } // namespace Zen119 136 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 120 137 121 #endif // ZEN_STUDIO_WORKBENCH_CHILD _NODE_RESPONSE_HPP_INCLUDED138 #endif // ZEN_STUDIO_WORKBENCH_CHILDNODE_RESPONSE_HPP_INCLUDED -
Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/I_ChildNodeRequest.cpp
r3161 r3355 1 1 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 2 // Zen Studio WorkbenchFramework2 // Zen Community Framework 3 3 // 4 // Copyright (C) 2001 - 20 09Tony Richards4 // Copyright (C) 2001 - 2010 Tony Richards 5 5 // Copyright (C) 2008 - 2009 Matthew Alan Gray 6 // Copyright (C) 2009 Jason Smith7 6 // 8 7 // This software is provided 'as-is', without any express or implied … … 24 23 // Tony Richards trichards@indiezen.com 25 24 // Matthew Alan Gray mgray@indiezen.org 26 // Jason Smith jsmith@airsteampunk.com27 25 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 28 #include "../I_ChildNodeRequest.hpp" 26 // This is generated by the Zen Protocol Code Generator. Do not modify! 27 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 29 28 #include "ChildNodeRequest.hpp" 30 31 29 32 30 #include <Zen/Enterprise/AppServer/I_ResourceLocation.hpp> … … 52 50 I_ChildNodeRequest::pRequest_type 53 51 I_ChildNodeRequest::create(pEndpoint_type _pSourceEndpoint, 54 pEndpoint_type _pDestinationEndpoint) 52 pEndpoint_type _pDestinationEndpoint) 55 53 { 56 54 ChildNodeRequest* pChildNodeRequest(new ChildNodeRequest(_pSourceEndpoint, 57 55 _pDestinationEndpoint)); 58 56 59 60 return pRequest_type(pChildNodeRequest, ChildNodeRequest::destroy); 57 return pRequest_type((Request*)pChildNodeRequest, ChildNodeRequest::destroy); 61 58 } 62 59 63 60 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 61 } // namespace Zen 62 } // namespace Studio 64 63 } // namespace Workbench 65 } // namespace Studio66 } // namespace Zen67 64 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 65 -
Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/I_ChildNodeResponse.cpp
r3161 r3355 1 1 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 2 // Zen Studio WorkbenchFramework2 // Zen Community Framework 3 3 // 4 // Copyright (C) 2001 - 20 09Tony Richards4 // Copyright (C) 2001 - 2010 Tony Richards 5 5 // Copyright (C) 2008 - 2009 Matthew Alan Gray 6 6 // … … 24 24 // Matthew Alan Gray mgray@indiezen.org 25 25 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 #include "../I_ChildNodeResponse.hpp" 26 // This is generated by the Zen Protocol Code Generator. Do not modify! 27 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 28 #include "ChildNodeResponse.hpp" 29 30 #include <Zen/Enterprise/AppServer/I_ResourceLocation.hpp> 31 #include <Zen/Enterprise/AppServer/I_MessageHeader.hpp> 32 33 #include <Zen/Enterprise/Networking/I_Endpoint.hpp> 27 34 28 35 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ … … 41 48 42 49 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 50 I_ChildNodeResponse::pResponse_type 51 I_ChildNodeResponse::create(pEndpoint_type _pSourceEndpoint, 52 pEndpoint_type _pDestinationEndpoint, unsigned int _requestMessageId) 53 { 54 ChildNodeResponse* pChildNodeResponse(new ChildNodeResponse(_pSourceEndpoint, 55 _pDestinationEndpoint, _requestMessageId)); 56 57 return pResponse_type((Response*)pChildNodeResponse, ChildNodeResponse::destroy); 58 } 59 60 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 61 } // namespace Zen 62 } // namespace Studio 43 63 } // namespace Workbench 44 } // namespace Studio45 } // namespace Zen46 64 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 65 -
Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/I_Message.cpp
r3161 r3355 1 1 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 2 // Zen Studio WorkbenchFramework2 // Zen Community Framework 3 3 // 4 // Copyright (C) 2001 - 20 09Tony Richards4 // Copyright (C) 2001 - 2010 Tony Richards 5 5 // Copyright (C) 2008 - 2009 Matthew Alan Gray 6 6 // … … 24 24 // Matthew Alan Gray mgray@indiezen.org 25 25 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 // This is generated by the Zen Protocol Code Generator. Do not modify! 27 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 28 #include "../I_Message.hpp" 27 29 … … 41 43 42 44 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 45 } // namespace Zen 46 } // namespace Studio 43 47 } // namespace Workbench 44 } // namespace Studio45 } // namespace Zen46 48 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ -
Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/I_NewProjectRequest.cpp
r3161 r3355 1 1 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 2 // Zen Studio WorkbenchFramework2 // Zen Community Framework 3 3 // 4 // Copyright (C) 2001 - 20 09Tony Richards4 // Copyright (C) 2001 - 2010 Tony Richards 5 5 // Copyright (C) 2008 - 2009 Matthew Alan Gray 6 6 // … … 24 24 // Matthew Alan Gray mgray@indiezen.org 25 25 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 #include "../I_NewProjectRequest.hpp" 26 // This is generated by the Zen Protocol Code Generator. Do not modify! 27 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 27 28 #include "NewProjectRequest.hpp" 28 29 29 30 30 #include <Zen/Enterprise/AppServer/I_ResourceLocation.hpp> … … 50 50 I_NewProjectRequest::pRequest_type 51 51 I_NewProjectRequest::create(pEndpoint_type _pSourceEndpoint, 52 pEndpoint_type _pDestinationEndpoint) 52 pEndpoint_type _pDestinationEndpoint) 53 53 { 54 54 NewProjectRequest* pNewProjectRequest(new NewProjectRequest(_pSourceEndpoint, 55 55 _pDestinationEndpoint)); 56 56 57 58 return pRequest_type(pNewProjectRequest, NewProjectRequest::destroy); 57 return pRequest_type((Request*)pNewProjectRequest, NewProjectRequest::destroy); 59 58 } 60 59 61 60 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 61 } // namespace Zen 62 } // namespace Studio 62 63 } // namespace Workbench 63 } // namespace Studio64 } // namespace Zen65 64 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 65 -
Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/I_NewProjectResponse.cpp
r3161 r3355 1 1 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 2 // Zen Studio WorkbenchFramework2 // Zen Community Framework 3 3 // 4 // Copyright (C) 2001 - 20 09Tony Richards4 // Copyright (C) 2001 - 2010 Tony Richards 5 5 // Copyright (C) 2008 - 2009 Matthew Alan Gray 6 6 // … … 24 24 // Matthew Alan Gray mgray@indiezen.org 25 25 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 #include "../I_NewProjectResponse.hpp" 26 // This is generated by the Zen Protocol Code Generator. Do not modify! 27 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 27 28 #include "NewProjectResponse.hpp" 28 29 29 30 30 #include <Zen/Enterprise/AppServer/I_ResourceLocation.hpp> … … 50 50 I_NewProjectResponse::pResponse_type 51 51 I_NewProjectResponse::create(pEndpoint_type _pSourceEndpoint, 52 pEndpoint_type _pDestinationEndpoint)52 pEndpoint_type _pDestinationEndpoint, unsigned int _requestMessageId) 53 53 { 54 54 NewProjectResponse* pNewProjectResponse(new NewProjectResponse(_pSourceEndpoint, 55 _pDestinationEndpoint));55 _pDestinationEndpoint, _requestMessageId)); 56 56 57 return pResponse_type( pNewProjectResponse, NewProjectResponse::destroy);57 return pResponse_type((Response*)pNewProjectResponse, NewProjectResponse::destroy); 58 58 } 59 59 60 60 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 61 } // namespace Zen 62 } // namespace Studio 61 63 } // namespace Workbench 62 } // namespace Studio63 } // namespace Zen64 64 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 65 -
Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/I_SubscribeModelRequest.cpp
r3161 r3355 1 1 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 2 // Zen Studio WorkbenchFramework2 // Zen Community Framework 3 3 // 4 // Copyright (C) 2001 - 20 09Tony Richards4 // Copyright (C) 2001 - 2010 Tony Richards 5 5 // Copyright (C) 2008 - 2009 Matthew Alan Gray 6 // Copyright (C) 2009 Jason Smith7 6 // 8 7 // This software is provided 'as-is', without any express or implied … … 24 23 // Tony Richards trichards@indiezen.com 25 24 // Matthew Alan Gray mgray@indiezen.org 26 // Jason Smith jsmith@airsteampunk.com27 25 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 28 #include "../I_SubscribeModelRequest.hpp" 26 // This is generated by the Zen Protocol Code Generator. Do not modify! 27 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 29 28 #include "SubscribeModelRequest.hpp" 30 31 29 32 30 #include <Zen/Enterprise/AppServer/I_ResourceLocation.hpp> … … 52 50 I_SubscribeModelRequest::pRequest_type 53 51 I_SubscribeModelRequest::create(pEndpoint_type _pSourceEndpoint, 54 pEndpoint_type _pDestinationEndpoint) 52 pEndpoint_type _pDestinationEndpoint) 55 53 { 56 54 SubscribeModelRequest* pSubscribeModelRequest(new SubscribeModelRequest(_pSourceEndpoint, 57 55 _pDestinationEndpoint)); 58 56 59 60 return pRequest_type(pSubscribeModelRequest, SubscribeModelRequest::destroy); 57 return pRequest_type((Request*)pSubscribeModelRequest, SubscribeModelRequest::destroy); 61 58 } 62 59 63 60 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 61 } // namespace Zen 62 } // namespace Studio 64 63 } // namespace Workbench 65 } // namespace Studio66 } // namespace Zen67 64 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 65 -
Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/I_SubscribeModelResponse.cpp
r3161 r3355 1 1 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 2 // Zen Studio WorkbenchFramework2 // Zen Community Framework 3 3 // 4 // Copyright (C) 2001 - 20 09Tony Richards4 // Copyright (C) 2001 - 2010 Tony Richards 5 5 // Copyright (C) 2008 - 2009 Matthew Alan Gray 6 6 // … … 24 24 // Matthew Alan Gray mgray@indiezen.org 25 25 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 #include "../I_SubscribeModelResponse.hpp" 26 // This is generated by the Zen Protocol Code Generator. Do not modify! 27 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 28 #include "SubscribeModelResponse.hpp" 29 30 #include <Zen/Enterprise/AppServer/I_ResourceLocation.hpp> 31 #include <Zen/Enterprise/AppServer/I_MessageHeader.hpp> 32 33 #include <Zen/Enterprise/Networking/I_Endpoint.hpp> 27 34 28 35 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ … … 41 48 42 49 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 50 I_SubscribeModelResponse::pResponse_type 51 I_SubscribeModelResponse::create(pEndpoint_type _pSourceEndpoint, 52 pEndpoint_type _pDestinationEndpoint, unsigned int _requestMessageId) 53 { 54 SubscribeModelResponse* pSubscribeModelResponse(new SubscribeModelResponse(_pSourceEndpoint, 55 _pDestinationEndpoint, _requestMessageId)); 56 57 return pResponse_type((Response*)pSubscribeModelResponse, SubscribeModelResponse::destroy); 58 } 59 60 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 61 } // namespace Zen 62 } // namespace Studio 43 63 } // namespace Workbench 44 } // namespace Studio45 } // namespace Zen46 64 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 65 -
Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/I_WorkbenchProtocolManager.cpp
r3161 r3355 1 1 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 2 // Zen Studio2 // Zen Community Framework 3 3 // 4 // Copyright (C) 2001 - 20 09Tony Richards4 // Copyright (C) 2001 - 2010 Tony Richards 5 5 // Copyright (C) 2008 - 2009 Matthew Alan Gray 6 6 // … … 24 24 // Matthew Alan Gray mgray@indiezen.org 25 25 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 // This is generated by the Zen Protocol Code Generator. Do not modify! 27 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 28 #include "../I_WorkbenchProtocolManager.hpp" 27 29 … … 33 35 namespace Workbench { 34 36 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 37 35 38 I_WorkbenchProtocolManager::I_WorkbenchProtocolManager() 36 39 { … … 43 46 44 47 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 45 static WorkbenchProtocolManager sm_ manager;48 static WorkbenchProtocolManager sm_class; 46 49 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 47 50 I_WorkbenchProtocolManager& 48 51 I_WorkbenchProtocolManager::getSingleton() 49 52 { 50 return sm_manager;53 return sm_class; 51 54 } 52 55 53 56 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 57 } // namespace Zen 58 } // namespace Studio 54 59 } // namespace Workbench 55 } // namespace Studio56 } // namespace Zen57 60 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 61 -
Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/Message.cpp
r3161 r3355 1 1 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 2 // Zen Studio WorkbenchFramework2 // Zen Community Framework 3 3 // 4 // Copyright (C) 2001 - 20 09Tony Richards4 // Copyright (C) 2001 - 2010 Tony Richards 5 5 // Copyright (C) 2008 - 2009 Matthew Alan Gray 6 6 // … … 23 23 // Tony Richards trichards@indiezen.com 24 24 // Matthew Alan Gray mgray@indiezen.org 25 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 // This is generated by the Zen Protocol Code Generator. Do not modify! 25 27 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 28 #include "Message.hpp" … … 100 102 else 101 103 { 102 throw Zen::Utility::runtime_exception(" LoginRequest::destroyMessageFactory() : Invalid type.");104 throw Zen::Utility::runtime_exception("Message::destroyMessageFactory() : Invalid type."); 103 105 } 104 106 } 105 107 106 108 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 109 } // namespace Zen 110 } // namespace Studio 107 111 } // namespace Workbench 108 } // namespace Studio109 } // namespace Zen110 112 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ -
Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/Message.hpp
r3161 r3355 1 1 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 2 // Zen Studio WorkbenchFramework2 // Zen Community Framework 3 3 // 4 // Copyright (C) 2001 - 20 09Tony Richards4 // Copyright (C) 2001 - 2010 Tony Richards 5 5 // Copyright (C) 2008 - 2009 Matthew Alan Gray 6 6 // … … 24 24 // Matthew Alan Gray mgray@indiezen.org 25 25 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 #ifndef ZEN_STUDIO_WORKBENCHPROTOCOL_MESSAGE_HPP_INCLUDED 27 #define ZEN_STUDIO_WORKBENCHPROTOCOL_MESSAGE_HPP_INCLUDED 26 // This is generated by the Zen Protocol Code Generator. Do not modify! 27 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 28 #ifndef ZEN_STUDIO_WORKBENCH_MESSAGE_HPP_INCLUDED 29 #define ZEN_STUDIO_WORKBENCH_MESSAGE_HPP_INCLUDED 28 30 29 31 #include "../I_Message.hpp" 30 31 #include <Zen/Core/Memory/managed_ptr.hpp>32 #include <Zen/Core/Memory/managed_weak_ptr.hpp>33 34 #include <boost/cstdint.hpp>35 32 36 33 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ … … 41 38 } // namespace AppServer 42 39 } // namespace Enterprise 40 } // namespace Zen 41 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 42 namespace Zen { 43 43 namespace Studio { 44 44 namespace Workbench { … … 46 46 47 47 class Message 48 : public virtual I_Message48 : public virtual Zen::Studio::Workbench::I_Message 49 49 { 50 50 /// @name Types … … 62 62 virtual pMessageHeader_type getMessageHeader() const; 63 63 /// @} 64 64 65 65 /// @name I_Message implementation 66 66 /// @{ 67 67 public: 68 68 virtual unsigned int getMessageId() const; 69 /// @}70 71 /// @name Message implementation72 /// @{73 public:74 69 /// @} 75 70 … … 103 98 104 99 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 100 } // namespace Zen 101 } // namespace Studio 105 102 } // namespace Workbench 106 } // namespace Studio107 } // namespace Zen108 103 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 109 104 110 #endif // ZEN_STUDIO_WORKBENCH PROTOCOL_MESSAGE_HPP_INCLUDED105 #endif // ZEN_STUDIO_WORKBENCH_MESSAGE_HPP_INCLUDED -
Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/MessageFactory.cpp
r3161 r3355 1 1 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 2 // Zen Studio WorkbenchFramework2 // Zen Community Framework 3 3 // 4 // Copyright (C) 2001 - 20 09Tony Richards4 // Copyright (C) 2001 - 2010 Tony Richards 5 5 // Copyright (C) 2008 - 2009 Matthew Alan Gray 6 6 // … … 24 24 // Matthew Alan Gray mgray@indiezen.org 25 25 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 // This is generated by the Zen Protocol Code Generator. Do not modify! 27 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 28 #include "MessageFactory.hpp" 26 29 27 #include "MessageFactory.hpp" 30 #include "ChildNodeRequest.hpp" 31 #include "ChildNodeResponse.hpp" 32 33 #include "SubscribeModelRequest.hpp" 34 #include "SubscribeModelResponse.hpp" 35 28 36 #include "NewProjectRequest.hpp" 29 37 #include "NewProjectResponse.hpp" 30 #include "ChildNodeRequest.hpp" 31 #include "ChildNodeResponse.hpp" 32 #include "SubscribeModelRequest.hpp" 33 #include "SubscribeModelResponse.hpp" 38 34 39 35 40 #include <Zen/Enterprise/AppServer/I_NumericTypeMessageRegistry.hpp> … … 78 83 switch(getMessageType(_pMessageHeader)) 79 84 { 80 case NewProjectRequest::type:81 return pMessage_type(new NewProjectRequest(_pMessageHeader,82 _pSourceEndpoint,83 _pDestinationEndpoint),84 &destroy);85 case ChildNodeRequest::type: 86 return pMessage_type(new ChildNodeRequest(_pMessageHeader, 87 _pSourceEndpoint, 88 _pDestinationEndpoint), 89 &destroy); 85 90 86 case NewProjectResponse::type:87 return pMessage_type(new NewProjectResponse(_pMessageHeader,88 _pSourceEndpoint,89 _pDestinationEndpoint),90 &destroy);91 case ChildNodeResponse::type: 92 return pMessage_type(new ChildNodeResponse(_pMessageHeader, 93 _pSourceEndpoint, 94 _pDestinationEndpoint), 95 &destroy); 91 96 92 case ChildNodeRequest::type:93 return pMessage_type(new ChildNodeRequest(_pMessageHeader,94 _pSourceEndpoint,95 _pDestinationEndpoint),96 &destroy);97 case SubscribeModelRequest::type: 98 return pMessage_type(new SubscribeModelRequest(_pMessageHeader, 99 _pSourceEndpoint, 100 _pDestinationEndpoint), 101 &destroy); 97 102 98 case ChildNodeResponse::type:99 return pMessage_type(new ChildNodeResponse(_pMessageHeader,100 _pSourceEndpoint,101 _pDestinationEndpoint),102 &destroy);103 case SubscribeModelResponse::type: 104 return pMessage_type(new SubscribeModelResponse(_pMessageHeader, 105 _pSourceEndpoint, 106 _pDestinationEndpoint), 107 &destroy); 103 108 104 case SubscribeModelRequest::type:105 return pMessage_type(new SubscribeModelRequest(_pMessageHeader,106 _pSourceEndpoint,107 _pDestinationEndpoint),108 &destroy);109 case NewProjectRequest::type: 110 return pMessage_type(new NewProjectRequest(_pMessageHeader, 111 _pSourceEndpoint, 112 _pDestinationEndpoint), 113 &destroy); 109 114 110 case SubscribeModelResponse::type: 111 return pMessage_type(new SubscribeModelResponse(_pMessageHeader, 112 _pSourceEndpoint, 113 _pDestinationEndpoint), 114 &destroy); 115 case NewProjectResponse::type: 116 return pMessage_type(new NewProjectResponse(_pMessageHeader, 117 _pSourceEndpoint, 118 _pDestinationEndpoint), 119 &destroy); 120 121 115 122 } 116 123 … … 139 146 140 147 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 148 } // namespace Zen 149 } // namespace Studio 141 150 } // namespace Workbench 142 } // namespace Studio143 } // namespace Zen144 151 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ -
Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/MessageFactory.hpp
r3161 r3355 1 1 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 2 // Zen Studio WorkbenchFramework2 // Zen Community Framework 3 3 // 4 // Copyright (C) 2001 - 20 09Tony Richards4 // Copyright (C) 2001 - 2010 Tony Richards 5 5 // Copyright (C) 2008 - 2009 Matthew Alan Gray 6 6 // … … 24 24 // Matthew Alan Gray mgray@indiezen.org 25 25 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 #ifndef ZEN_STUDIO_WORKBENCHPROTOCOL_MESSAGE_FACTORY_HPP_INCLUDED 27 #define ZEN_STUDIO_WORKBENCHPROTOCOL_MESSAGE_FACTORY_HPP_INCLUDED 26 // This is generated by the Zen Protocol Code Generator. Do not modify! 27 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 28 #ifndef ZEN_STUDIO_WORKBENCH_MESSAGE_FACTORY_HPP_INCLUDED 29 #define ZEN_STUDIO_WORKBENCH_MESSAGE_FACTORY_HPP_INCLUDED 28 30 29 31 #include <Zen/Enterprise/AppServer/I_MessageFactory.hpp> … … 80 82 81 83 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 84 } // namespace Zen 85 } // namespace Studio 82 86 } // namespace Workbench 83 } // namespace Studio84 } // namespace Zen85 87 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 86 88 87 #endif // ZEN_STUDIO_WORKBENCH PROTOCOL_MESSAGE_FACTORY_HPP_INCLUDED89 #endif // ZEN_STUDIO_WORKBENCH_MESSAGE_FACTORY_HPP_INCLUDED -
Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/NewProjectRequest.cpp
r3161 r3355 1 1 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 2 // Zen Studio WorkbenchFramework2 // Zen Community Framework 3 3 // 4 // Copyright (C) 2001 - 20 09Tony Richards4 // Copyright (C) 2001 - 2010 Tony Richards 5 5 // Copyright (C) 2008 - 2009 Matthew Alan Gray 6 6 // … … 24 24 // Matthew Alan Gray mgray@indiezen.org 25 25 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 // This is generated by the Zen Protocol Code Generator. Do not modify! 27 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 28 #include "NewProjectRequest.hpp" 27 29 #include "MessageFactory.hpp" … … 38 40 #include <Zen/Core/Utility/runtime_exception.hpp> 39 41 42 #include <boost/archive/polymorphic_iarchive.hpp> 43 #include <boost/archive/polymorphic_oarchive.hpp> 44 40 45 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 41 46 namespace Zen { … … 50 55 pEndpoint_type _pDestinationEndpoint) 51 56 : Message(createMessageHeader(), _pSourceEndpoint, _pDestinationEndpoint) 57 , Request(getMessageHeader(), _pSourceEndpoint, _pDestinationEndpoint) 52 58 { 53 59 } … … 58 64 pEndpoint_type _pDestinationEndpoint) 59 65 : Message(_pMessageHeader, _pSourceEndpoint, _pDestinationEndpoint) 66 , Request(_pMessageHeader, _pSourceEndpoint, _pDestinationEndpoint) 60 67 { 61 68 } … … 70 77 NewProjectRequest::serialize(pMessageHeader_type _pHeader, boost::archive::polymorphic_iarchive& _archive, const int _version) 71 78 { 79 _archive & m_nodeId; 72 80 } 73 81 … … 76 84 NewProjectRequest::serialize(boost::archive::polymorphic_oarchive& _archive, const int _version) 77 85 { 86 _archive & m_nodeId; 87 } 88 89 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 90 const boost::uint64_t& 91 NewProjectRequest::getNodeId() const 92 { 93 return m_nodeId; 94 } 95 96 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 97 void 98 NewProjectRequest::setNodeId(const boost::uint64_t& _nodeId) 99 { 100 m_nodeId = _nodeId; 78 101 } 79 102 … … 113 136 NewProjectRequest::destroy(wpRequest_type _wpResponse) 114 137 { 115 NewProjectRequest* pRe sponse= dynamic_cast<NewProjectRequest*>(_wpResponse.get());138 NewProjectRequest* pRequest = dynamic_cast<NewProjectRequest*>(_wpResponse.get()); 116 139 117 if( pRe sponse!= NULL )140 if( pRequest != NULL ) 118 141 { 119 delete pRe sponse;142 delete pRequest; 120 143 } 121 144 else … … 137 160 return sm_pResourceLocation; 138 161 } 162 139 163 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 164 } // namespace Zen 165 } // namespace Studio 140 166 } // namespace Workbench 141 } // namespace Studio142 } // namespace Zen143 167 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ -
Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/NewProjectRequest.hpp
r3161 r3355 1 1 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 2 // Zen Studio WorkbenchFramework2 // Zen Community Framework 3 3 // 4 // Copyright (C) 2001 - 20 09Tony Richards4 // Copyright (C) 2001 - 2010 Tony Richards 5 5 // Copyright (C) 2008 - 2009 Matthew Alan Gray 6 6 // … … 24 24 // Matthew Alan Gray mgray@indiezen.org 25 25 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 #ifndef ZEN_STUDIO_WORKBENCH_NEW_PROJECT_REQUEST_HPP_INCLUDED 27 #define ZEN_STUDIO_WORKBENCH_NEW_PROJECT_REQUEST_HPP_INCLUDED 26 // This is generated by the Zen Protocol Code Generator. Do not modify! 27 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 28 #ifndef ZEN_STUDIO_WORKBENCH_NEWPROJECT_REQUEST_HPP_INCLUDED 29 #define ZEN_STUDIO_WORKBENCH_NEWPROJECT_REQUEST_HPP_INCLUDED 28 30 29 31 #include "../I_NewProjectRequest.hpp" 30 32 31 #include " Message.hpp"33 #include "Request.hpp" 32 34 33 35 #include <Zen/Enterprise/AppServer/I_MessageFactory.hpp> 36 37 #include <boost/cstdint.hpp> 38 #include <boost/serialization/string.hpp> 39 #include <string> 34 40 35 41 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ … … 42 48 } // namespace AppServer 43 49 } // namespace Enterprise 50 } // namespace Zen 51 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 52 namespace Zen { 44 53 namespace Studio { 45 54 namespace Workbench { 46 55 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 47 ;48 49 56 class NewProjectRequest 50 57 : public I_NewProjectRequest 51 , public Message58 , public Request 52 59 { 53 60 /// @name Types 54 61 /// @{ 55 62 public: 56 enum { type = 1 }; // TODO Should we be hardcoding this?63 enum { type = 113 }; // TODO Should we be hardcoding this? 57 64 typedef Zen::Memory::managed_ptr<Zen::Enterprise::AppServer::I_MessageType> pMessageType_type; 65 66 typedef Zen::Memory::managed_weak_ptr<Zen::Enterprise::AppServer::I_Request> wpRequest_type; 58 67 /// @} 59 68 … … 70 79 /// @} 71 80 72 /// @name NewProjectRequestimplementation81 /// @name I_Message implementation 73 82 /// @{ 74 83 public: 75 virtual unsigned int getMessageId() const { return Message::getMessageId(); } 84 virtual unsigned int getMessageId() const { return Message::getMessageId(); } 85 /// @} 86 87 /// @name Getter / Setter methods 88 /// @{ 89 public: 90 /// Get the nodeId element. 91 virtual const boost::uint64_t& getNodeId() const; 92 93 /// Set the nodeId element value. 94 virtual void setNodeId(const boost::uint64_t& _nodeId); 76 95 /// @} 77 96 … … 85 104 static void destroy(wpRequest_type _wpRequest); 86 105 /// @} 87 106 88 107 /// @name 'Structors 89 108 /// @{ 90 public: 109 protected: 110 friend class I_NewProjectRequest; 91 111 friend class MessageFactory; 92 112 /// This constructor is used by the static create 93 113 /// methods for creating outbound messages. 94 114 NewProjectRequest(pEndpoint_type _pSourceEndpoint, 95 pEndpoint_type _pDestinationEndpoint);115 pEndpoint_type _pDestinationEndpoint); 96 116 /// This constructor is used by the message factory 97 117 /// for creating inbound messages. 98 118 NewProjectRequest(pMessageHeader_type _pMessageHeader, 99 pEndpoint_type _pSourceEndpoint,100 pEndpoint_type _pDestinationEndpoint);119 pEndpoint_type _pSourceEndpoint, 120 pEndpoint_type _pDestinationEndpoint); 101 121 virtual ~NewProjectRequest(); 102 122 /// @} … … 109 129 static pMessageType_type sm_pType; 110 130 static Zen::Enterprise::AppServer::I_MessageRegistry* sm_pMessageRegistry; 131 132 boost::uint64_t m_nodeId; 133 111 134 /// @} 112 135 … … 114 137 115 138 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 139 } // namespace Zen 140 } // namespace Studio 116 141 } // namespace Workbench 117 } // namespace Studio118 } // namespace Zen119 142 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 120 143 121 #endif // ZEN_STUDIO_WORKBENCH_NEW _PROJECT_REQUEST_HPP_INCLUDED144 #endif // ZEN_STUDIO_WORKBENCH_NEWPROJECT_REQUEST_HPP_INCLUDED -
Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/NewProjectResponse.cpp
r3161 r3355 1 1 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 2 // Zen Studio WorkbenchFramework2 // Zen Community Framework 3 3 // 4 // Copyright (C) 2001 - 20 09Tony Richards4 // Copyright (C) 2001 - 2010 Tony Richards 5 5 // Copyright (C) 2008 - 2009 Matthew Alan Gray 6 6 // … … 24 24 // Matthew Alan Gray mgray@indiezen.org 25 25 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 // This is generated by the Zen Protocol Code Generator. Do not modify! 27 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 28 #include "NewProjectResponse.hpp" 27 29 #include "MessageFactory.hpp" … … 38 40 #include <Zen/Core/Utility/runtime_exception.hpp> 39 41 42 #include <boost/archive/polymorphic_iarchive.hpp> 43 #include <boost/archive/polymorphic_oarchive.hpp> 44 40 45 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 41 46 namespace Zen { … … 48 53 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 49 54 NewProjectResponse::NewProjectResponse(pEndpoint_type _pSourceEndpoint, 50 pEndpoint_type _pDestinationEndpoint) 55 pEndpoint_type _pDestinationEndpoint, 56 unsigned int _requestMessageId) 51 57 : Message(createMessageHeader(), _pSourceEndpoint, _pDestinationEndpoint) 58 , Response(getMessageHeader(), _pSourceEndpoint, _pDestinationEndpoint, _requestMessageId) 59 52 60 { 53 61 } … … 56 64 NewProjectResponse::NewProjectResponse(pMessageHeader_type _pMessageHeader, 57 65 pEndpoint_type _pSourceEndpoint, 58 pEndpoint_type _pDestinationEndpoint) 66 pEndpoint_type _pDestinationEndpoint, 67 unsigned int _requestMessageId) 59 68 : Message(_pMessageHeader, _pSourceEndpoint, _pDestinationEndpoint) 69 , Response(_pMessageHeader, _pSourceEndpoint, _pDestinationEndpoint, _requestMessageId) 60 70 { 61 71 } … … 137 147 return sm_pResourceLocation; 138 148 } 149 139 150 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 151 } // namespace Zen 152 } // namespace Studio 140 153 } // namespace Workbench 141 } // namespace Studio142 } // namespace Zen143 154 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ -
Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/NewProjectResponse.hpp
r3161 r3355 1 1 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 2 // Zen Studio WorkbenchFramework2 // Zen Community Framework 3 3 // 4 // Copyright (C) 2001 - 20 09Tony Richards4 // Copyright (C) 2001 - 2010 Tony Richards 5 5 // Copyright (C) 2008 - 2009 Matthew Alan Gray 6 6 // … … 24 24 // Matthew Alan Gray mgray@indiezen.org 25 25 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 #ifndef ZEN_STUDIO_WORKBENCH_NEW_PROJECT_RESPONSE_HPP_INCLUDED 27 #define ZEN_STUDIO_WORKBENCH_NEW_PROJECT_RESPONSE_HPP_INCLUDED 26 // This is generated by the Zen Protocol Code Generator. Do not modify! 27 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 28 #ifndef ZEN_STUDIO_WORKBENCH_NEWPROJECT_RESPONSE_HPP_INCLUDED 29 #define ZEN_STUDIO_WORKBENCH_NEWPROJECT_RESPONSE_HPP_INCLUDED 28 30 29 31 #include "../I_NewProjectResponse.hpp" 30 32 31 #include " Message.hpp"33 #include "Response.hpp" 32 34 33 35 #include <Zen/Enterprise/AppServer/I_MessageFactory.hpp> 36 37 #include <boost/cstdint.hpp> 38 #include <boost/serialization/string.hpp> 39 #include <string> 34 40 35 41 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ … … 42 48 } // namespace AppServer 43 49 } // namespace Enterprise 50 } // namespace Zen 51 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 52 namespace Zen { 44 53 namespace Studio { 45 54 namespace Workbench { 46 55 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 47 ;48 49 56 class NewProjectResponse 50 57 : public I_NewProjectResponse 51 , public Message58 , public Response 52 59 { 53 60 /// @name Types 54 61 /// @{ 55 62 public: 56 enum { type = 2}; // TODO Should we be hardcoding this?63 enum { type = 114 }; // TODO Should we be hardcoding this? 57 64 typedef Zen::Memory::managed_ptr<Zen::Enterprise::AppServer::I_MessageType> pMessageType_type; 65 66 typedef Zen::Memory::managed_weak_ptr<Zen::Enterprise::AppServer::I_Response> wpResponse_type; 58 67 /// @} 59 68 … … 70 79 /// @} 71 80 72 /// @name NewProjectResponse implementation81 /// @name I_Message implementation 73 82 /// @{ 74 83 public: 75 virtual unsigned int getMessageId() const { return Message::getMessageId(); } 84 virtual unsigned int getMessageId() const { return Message::getMessageId(); } 76 85 /// @} 77 86 87 /// @name Dominance for Response 88 /// @{ 89 public: 90 virtual unsigned int getRequestMessageId() const { return Response::getRequestMessageId(); } 91 /// @} 78 92 /// @name Static methods 79 93 /// @{ … … 85 99 static void destroy(wpResponse_type _wpResponse); 86 100 /// @} 87 101 88 102 /// @name 'Structors 89 103 /// @{ 90 public: 104 protected: 105 friend class I_NewProjectResponse; 91 106 friend class MessageFactory; 92 107 /// This constructor is used by the static create 93 108 /// methods for creating outbound messages. 94 109 NewProjectResponse(pEndpoint_type _pSourceEndpoint, 95 pEndpoint_type _pDestinationEndpoint);110 pEndpoint_type _pDestinationEndpoint, unsigned int _requestMessageId); 96 111 /// This constructor is used by the message factory 97 112 /// for creating inbound messages. 98 113 NewProjectResponse(pMessageHeader_type _pMessageHeader, 99 pEndpoint_type _pSourceEndpoint,100 pEndpoint_type _pDestinationEndpoint);114 pEndpoint_type _pSourceEndpoint, 115 pEndpoint_type _pDestinationEndpoint, unsigned int _requestMessageId); 101 116 virtual ~NewProjectResponse(); 102 117 /// @} … … 109 124 static pMessageType_type sm_pType; 110 125 static Zen::Enterprise::AppServer::I_MessageRegistry* sm_pMessageRegistry; 126 127 111 128 /// @} 112 129 … … 114 131 115 132 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 133 } // namespace Zen 134 } // namespace Studio 116 135 } // namespace Workbench 117 } // namespace Studio118 } // namespace Zen119 136 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 120 137 121 #endif // ZEN_STUDIO_WORKBENCH_NEW _PROJECT_RESPONSE_HPP_INCLUDED138 #endif // ZEN_STUDIO_WORKBENCH_NEWPROJECT_RESPONSE_HPP_INCLUDED -
Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/SubscribeModelRequest.cpp
r3161 r3355 1 1 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 2 // Zen Studio WorkbenchFramework2 // Zen Community Framework 3 3 // 4 // Copyright (C) 2001 - 20 09Tony Richards4 // Copyright (C) 2001 - 2010 Tony Richards 5 5 // Copyright (C) 2008 - 2009 Matthew Alan Gray 6 6 // … … 24 24 // Matthew Alan Gray mgray@indiezen.org 25 25 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 // This is generated by the Zen Protocol Code Generator. Do not modify! 27 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 28 #include "SubscribeModelRequest.hpp" 27 29 #include "MessageFactory.hpp" … … 38 40 #include <Zen/Core/Utility/runtime_exception.hpp> 39 41 42 #include <boost/archive/polymorphic_iarchive.hpp> 43 #include <boost/archive/polymorphic_oarchive.hpp> 44 40 45 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 41 46 namespace Zen { … … 50 55 pEndpoint_type _pDestinationEndpoint) 51 56 : Message(createMessageHeader(), _pSourceEndpoint, _pDestinationEndpoint) 57 , Request(getMessageHeader(), _pSourceEndpoint, _pDestinationEndpoint) 52 58 { 53 59 } … … 58 64 pEndpoint_type _pDestinationEndpoint) 59 65 : Message(_pMessageHeader, _pSourceEndpoint, _pDestinationEndpoint) 66 , Request(_pMessageHeader, _pSourceEndpoint, _pDestinationEndpoint) 60 67 { 61 68 } … … 70 77 SubscribeModelRequest::serialize(pMessageHeader_type _pHeader, boost::archive::polymorphic_iarchive& _archive, const int _version) 71 78 { 79 _archive & m_nodeId; 72 80 } 73 81 … … 76 84 SubscribeModelRequest::serialize(boost::archive::polymorphic_oarchive& _archive, const int _version) 77 85 { 86 _archive & m_nodeId; 87 } 88 89 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 90 const boost::uint64_t& 91 SubscribeModelRequest::getNodeId() const 92 { 93 return m_nodeId; 94 } 95 96 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 97 void 98 SubscribeModelRequest::setNodeId(const boost::uint64_t& _nodeId) 99 { 100 m_nodeId = _nodeId; 78 101 } 79 102 … … 111 134 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 112 135 void 113 SubscribeModelRequest::destroy(wpRequest_type _wpRe quest)136 SubscribeModelRequest::destroy(wpRequest_type _wpResponse) 114 137 { 115 SubscribeModelRequest* pRequest = dynamic_cast<SubscribeModelRequest*>(_wpRe quest.get());138 SubscribeModelRequest* pRequest = dynamic_cast<SubscribeModelRequest*>(_wpResponse.get()); 116 139 117 140 if( pRequest != NULL ) … … 137 160 return sm_pResourceLocation; 138 161 } 162 139 163 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 164 } // namespace Zen 165 } // namespace Studio 140 166 } // namespace Workbench 141 } // namespace Studio142 } // namespace Zen143 167 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ -
Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/SubscribeModelRequest.hpp
r3161 r3355 1 1 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 2 // Zen Studio WorkbenchFramework2 // Zen Community Framework 3 3 // 4 // Copyright (C) 2001 - 20 09Tony Richards4 // Copyright (C) 2001 - 2010 Tony Richards 5 5 // Copyright (C) 2008 - 2009 Matthew Alan Gray 6 6 // … … 24 24 // Matthew Alan Gray mgray@indiezen.org 25 25 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 #ifndef ZEN_STUDIO_WORKBENCH_SUBSCRIBE_MODEL_REQUEST_HPP_INCLUDED 27 #define ZEN_STUDIO_WORKBENCH_SUBSCRIBE_MODEL_REQUEST_HPP_INCLUDED 26 // This is generated by the Zen Protocol Code Generator. Do not modify! 27 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 28 #ifndef ZEN_STUDIO_WORKBENCH_SUBSCRIBEMODEL_REQUEST_HPP_INCLUDED 29 #define ZEN_STUDIO_WORKBENCH_SUBSCRIBEMODEL_REQUEST_HPP_INCLUDED 28 30 29 31 #include "../I_SubscribeModelRequest.hpp" 30 32 31 #include " Message.hpp"33 #include "Request.hpp" 32 34 33 35 #include <Zen/Enterprise/AppServer/I_MessageFactory.hpp> 36 37 #include <boost/cstdint.hpp> 38 #include <boost/serialization/string.hpp> 39 #include <string> 34 40 35 41 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ … … 42 48 } // namespace AppServer 43 49 } // namespace Enterprise 50 } // namespace Zen 51 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 52 namespace Zen { 44 53 namespace Studio { 45 54 namespace Workbench { 46 55 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 47 ;48 49 56 class SubscribeModelRequest 50 57 : public I_SubscribeModelRequest 51 , public Message58 , public Request 52 59 { 53 60 /// @name Types 54 61 /// @{ 55 62 public: 56 enum { type = 5 }; // TODO Should we be hardcoding this?63 enum { type = 115 }; // TODO Should we be hardcoding this? 57 64 typedef Zen::Memory::managed_ptr<Zen::Enterprise::AppServer::I_MessageType> pMessageType_type; 65 66 typedef Zen::Memory::managed_weak_ptr<Zen::Enterprise::AppServer::I_Request> wpRequest_type; 58 67 /// @} 59 68 … … 70 79 /// @} 71 80 72 /// @name SubscribeModelRequestimplementation81 /// @name I_Message implementation 73 82 /// @{ 74 83 public: 75 virtual unsigned int getMessageId() const { return Message::getMessageId(); } 84 virtual unsigned int getMessageId() const { return Message::getMessageId(); } 85 /// @} 86 87 /// @name Getter / Setter methods 88 /// @{ 89 public: 90 /// Get the nodeId element. 91 virtual const boost::uint64_t& getNodeId() const; 92 93 /// Set the nodeId element value. 94 virtual void setNodeId(const boost::uint64_t& _nodeId); 76 95 /// @} 77 96 … … 85 104 static void destroy(wpRequest_type _wpRequest); 86 105 /// @} 87 106 88 107 /// @name 'Structors 89 108 /// @{ 90 public: 109 protected: 110 friend class I_SubscribeModelRequest; 91 111 friend class MessageFactory; 92 112 /// This constructor is used by the static create 93 113 /// methods for creating outbound messages. 94 114 SubscribeModelRequest(pEndpoint_type _pSourceEndpoint, 95 pEndpoint_type _pDestinationEndpoint);115 pEndpoint_type _pDestinationEndpoint); 96 116 /// This constructor is used by the message factory 97 117 /// for creating inbound messages. 98 118 SubscribeModelRequest(pMessageHeader_type _pMessageHeader, 99 pEndpoint_type _pSourceEndpoint,100 pEndpoint_type _pDestinationEndpoint);119 pEndpoint_type _pSourceEndpoint, 120 pEndpoint_type _pDestinationEndpoint); 101 121 virtual ~SubscribeModelRequest(); 102 122 /// @} … … 109 129 static pMessageType_type sm_pType; 110 130 static Zen::Enterprise::AppServer::I_MessageRegistry* sm_pMessageRegistry; 131 132 boost::uint64_t m_nodeId; 133 111 134 /// @} 112 135 … … 114 137 115 138 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 139 } // namespace Zen 140 } // namespace Studio 116 141 } // namespace Workbench 117 } // namespace Studio118 } // namespace Zen119 142 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 120 143 121 #endif // ZEN_STUDIO_WORKBENCH_SUBSCRIBE _MODEL_REQUEST_HPP_INCLUDED144 #endif // ZEN_STUDIO_WORKBENCH_SUBSCRIBEMODEL_REQUEST_HPP_INCLUDED -
Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/SubscribeModelResponse.cpp
r3161 r3355 1 1 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 2 // Zen Studio WorkbenchFramework2 // Zen Community Framework 3 3 // 4 // Copyright (C) 2001 - 20 09Tony Richards4 // Copyright (C) 2001 - 2010 Tony Richards 5 5 // Copyright (C) 2008 - 2009 Matthew Alan Gray 6 6 // … … 24 24 // Matthew Alan Gray mgray@indiezen.org 25 25 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 // This is generated by the Zen Protocol Code Generator. Do not modify! 27 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 28 #include "SubscribeModelResponse.hpp" 27 29 #include "MessageFactory.hpp" … … 38 40 #include <Zen/Core/Utility/runtime_exception.hpp> 39 41 42 #include <boost/archive/polymorphic_iarchive.hpp> 43 #include <boost/archive/polymorphic_oarchive.hpp> 44 40 45 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 41 46 namespace Zen { … … 48 53 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 49 54 SubscribeModelResponse::SubscribeModelResponse(pEndpoint_type _pSourceEndpoint, 50 pEndpoint_type _pDestinationEndpoint) 55 pEndpoint_type _pDestinationEndpoint, 56 unsigned int _requestMessageId) 51 57 : Message(createMessageHeader(), _pSourceEndpoint, _pDestinationEndpoint) 58 , Response(getMessageHeader(), _pSourceEndpoint, _pDestinationEndpoint, _requestMessageId) 59 52 60 { 53 61 } … … 56 64 SubscribeModelResponse::SubscribeModelResponse(pMessageHeader_type _pMessageHeader, 57 65 pEndpoint_type _pSourceEndpoint, 58 pEndpoint_type _pDestinationEndpoint) 66 pEndpoint_type _pDestinationEndpoint, 67 unsigned int _requestMessageId) 59 68 : Message(_pMessageHeader, _pSourceEndpoint, _pDestinationEndpoint) 69 , Response(_pMessageHeader, _pSourceEndpoint, _pDestinationEndpoint, _requestMessageId) 60 70 { 61 71 } … … 137 147 return sm_pResourceLocation; 138 148 } 149 139 150 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 151 } // namespace Zen 152 } // namespace Studio 140 153 } // namespace Workbench 141 } // namespace Studio142 } // namespace Zen143 154 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ -
Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/SubscribeModelResponse.hpp
r3161 r3355 1 1 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 2 // Zen Studio WorkbenchFramework2 // Zen Community Framework 3 3 // 4 // Copyright (C) 2001 - 20 09Tony Richards4 // Copyright (C) 2001 - 2010 Tony Richards 5 5 // Copyright (C) 2008 - 2009 Matthew Alan Gray 6 6 // … … 24 24 // Matthew Alan Gray mgray@indiezen.org 25 25 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 #ifndef ZEN_STUDIO_WORKBENCH_SUBSCRIBE_MODEL_RESPONSE_HPP_INCLUDED 27 #define ZEN_STUDIO_WORKBENCH_SUBSCRIBE_MODEL_RESPONSE_HPP_INCLUDED 26 // This is generated by the Zen Protocol Code Generator. Do not modify! 27 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 28 #ifndef ZEN_STUDIO_WORKBENCH_SUBSCRIBEMODEL_RESPONSE_HPP_INCLUDED 29 #define ZEN_STUDIO_WORKBENCH_SUBSCRIBEMODEL_RESPONSE_HPP_INCLUDED 28 30 29 31 #include "../I_SubscribeModelResponse.hpp" 30 32 31 #include " Message.hpp"33 #include "Response.hpp" 32 34 33 35 #include <Zen/Enterprise/AppServer/I_MessageFactory.hpp> 36 37 #include <boost/cstdint.hpp> 38 #include <boost/serialization/string.hpp> 39 #include <string> 34 40 35 41 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ … … 42 48 } // namespace AppServer 43 49 } // namespace Enterprise 50 } // namespace Zen 51 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 52 namespace Zen { 44 53 namespace Studio { 45 54 namespace Workbench { 46 55 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 47 ;48 49 56 class SubscribeModelResponse 50 57 : public I_SubscribeModelResponse 51 , public Message58 , public Response 52 59 { 53 60 /// @name Types 54 61 /// @{ 55 62 public: 56 enum { type = 6 }; // TODO Should we be hardcoding this?63 enum { type = 116 }; // TODO Should we be hardcoding this? 57 64 typedef Zen::Memory::managed_ptr<Zen::Enterprise::AppServer::I_MessageType> pMessageType_type; 65 66 typedef Zen::Memory::managed_weak_ptr<Zen::Enterprise::AppServer::I_Response> wpResponse_type; 58 67 /// @} 59 68 … … 70 79 /// @} 71 80 72 /// @name SubscribeModelResponse implementation81 /// @name I_Message implementation 73 82 /// @{ 74 83 public: 75 virtual unsigned int getMessageId() const { return Message::getMessageId(); } 84 virtual unsigned int getMessageId() const { return Message::getMessageId(); } 76 85 /// @} 77 86 87 /// @name Dominance for Response 88 /// @{ 89 public: 90 virtual unsigned int getRequestMessageId() const { return Response::getRequestMessageId(); } 91 /// @} 78 92 /// @name Static methods 79 93 /// @{ … … 85 99 static void destroy(wpResponse_type _wpResponse); 86 100 /// @} 87 101 88 102 /// @name 'Structors 89 103 /// @{ 90 public: 104 protected: 105 friend class I_SubscribeModelResponse; 91 106 friend class MessageFactory; 92 107 /// This constructor is used by the static create 93 108 /// methods for creating outbound messages. 94 109 SubscribeModelResponse(pEndpoint_type _pSourceEndpoint, 95 pEndpoint_type _pDestinationEndpoint);110 pEndpoint_type _pDestinationEndpoint, unsigned int _requestMessageId); 96 111 /// This constructor is used by the message factory 97 112 /// for creating inbound messages. 98 113 SubscribeModelResponse(pMessageHeader_type _pMessageHeader, 99 pEndpoint_type _pSourceEndpoint,100 pEndpoint_type _pDestinationEndpoint);114 pEndpoint_type _pSourceEndpoint, 115 pEndpoint_type _pDestinationEndpoint, unsigned int _requestMessageId); 101 116 virtual ~SubscribeModelResponse(); 102 117 /// @} … … 109 124 static pMessageType_type sm_pType; 110 125 static Zen::Enterprise::AppServer::I_MessageRegistry* sm_pMessageRegistry; 126 127 111 128 /// @} 112 129 … … 114 131 115 132 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 133 } // namespace Zen 134 } // namespace Studio 116 135 } // namespace Workbench 117 } // namespace Studio118 } // namespace Zen119 136 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 120 137 121 #endif // ZEN_STUDIO_WORKBENCH_SUBSCRIBE _MODEL_RESPONSE_HPP_INCLUDED138 #endif // ZEN_STUDIO_WORKBENCH_SUBSCRIBEMODEL_RESPONSE_HPP_INCLUDED -
Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/WorkbenchProtocolManager.cpp
r3161 r3355 1 1 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 2 // Zen Studio2 // Zen Community Framework 3 3 // 4 // Copyright (C) 2001 - 20 09Tony Richards4 // Copyright (C) 2001 - 2010 Tony Richards 5 5 // Copyright (C) 2008 - 2009 Matthew Alan Gray 6 6 // … … 24 24 // Matthew Alan Gray mgray@indiezen.org 25 25 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 26 // This is generated by the Zen Protocol Code Generator. Do not modify! 27 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 28 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 29 // Zen Protocol 30 // 31 // Copyright (C) 2001 - 2009 Tony Richards 32 // 33 // Licensed under the Games by Sarge Publishing License - See your licensing 34 // agreement for terms and conditions. 35 // 36 // Do not redistribute this source code. 37 // 38 // Tony Richards trichards@gamesbysarge.com 39 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 40 // This is generated by the Zen Protocol Code Generator. Do not modify! 41 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 27 42 #include "WorkbenchProtocolManager.hpp" 28 29 #include "NewProjectRequest.hpp"30 #include "NewProjectResponse.hpp"31 43 32 44 #include "ChildNodeRequest.hpp" … … 35 47 #include "SubscribeModelRequest.hpp" 36 48 #include "SubscribeModelResponse.hpp" 49 50 #include "NewProjectRequest.hpp" 51 #include "NewProjectResponse.hpp" 52 37 53 38 54 #include <Zen/Enterprise/AppServer/I_ApplicationServer.hpp> … … 46 62 namespace Workbench { 47 63 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 64 48 65 WorkbenchProtocolManager::WorkbenchProtocolManager() 49 : m_installed(false)50 66 { 51 67 } … … 60 76 WorkbenchProtocolManager::install(Zen::Enterprise::AppServer::I_ApplicationServer& _appServer) 61 77 { 62 if ( !m_installed)78 if (!m_installed) 63 79 { 64 NewProjectRequest::registerMessage(_appServer);65 NewProjectResponse::registerMessage(_appServer);66 67 80 ChildNodeRequest::registerMessage(_appServer); 68 81 ChildNodeResponse::registerMessage(_appServer); … … 71 84 SubscribeModelResponse::registerMessage(_appServer); 72 85 86 NewProjectRequest::registerMessage(_appServer); 87 NewProjectResponse::registerMessage(_appServer); 88 73 89 m_installed = true; 74 90 } 75 91 } 92 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 93 } // namespace Zen 94 } // namespace Studio 95 } // namespace Workbench 96 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 76 97 77 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~78 } // namespace Workbench79 } // namespace Studio80 } // namespace Zen81 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ -
Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/WorkbenchProtocolManager.hpp
r3161 r3355 1 1 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 2 // Zen Studio2 // Zen Community Framework 3 3 // 4 // Copyright (C) 2001 - 20 09Tony Richards4 // Copyright (C) 2001 - 2010 Tony Richards 5 5 // Copyright (C) 2008 - 2009 Matthew Alan Gray 6 6 // … … 24 24 // Matthew Alan Gray mgray@indiezen.org 25 25 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 26 #ifndef ZEN_STUDIO_WORKBENCH_WORKBENCH_PROTOCOL_MANAGER_HPP_INCLUDED 27 #define ZEN_STUDIO_WORKBENCH_WORKBENCH_PROTOCOL_MANAGER_HPP_INCLUDED 26 // This is generated by the Zen Protocol Code Generator. Do not modify! 27 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 28 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 29 // Zen Community Framework 30 // 31 // Copyright (C) 2001 - 2010 Tony Richards 32 // Copyright (C) 2008 - 2009 Matthew Alan Gray 33 // 34 // This software is provided 'as-is', without any express or implied 35 // warranty. In no event will the authors be held liable for any damages 36 // arising from the use of this software. 37 // 38 // Permission is granted to anyone to use this software for any purpose, 39 // including commercial applications, and to alter it and redistribute it 40 // freely, subject to the following restrictions: 41 // 42 // 1. The origin of this software must not be misrepresented; you must not 43 // claim that you wrote the original software. If you use this software 44 // in a product, an acknowledgment in the product documentation would be 45 // appreciated but is not required. 46 // 2. Altered source versions must be plainly marked as such, and must not be 47 // misrepresented as being the original software. 48 // 3. This notice may not be removed or altered from any source distribution. 49 // 50 // Tony Richards trichards@indiezen.com 51 // Matthew Alan Gray mgray@indiezen.org 52 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 53 // This is generated by the Zen Protocol Code Generator. Do not modify! 54 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 55 #ifndef ZEN_STUDIO_WORKBENCH_MANAGER_HPP_INCLUDED 56 #define ZEN_STUDIO_WORKBENCH_MANAGER_HPP_INCLUDED 28 57 29 58 #include "../I_WorkbenchProtocolManager.hpp" … … 34 63 namespace Workbench { 35 64 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 36 ; 65 37 66 38 67 class WorkbenchProtocolManager 39 : public I_WorkbenchProtocolManager68 : public I_WorkbenchProtocolManager 40 69 { 41 /// @name Types42 /// @{70 /// @name Types 71 /// @{ 43 72 public: 44 /// @}73 /// @} 45 74 46 /// @name I_WorkbenchProtocolManager implementation47 /// @{75 /// @name I_WorkbenchProtocolManager implementation 76 /// @{ 48 77 public: 49 virtual void install(Zen::Enterprise::AppServer::I_ApplicationServer& _appServer);50 /// @}78 virtual void install(Zen::Enterprise::AppServer::I_ApplicationServer& _appServer); 79 /// @} 51 80 52 /// @name 'Structors53 /// @{81 /// @name 'Structors 82 /// @{ 54 83 public: 55 WorkbenchProtocolManager();56 virtual ~WorkbenchProtocolManager();57 /// @}84 WorkbenchProtocolManager(); 85 virtual ~WorkbenchProtocolManager(); 86 /// @} 58 87 59 /// @name Member variables88 /// @name Member Variables 60 89 /// @{ 61 90 private: … … 63 92 /// @} 64 93 65 }; // class WorkbenchProtocolManager94 }; // class WorkbenchProtocolManager 66 95 67 96 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 68 } // namespace Workbench69 } // namespace Studio70 } // namespace Zen97 } // namespace Zen 98 } // namespace Studio 99 } // namespace Workbench 71 100 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 72 101 73 #endif // ZEN_STUDIO_WORKBENCH_WORKBENCH_PROTOCOL_MANAGER_HPP_INCLUDED 102 103 #endif // ZEN_STUDIO_WORKBENCH_MANAGER_HPP_INCLUDED
