Changeset 3355

Show
Ignore:
Timestamp:
02/02/10 12:04:00 (6 weeks ago)
Author:
trichards
Message:

Switched Workbench Protocol to use generated code instead of being hand-coded.

Location:
Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol
Files:
4 added
5 removed
34 modified

Legend:

Unmodified
Added
Removed
  • Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/I_ChildNodeRequest.hpp

    r3161 r3355  
    11//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2 // Zen Studio Workbench 
     2// Zen Community Framework 
    33// 
    4 // Copyright (C) 2001 - 2009 Tony Richards 
     4// Copyright (C) 2001 - 2010 Tony Richards 
    55// Copyright (C) 2008 - 2009 Matthew Alan Gray 
    6 // Copyright (C)        2009 Jason Smith 
    76// 
    87//  This software is provided 'as-is', without any express or implied 
     
    2423//  Tony Richards trichards@indiezen.com 
    2524//  Matthew Alan Gray mgray@indiezen.org 
    26 //  Jason Smith jsmith@airsteampunk.com 
    2725//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    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 
    3030 
    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> 
    3243 
    3344//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     
    3849 
    3950class WORKBENCHPROTOCOL_DLL_LINK I_ChildNodeRequest 
    40 :   public virtual I_WorkbenchRequest 
     51:   public Zen::Enterprise::AppServer::I_Request 
    4152{ 
    4253    /// @name Types 
    4354    /// @{ 
    4455public: 
    45     typedef Memory::managed_ptr<Enterprise::AppServer::I_Request>   pRequest_type; 
     56    typedef Zen::Memory::managed_ptr<Zen::Enterprise::AppServer::I_Request>   pRequest_type; 
    4657    /// @} 
    4758 
    48     /// @name I_ChildNodeRequest interface 
     59    /// @name Getter / Setter methods 
    4960    /// @{ 
    5061public: 
     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; 
    5167    /// @} 
    5268 
     
    6076    /// @name 'Structors 
    6177    /// @{ 
     78protected: 
    6279             I_ChildNodeRequest(); 
    6380    virtual ~I_ChildNodeRequest(); 
     
    6784 
    6885//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     86}   // namespace Zen 
     87}   // namespace Studio 
    6988}   // namespace Workbench 
    70 }   // namespace Studio 
     89//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     90 
     91//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     92namespace Zen { 
    7193namespace Memory { 
    7294    // I_ChildNodeRequest is managed by factory 
    7395    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{}; 
    7597}   // namespace Memory 
    7698}   // namespace Zen 
    7799//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    78100 
    79 #endif // ZEN_STUDIO_WORKBENCH_I_CHILD_NODE_REQUEST_HPP_INCLUDED 
     101#endif // ZEN_STUDIO_WORKBENCH_I_CHILDNODE_REQUEST_HPP_INCLUDED 
  • Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/I_ChildNodeResponse.hpp

    r3161 r3355  
    11//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2 // Zen Studio Workbench 
     2// Zen Community Framework 
    33// 
    4 // Copyright (C) 2001 - 2009 Tony Richards 
     4// Copyright (C) 2001 - 2010 Tony Richards 
    55// Copyright (C) 2008 - 2009 Matthew Alan Gray 
    6 // Copyright (C)        2009 Jason Smith 
    76// 
    87//  This software is provided 'as-is', without any express or implied 
     
    2423//  Tony Richards trichards@indiezen.com 
    2524//  Matthew Alan Gray mgray@indiezen.org 
    26 //  Jason Smith jsmith@airsteampunk.com 
    2725//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    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 
    3030 
    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> 
    3243 
    3344//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     
    3849 
    3950class WORKBENCHPROTOCOL_DLL_LINK I_ChildNodeResponse 
    40 :   public virtual I_WorkbenchResponse 
     51:   public Zen::Enterprise::AppServer::I_Response 
    4152{ 
    4253    /// @name Types 
    4354    /// @{ 
    4455public: 
    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; 
    5157    /// @} 
    5258 
     
    5561public: 
    5662    static pResponse_type create(pEndpoint_type _pSourceEndpoint, 
    57                                 pEndpoint_type _pDestinationEndpoint); 
     63                                pEndpoint_type _pDestinationEndpoint, unsigned int _requestMessageId); 
    5864    /// @} 
    5965 
    6066    /// @name 'Structors 
    6167    /// @{ 
     68protected: 
    6269             I_ChildNodeResponse(); 
    6370    virtual ~I_ChildNodeResponse(); 
     
    6774 
    6875//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     76}   // namespace Zen 
     77}   // namespace Studio 
    6978}   // namespace Workbench 
    70 }   // namespace Studio 
     79//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     80 
     81//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     82namespace Zen { 
    7183namespace Memory { 
    7284    // I_ChildNodeResponse is managed by factory 
    7385    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{}; 
    7587}   // namespace Memory 
    7688}   // namespace Zen 
    7789//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    7890 
    79 #endif // ZEN_STUDIO_WORKBENCH_I_CHILD_NODE_RESPONSE_HPP_INCLUDED 
     91#endif // ZEN_STUDIO_WORKBENCH_I_CHILDNODE_RESPONSE_HPP_INCLUDED 
  • Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/I_Message.hpp

    r3161 r3355  
    11//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2 // Zen Studio Workbench 
     2// Zen Community Framework 
    33// 
    4 // Copyright (C) 2001 - 2008 Tony Richards 
    5 // Copyright (C)        2009 Jason Smith 
     4// Copyright (C) 2001 - 2010 Tony Richards 
     5// Copyright (C) 2008 - 2009 Matthew Alan Gray 
    66// 
    77//  This software is provided 'as-is', without any express or implied 
     
    2222// 
    2323//  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! 
    2527//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2628#ifndef ZEN_STUDIO_WORKBENCH_I_MESSAGE_HPP_INCLUDED 
     
    6365 
    6466//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     67}   // namespace Zen 
     68}   // namespace Studio 
    6569}   // namespace Workbench 
    66 }   // namespace Studio 
     70//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     71 
     72//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     73namespace Zen { 
    6774namespace Memory { 
    6875    // I_Message is managed by factory 
  • Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/I_NewProjectRequest.hpp

    r3161 r3355  
    11//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2 // Zen Studio 
     2// Zen Community Framework 
    33// 
    4 // Copyright (C) 2001 - 2009 Tony Richards 
     4// Copyright (C) 2001 - 2010 Tony Richards 
    55// Copyright (C) 2008 - 2009 Matthew Alan Gray 
    66// 
     
    2424//  Matthew Alan Gray mgray@indiezen.org 
    2525//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    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 
    2830 
    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> 
    3043 
    3144//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     
    3649 
    3750class WORKBENCHPROTOCOL_DLL_LINK I_NewProjectRequest 
    38 :   public virtual I_WorkbenchRequest 
     51:   public Zen::Enterprise::AppServer::I_Request 
    3952{ 
    4053    /// @name Types 
    4154    /// @{ 
    4255public: 
    43     typedef Memory::managed_ptr<Enterprise::AppServer::I_Request>   pRequest_type; 
     56    typedef Zen::Memory::managed_ptr<Zen::Enterprise::AppServer::I_Request>   pRequest_type; 
    4457    /// @} 
    4558 
    46     /// @name I_NewProjectRequest interface 
     59    /// @name Getter / Setter methods 
    4760    /// @{ 
    4861public: 
     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; 
    4967    /// @} 
    5068 
     
    5876    /// @name 'Structors 
    5977    /// @{ 
     78protected: 
    6079             I_NewProjectRequest(); 
    6180    virtual ~I_NewProjectRequest(); 
     
    6584 
    6685//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     86}   // namespace Zen 
     87}   // namespace Studio 
    6788}   // namespace Workbench 
    68 }   // namespace Studio 
     89//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     90 
     91//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     92namespace Zen { 
    6993namespace Memory { 
    7094    // I_NewProjectRequest is managed by factory 
    7195    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{}; 
    7397}   // namespace Memory 
    7498}   // namespace Zen 
    7599//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    76100 
    77 #endif // ZEN_STUDIO_WORKBENCH_I_NEW_PROJECT_REQUEST_HPP_INCLUDED 
     101#endif // ZEN_STUDIO_WORKBENCH_I_NEWPROJECT_REQUEST_HPP_INCLUDED 
  • Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/I_NewProjectResponse.hpp

    r3161 r3355  
    11//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2 // Zen Studio 
     2// Zen Community Framework 
    33// 
    4 // Copyright (C) 2001 - 2009 Tony Richards 
     4// Copyright (C) 2001 - 2010 Tony Richards 
    55// Copyright (C) 2008 - 2009 Matthew Alan Gray 
    66// 
     
    2424//  Matthew Alan Gray mgray@indiezen.org 
    2525//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    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 
    2830 
    2931#include "Configuration.hpp" 
    3032 
    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> 
    3243 
    3344//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     
    3849 
    3950class WORKBENCHPROTOCOL_DLL_LINK I_NewProjectResponse 
    40 :   public I_WorkbenchResponse 
     51:   public Zen::Enterprise::AppServer::I_Response 
    4152{ 
    4253    /// @name Types 
    4354    /// @{ 
    4455public: 
    45     /// @} 
    46  
    47     /// @name I_NewProjectResponse interface 
    48     /// @{ 
    49 public: 
     56    typedef Zen::Memory::managed_ptr<Zen::Enterprise::AppServer::I_Response>   pResponse_type; 
    5057    /// @} 
    5158 
     
    5461public: 
    5562    static pResponse_type create(pEndpoint_type _pSourceEndpoint, 
    56                                  pEndpoint_type _pDestinationEndpoint); 
     63                                pEndpoint_type _pDestinationEndpoint, unsigned int _requestMessageId); 
    5764    /// @} 
    5865 
     
    6774 
    6875//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     76}   // namespace Zen 
     77}   // namespace Studio 
    6978}   // namespace Workbench 
    70 }   // namespace Studio 
     79//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     80 
     81//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     82namespace Zen { 
    7183namespace Memory { 
    7284    // I_NewProjectResponse is managed by factory 
    7385    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{}; 
    7587}   // namespace Memory 
    7688}   // namespace Zen 
    7789//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    7890 
    79 #endif // ZEN_STUDIO_WORKBENCH_I_NEW_PROJECT_RESPONSE_HPP_INCLUDED 
     91#endif // ZEN_STUDIO_WORKBENCH_I_NEWPROJECT_RESPONSE_HPP_INCLUDED 
  • Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/I_SubscribeModelRequest.hpp

    r3161 r3355  
    11//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2 // Zen Studio 
     2// Zen Community Framework 
    33// 
    4 // Copyright (C) 2001 - 2009 Tony Richards 
     4// Copyright (C) 2001 - 2010 Tony Richards 
    55// Copyright (C) 2008 - 2009 Matthew Alan Gray 
    66// 
     
    2424//  Matthew Alan Gray mgray@indiezen.org 
    2525//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    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 
    2830 
    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> 
    3043 
    3144//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     
    3649 
    3750class WORKBENCHPROTOCOL_DLL_LINK I_SubscribeModelRequest 
    38 :   public virtual I_WorkbenchRequest 
     51:   public Zen::Enterprise::AppServer::I_Request 
    3952{ 
    4053    /// @name Types 
    4154    /// @{ 
    4255public: 
    43     typedef Memory::managed_ptr<Enterprise::AppServer::I_Request>   pRequest_type; 
     56    typedef Zen::Memory::managed_ptr<Zen::Enterprise::AppServer::I_Request>   pRequest_type; 
    4457    /// @} 
    4558 
    46     /// @name I_SubscribeModelRequest interface 
     59    /// @name Getter / Setter methods 
    4760    /// @{ 
    4861public: 
     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; 
    4967    /// @} 
    5068 
     
    5876    /// @name 'Structors 
    5977    /// @{ 
     78protected: 
    6079             I_SubscribeModelRequest(); 
    6180    virtual ~I_SubscribeModelRequest(); 
     
    6584 
    6685//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     86}   // namespace Zen 
     87}   // namespace Studio 
    6788}   // namespace Workbench 
    68 }   // namespace Studio 
     89//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     90 
     91//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     92namespace Zen { 
    6993namespace Memory { 
    7094    // I_SubscribeModelRequest is managed by factory 
    7195    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{}; 
    7397}   // namespace Memory 
    7498}   // namespace Zen 
    7599//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    76100 
    77 #endif // ZEN_STUDIO_WORKBENCH_I_SUBSCRIBE_MODEL_REQUEST_HPP_INCLUDED 
     101#endif // ZEN_STUDIO_WORKBENCH_I_SUBSCRIBEMODEL_REQUEST_HPP_INCLUDED 
  • Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/I_SubscribeModelResponse.hpp

    r3161 r3355  
    11//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2 // Zen Studio 
     2// Zen Community Framework 
    33// 
    4 // Copyright (C) 2001 - 2009 Tony Richards 
     4// Copyright (C) 2001 - 2010 Tony Richards 
    55// Copyright (C) 2008 - 2009 Matthew Alan Gray 
    66// 
     
    2424//  Matthew Alan Gray mgray@indiezen.org 
    2525//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    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 
    2830 
    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> 
    3043 
    3144//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     
    3649 
    3750class WORKBENCHPROTOCOL_DLL_LINK I_SubscribeModelResponse 
    38 :   public virtual I_WorkbenchResponse 
     51:   public Zen::Enterprise::AppServer::I_Response 
    3952{ 
    4053    /// @name Types 
    4154    /// @{ 
    4255public: 
    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; 
    4957    /// @} 
    5058 
     
    5361public: 
    5462    static pResponse_type create(pEndpoint_type _pSourceEndpoint, 
    55                                 pEndpoint_type _pDestinationEndpoint); 
     63                                pEndpoint_type _pDestinationEndpoint, unsigned int _requestMessageId); 
    5664    /// @} 
    5765 
    5866    /// @name 'Structors 
    5967    /// @{ 
     68protected: 
    6069             I_SubscribeModelResponse(); 
    6170    virtual ~I_SubscribeModelResponse(); 
     
    6574 
    6675//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     76}   // namespace Zen 
     77}   // namespace Studio 
    6778}   // namespace Workbench 
    68 }   // namespace Studio 
     79//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     80 
     81//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     82namespace Zen { 
    6983namespace Memory { 
    7084    // I_SubscribeModelResponse is managed by factory 
    7185    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{}; 
    7387}   // namespace Memory 
    7488}   // namespace Zen 
    7589//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    7690 
    77 #endif // ZEN_STUDIO_WORKBENCH_I_SUBSCRIBE_MODEL_RESPONSE_HPP_INCLUDED 
     91#endif // ZEN_STUDIO_WORKBENCH_I_SUBSCRIBEMODEL_RESPONSE_HPP_INCLUDED 
  • Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/I_WorkbenchProtocolManager.hpp

    r3161 r3355  
    11//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2 // Zen Studio 
     2// Zen Community Framework 
    33// 
    4 // Copyright (C) 2001 - 2009 Tony Richards 
     4// Copyright (C) 2001 - 2010 Tony Richards 
    55// Copyright (C) 2008 - 2009 Matthew Alan Gray 
    66// 
     
    2424//  Matthew Alan Gray mgray@indiezen.org 
    2525//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    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 
    2830 
    2931#include "Configuration.hpp" 
    3032 
     33#include "I_Message.hpp" 
     34 
    3135#include <Zen/Core/Memory/managed_ptr.hpp> 
    32  
    33 #include <Zen/Enterprise/AppServer/I_Request.hpp> 
    34  
    35 #include "I_Message.hpp" 
    3636 
    3737//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     
    4242                }       // namespace AppServer 
    4343        }       // namespace Enterprise 
     44}   // namespace Zen 
     45//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     46namespace Zen { 
    4447namespace Studio { 
    4548namespace Workbench { 
    4649//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    47 ; 
    4850 
    49 /// Workbench application protocol manager. 
     51 
    5052class WORKBENCHPROTOCOL_DLL_LINK I_WorkbenchProtocolManager 
    5153{ 
    52  
    5354    /// @name Types 
    5455    /// @{ 
     
    7071    static I_WorkbenchProtocolManager& getSingleton(); 
    7172    /// @} 
    72  
    7373    /// @name 'Structors 
    7474    /// @{ 
     
    8181 
    8282//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     83}   // namespace Zen 
     84}   // namespace Studio 
    8385}   // namespace Workbench 
    84 }   // namespace Studio 
    85 }   // namespace Zen 
    8686//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    8787 
    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  
    11//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2 // Zen Studio Workbench Framework 
     2// Zen Community Framework 
    33// 
    4 // Copyright (C) 2001 - 2009 Tony Richards 
     4// Copyright (C) 2001 - 2010 Tony Richards 
    55// Copyright (C) 2008 - 2009 Matthew Alan Gray 
    66// 
     
    2424//  Matthew Alan Gray mgray@indiezen.org 
    2525//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     26// This is generated by the Zen Protocol Code Generator.  Do not modify! 
     27//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2628#include "ChildNodeRequest.hpp" 
    2729#include "MessageFactory.hpp" 
     
    3840#include <Zen/Core/Utility/runtime_exception.hpp> 
    3941 
     42#include <boost/archive/polymorphic_iarchive.hpp> 
     43#include <boost/archive/polymorphic_oarchive.hpp> 
     44 
    4045//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    4146namespace Zen { 
     
    5055                           pEndpoint_type _pDestinationEndpoint) 
    5156:   Message(createMessageHeader(), _pSourceEndpoint, _pDestinationEndpoint) 
     57,   Request(getMessageHeader(), _pSourceEndpoint, _pDestinationEndpoint)         
    5258{ 
    5359} 
     
    5864                             pEndpoint_type _pDestinationEndpoint) 
    5965:   Message(_pMessageHeader, _pSourceEndpoint, _pDestinationEndpoint) 
     66,   Request(_pMessageHeader, _pSourceEndpoint, _pDestinationEndpoint)  
    6067{ 
    6168} 
     
    7077ChildNodeRequest::serialize(pMessageHeader_type _pHeader, boost::archive::polymorphic_iarchive& _archive, const int _version) 
    7178{ 
     79    _archive & m_nodeId; 
    7280} 
    7381 
     
    7684ChildNodeRequest::serialize(boost::archive::polymorphic_oarchive& _archive, const int _version) 
    7785{ 
     86    _archive & m_nodeId; 
     87} 
     88 
     89//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     90const boost::uint64_t& 
     91ChildNodeRequest::getNodeId() const 
     92{ 
     93    return m_nodeId; 
     94} 
     95 
     96//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     97void 
     98ChildNodeRequest::setNodeId(const boost::uint64_t& _nodeId) 
     99{ 
     100    m_nodeId = _nodeId; 
    78101} 
    79102 
     
    111134//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    112135void 
    113 ChildNodeRequest::destroy(wpRequest_type _wpRequest) 
     136ChildNodeRequest::destroy(wpRequest_type _wpResponse) 
    114137{ 
    115     ChildNodeRequest* pRequest = dynamic_cast<ChildNodeRequest*>(_wpRequest.get()); 
     138    ChildNodeRequest* pRequest = dynamic_cast<ChildNodeRequest*>(_wpResponse.get()); 
    116139 
    117140    if( pRequest != NULL ) 
     
    139162 
    140163//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     164}   // namespace Zen 
     165}   // namespace Studio 
    141166}   // namespace Workbench 
    142 }   // namespace Studio 
    143 }   // namespace Zen 
    144167//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
  • Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/ChildNodeRequest.hpp

    r3161 r3355  
    11//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2 // Zen Studio Workbench Framework 
     2// Zen Community Framework 
    33// 
    4 // Copyright (C) 2001 - 2009 Tony Richards 
     4// Copyright (C) 2001 - 2010 Tony Richards 
    55// Copyright (C) 2008 - 2009 Matthew Alan Gray 
    66// 
     
    2424//  Matthew Alan Gray mgray@indiezen.org 
    2525//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    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 
    2830 
    2931#include "../I_ChildNodeRequest.hpp" 
    3032 
    31 #include "Message.hpp" 
     33#include "Request.hpp" 
    3234 
    3335#include <Zen/Enterprise/AppServer/I_MessageFactory.hpp> 
     36 
     37#include <boost/cstdint.hpp> 
     38#include <boost/serialization/string.hpp> 
     39#include <string> 
    3440 
    3541//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     
    4248        }   // namespace AppServer 
    4349    }   // namespace Enterprise 
     50}   // namespace Zen 
     51//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     52namespace Zen { 
    4453namespace Studio { 
    4554namespace Workbench { 
    4655//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    47 ; 
    48  
    4956class ChildNodeRequest 
    5057:   public I_ChildNodeRequest 
    51 ,   public Message 
     58,   public Request 
    5259{ 
    5360    /// @name Types 
    5461    /// @{ 
    5562public: 
    56     enum { type = 3 };  // TODO Should we be hardcoding this? 
     63    enum { type = 111 };  // TODO Should we be hardcoding this? 
    5764    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; 
    5867    /// @} 
    5968 
     
    7079    /// @} 
    7180 
    72     /// @name ChildNodeRequest implementation 
     81    /// @name I_Message implementation 
    7382    /// @{ 
    7483public: 
    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    /// @{ 
     89public: 
     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); 
    7695    /// @} 
    7796 
     
    85104    static void destroy(wpRequest_type _wpRequest); 
    86105    /// @} 
    87  
     106     
    88107    /// @name 'Structors 
    89108    /// @{ 
    90 public: 
     109protected: 
     110    friend class I_ChildNodeRequest; 
    91111    friend class MessageFactory; 
    92112             /// This constructor is used by the static create 
    93113             /// methods for creating outbound messages. 
    94114             ChildNodeRequest(pEndpoint_type _pSourceEndpoint, 
    95                                pEndpoint_type _pDestinationEndpoint); 
     115                           pEndpoint_type _pDestinationEndpoint); 
    96116             /// This constructor is used by the message factory 
    97117             /// for creating inbound messages. 
    98118             ChildNodeRequest(pMessageHeader_type _pMessageHeader, 
    99                                pEndpoint_type _pSourceEndpoint, 
    100                                pEndpoint_type _pDestinationEndpoint); 
     119                           pEndpoint_type _pSourceEndpoint, 
     120                           pEndpoint_type _pDestinationEndpoint); 
    101121    virtual ~ChildNodeRequest(); 
    102122    /// @} 
     
    109129    static pMessageType_type                                sm_pType; 
    110130    static Zen::Enterprise::AppServer::I_MessageRegistry*   sm_pMessageRegistry; 
     131    
     132    boost::uint64_t m_nodeId; 
     133     
    111134    /// @} 
    112135 
     
    114137 
    115138//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     139}   // namespace Zen 
     140}   // namespace Studio 
    116141}   // namespace Workbench 
    117 }       // namespace Studio 
    118 }   // namespace Zen 
    119142//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    120143 
    121 #endif // ZEN_STUDIO_WORKBENCH_CHILD_NODE_REQUEST_HPP_INCLUDED 
     144#endif // ZEN_STUDIO_WORKBENCH_CHILDNODE_REQUEST_HPP_INCLUDED 
  • Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/ChildNodeResponse.cpp

    r3161 r3355  
    11//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2 // Zen Studio Workbench Framework 
     2// Zen Community Framework 
    33// 
    4 // Copyright (C) 2001 - 2009 Tony Richards 
     4// Copyright (C) 2001 - 2010 Tony Richards 
    55// Copyright (C) 2008 - 2009 Matthew Alan Gray 
    66// 
     
    2424//  Matthew Alan Gray mgray@indiezen.org 
    2525//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     26// This is generated by the Zen Protocol Code Generator.  Do not modify! 
     27//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2628#include "ChildNodeResponse.hpp" 
    2729#include "MessageFactory.hpp" 
     
    3840#include <Zen/Core/Utility/runtime_exception.hpp> 
    3941 
     42#include <boost/archive/polymorphic_iarchive.hpp> 
     43#include <boost/archive/polymorphic_oarchive.hpp> 
     44 
    4045//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    4146namespace Zen { 
     
    4853//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    4954ChildNodeResponse::ChildNodeResponse(pEndpoint_type _pSourceEndpoint, 
    50                            pEndpoint_type _pDestinationEndpoint) 
     55                           pEndpoint_type _pDestinationEndpoint, 
     56                            unsigned int _requestMessageId) 
    5157:   Message(createMessageHeader(), _pSourceEndpoint, _pDestinationEndpoint) 
     58,   Response(getMessageHeader(), _pSourceEndpoint, _pDestinationEndpoint, _requestMessageId) 
     59         
    5260{ 
    5361} 
     
    5664ChildNodeResponse::ChildNodeResponse(pMessageHeader_type _pMessageHeader, 
    5765                             pEndpoint_type _pSourceEndpoint, 
    58                              pEndpoint_type _pDestinationEndpoint) 
     66                             pEndpoint_type _pDestinationEndpoint, 
     67                            unsigned int _requestMessageId) 
    5968:   Message(_pMessageHeader, _pSourceEndpoint, _pDestinationEndpoint) 
     69,   Response(_pMessageHeader, _pSourceEndpoint, _pDestinationEndpoint, _requestMessageId)  
    6070{ 
    6171} 
     
    137147    return sm_pResourceLocation; 
    138148} 
     149 
    139150//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     151}   // namespace Zen 
     152}   // namespace Studio 
    140153}   // namespace Workbench 
    141 }   // namespace Studio 
    142 }   // namespace Zen 
    143154//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
  • Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/ChildNodeResponse.hpp

    r3161 r3355  
    11//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2 // Zen Studio Workbench Framework 
     2// Zen Community Framework 
    33// 
    4 // Copyright (C) 2001 - 2009 Tony Richards 
     4// Copyright (C) 2001 - 2010 Tony Richards 
    55// Copyright (C) 2008 - 2009 Matthew Alan Gray 
    66// 
     
    2424//  Matthew Alan Gray mgray@indiezen.org 
    2525//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    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 
    2830 
    2931#include "../I_ChildNodeResponse.hpp" 
    3032 
    31 #include "Message.hpp" 
     33#include "Response.hpp" 
    3234 
    3335#include <Zen/Enterprise/AppServer/I_MessageFactory.hpp> 
     36 
     37#include <boost/cstdint.hpp> 
     38#include <boost/serialization/string.hpp> 
     39#include <string> 
    3440 
    3541//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     
    4248        }   // namespace AppServer 
    4349    }   // namespace Enterprise 
     50}   // namespace Zen 
     51//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     52namespace Zen { 
    4453namespace Studio { 
    4554namespace Workbench { 
    4655//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    47 ; 
    48  
    4956class ChildNodeResponse 
    5057:   public I_ChildNodeResponse 
    51 ,   public Message 
     58,   public Response 
    5259{ 
    5360    /// @name Types 
    5461    /// @{ 
    5562public: 
    56     enum { type = 4 };  // TODO Should we be hardcoding this? 
     63    enum { type = 112 };  // TODO Should we be hardcoding this? 
    5764    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; 
    5867    /// @} 
    5968 
     
    7079    /// @} 
    7180 
    72     /// @name ChildNodeResponse implementation 
     81    /// @name I_Message implementation 
    7382    /// @{ 
    7483public: 
    75     virtual unsigned int getMessageId() const { return Message::getMessageId(); } 
     84    virtual unsigned int getMessageId() const { return Message::getMessageId(); }  
    7685    /// @} 
    7786 
     87    /// @name Dominance for Response 
     88    /// @{ 
     89public: 
     90    virtual unsigned int getRequestMessageId() const { return Response::getRequestMessageId(); } 
     91    /// @} 
    7892    /// @name Static methods 
    7993    /// @{ 
     
    8599    static void destroy(wpResponse_type _wpResponse); 
    86100    /// @} 
    87  
     101     
    88102    /// @name 'Structors 
    89103    /// @{ 
    90 public: 
     104protected: 
     105    friend class I_ChildNodeResponse; 
    91106    friend class MessageFactory; 
    92107             /// This constructor is used by the static create 
    93108             /// methods for creating outbound messages. 
    94109             ChildNodeResponse(pEndpoint_type _pSourceEndpoint, 
    95                                pEndpoint_type _pDestinationEndpoint); 
     110                           pEndpoint_type _pDestinationEndpoint, unsigned int _requestMessageId); 
    96111             /// This constructor is used by the message factory 
    97112             /// for creating inbound messages. 
    98113             ChildNodeResponse(pMessageHeader_type _pMessageHeader, 
    99                                pEndpoint_type _pSourceEndpoint, 
    100                                pEndpoint_type _pDestinationEndpoint); 
     114                           pEndpoint_type _pSourceEndpoint, 
     115                           pEndpoint_type _pDestinationEndpoint, unsigned int _requestMessageId); 
    101116    virtual ~ChildNodeResponse(); 
    102117    /// @} 
     
    109124    static pMessageType_type                                sm_pType; 
    110125    static Zen::Enterprise::AppServer::I_MessageRegistry*   sm_pMessageRegistry; 
     126    
     127     
    111128    /// @} 
    112129 
     
    114131 
    115132//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     133}   // namespace Zen 
     134}   // namespace Studio 
    116135}   // namespace Workbench 
    117 }       // namespace Studio 
    118 }   // namespace Zen 
    119136//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    120137 
    121 #endif // ZEN_STUDIO_WORKBENCH_CHILD_NODE_RESPONSE_HPP_INCLUDED 
     138#endif // ZEN_STUDIO_WORKBENCH_CHILDNODE_RESPONSE_HPP_INCLUDED 
  • Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/I_ChildNodeRequest.cpp

    r3161 r3355  
    11//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2 // Zen Studio Workbench Framework 
     2// Zen Community Framework 
    33// 
    4 // Copyright (C) 2001 - 2009 Tony Richards 
     4// Copyright (C) 2001 - 2010 Tony Richards 
    55// Copyright (C) 2008 - 2009 Matthew Alan Gray 
    6 // Copyright (C)        2009 Jason Smith 
    76// 
    87//  This software is provided 'as-is', without any express or implied 
     
    2423//  Tony Richards trichards@indiezen.com 
    2524//  Matthew Alan Gray mgray@indiezen.org 
    26 //  Jason Smith jsmith@airsteampunk.com 
    2725//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    28 #include "../I_ChildNodeRequest.hpp" 
     26// This is generated by the Zen Protocol Code Generator.  Do not modify! 
     27//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2928#include "ChildNodeRequest.hpp" 
    30  
    3129 
    3230#include <Zen/Enterprise/AppServer/I_ResourceLocation.hpp> 
     
    5250I_ChildNodeRequest::pRequest_type 
    5351I_ChildNodeRequest::create(pEndpoint_type _pSourceEndpoint, 
    54                                            pEndpoint_type _pDestinationEndpoint) 
     52                                           pEndpoint_type _pDestinationEndpoint)                            
    5553{ 
    5654    ChildNodeRequest* pChildNodeRequest(new ChildNodeRequest(_pSourceEndpoint, 
    5755                                          _pDestinationEndpoint)); 
    5856 
    59  
    60     return pRequest_type(pChildNodeRequest, ChildNodeRequest::destroy); 
     57    return pRequest_type((Request*)pChildNodeRequest, ChildNodeRequest::destroy); 
    6158} 
    6259 
    6360//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     61}   // namespace Zen 
     62}   // namespace Studio 
    6463}   // namespace Workbench 
    65 }   // namespace Studio 
    66 }   // namespace Zen 
    6764//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     65 
  • Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/I_ChildNodeResponse.cpp

    r3161 r3355  
    11//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2 // Zen Studio Workbench Framework 
     2// Zen Community Framework 
    33// 
    4 // Copyright (C) 2001 - 2009 Tony Richards 
     4// Copyright (C) 2001 - 2010 Tony Richards 
    55// Copyright (C) 2008 - 2009 Matthew Alan Gray 
    66// 
     
    2424//  Matthew Alan Gray mgray@indiezen.org 
    2525//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    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> 
    2734 
    2835//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     
    4148 
    4249//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     50I_ChildNodeResponse::pResponse_type 
     51I_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 
    4363}   // namespace Workbench 
    44 }   // namespace Studio 
    45 }   // namespace Zen 
    4664//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     65 
  • Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/I_Message.cpp

    r3161 r3355  
    11//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2 // Zen Studio Workbench Framework 
     2// Zen Community Framework 
    33// 
    4 // Copyright (C) 2001 - 2009 Tony Richards 
     4// Copyright (C) 2001 - 2010 Tony Richards 
    55// Copyright (C) 2008 - 2009 Matthew Alan Gray 
    66// 
     
    2424//  Matthew Alan Gray mgray@indiezen.org 
    2525//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     26// This is generated by the Zen Protocol Code Generator.  Do not modify! 
     27//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2628#include "../I_Message.hpp" 
    2729 
     
    4143 
    4244//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     45}   // namespace Zen 
     46}   // namespace Studio 
    4347}   // namespace Workbench 
    44 }   // namespace Studio 
    45 }   // namespace Zen 
    4648//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
  • Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/I_NewProjectRequest.cpp

    r3161 r3355  
    11//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2 // Zen Studio Workbench Framework 
     2// Zen Community Framework 
    33// 
    4 // Copyright (C) 2001 - 2009 Tony Richards 
     4// Copyright (C) 2001 - 2010 Tony Richards 
    55// Copyright (C) 2008 - 2009 Matthew Alan Gray 
    66// 
     
    2424//  Matthew Alan Gray mgray@indiezen.org 
    2525//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    26 #include "../I_NewProjectRequest.hpp" 
     26// This is generated by the Zen Protocol Code Generator.  Do not modify! 
     27//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2728#include "NewProjectRequest.hpp" 
    28  
    2929 
    3030#include <Zen/Enterprise/AppServer/I_ResourceLocation.hpp> 
     
    5050I_NewProjectRequest::pRequest_type 
    5151I_NewProjectRequest::create(pEndpoint_type _pSourceEndpoint, 
    52                                            pEndpoint_type _pDestinationEndpoint) 
     52                                           pEndpoint_type _pDestinationEndpoint)                            
    5353{ 
    5454    NewProjectRequest* pNewProjectRequest(new NewProjectRequest(_pSourceEndpoint, 
    5555                                          _pDestinationEndpoint)); 
    5656 
    57  
    58     return pRequest_type(pNewProjectRequest, NewProjectRequest::destroy); 
     57    return pRequest_type((Request*)pNewProjectRequest, NewProjectRequest::destroy); 
    5958} 
    6059 
    6160//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     61}   // namespace Zen 
     62}   // namespace Studio 
    6263}   // namespace Workbench 
    63 }   // namespace Studio 
    64 }   // namespace Zen 
    6564//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     65 
  • Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/I_NewProjectResponse.cpp

    r3161 r3355  
    11//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2 // Zen Studio Workbench Framework 
     2// Zen Community Framework 
    33// 
    4 // Copyright (C) 2001 - 2009 Tony Richards 
     4// Copyright (C) 2001 - 2010 Tony Richards 
    55// Copyright (C) 2008 - 2009 Matthew Alan Gray 
    66// 
     
    2424//  Matthew Alan Gray mgray@indiezen.org 
    2525//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    26 #include "../I_NewProjectResponse.hpp" 
     26// This is generated by the Zen Protocol Code Generator.  Do not modify! 
     27//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2728#include "NewProjectResponse.hpp" 
    28  
    2929 
    3030#include <Zen/Enterprise/AppServer/I_ResourceLocation.hpp> 
     
    5050I_NewProjectResponse::pResponse_type 
    5151I_NewProjectResponse::create(pEndpoint_type _pSourceEndpoint, 
    52                                                  pEndpoint_type _pDestinationEndpoint) 
     52                                           pEndpoint_type _pDestinationEndpoint, unsigned int _requestMessageId)                            
    5353{ 
    5454    NewProjectResponse* pNewProjectResponse(new NewProjectResponse(_pSourceEndpoint, 
    55                                             _pDestinationEndpoint)); 
     55                                          _pDestinationEndpoint, _requestMessageId)); 
    5656 
    57     return pResponse_type(pNewProjectResponse, NewProjectResponse::destroy); 
     57    return pResponse_type((Response*)pNewProjectResponse, NewProjectResponse::destroy); 
    5858} 
    5959 
    6060//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     61}   // namespace Zen 
     62}   // namespace Studio 
    6163}   // namespace Workbench 
    62 }   // namespace Studio 
    63 }   // namespace Zen 
    6464//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     65 
  • Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/I_SubscribeModelRequest.cpp

    r3161 r3355  
    11//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2 // Zen Studio Workbench Framework 
     2// Zen Community Framework 
    33// 
    4 // Copyright (C) 2001 - 2009 Tony Richards 
     4// Copyright (C) 2001 - 2010 Tony Richards 
    55// Copyright (C) 2008 - 2009 Matthew Alan Gray 
    6 // Copyright (C)        2009 Jason Smith 
    76// 
    87//  This software is provided 'as-is', without any express or implied 
     
    2423//  Tony Richards trichards@indiezen.com 
    2524//  Matthew Alan Gray mgray@indiezen.org 
    26 //  Jason Smith jsmith@airsteampunk.com 
    2725//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    28 #include "../I_SubscribeModelRequest.hpp" 
     26// This is generated by the Zen Protocol Code Generator.  Do not modify! 
     27//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2928#include "SubscribeModelRequest.hpp" 
    30  
    3129 
    3230#include <Zen/Enterprise/AppServer/I_ResourceLocation.hpp> 
     
    5250I_SubscribeModelRequest::pRequest_type 
    5351I_SubscribeModelRequest::create(pEndpoint_type _pSourceEndpoint, 
    54                                            pEndpoint_type _pDestinationEndpoint) 
     52                                           pEndpoint_type _pDestinationEndpoint)                            
    5553{ 
    5654    SubscribeModelRequest* pSubscribeModelRequest(new SubscribeModelRequest(_pSourceEndpoint, 
    5755                                          _pDestinationEndpoint)); 
    5856 
    59  
    60     return pRequest_type(pSubscribeModelRequest, SubscribeModelRequest::destroy); 
     57    return pRequest_type((Request*)pSubscribeModelRequest, SubscribeModelRequest::destroy); 
    6158} 
    6259 
    6360//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     61}   // namespace Zen 
     62}   // namespace Studio 
    6463}   // namespace Workbench 
    65 }   // namespace Studio 
    66 }   // namespace Zen 
    6764//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     65 
  • Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/I_SubscribeModelResponse.cpp

    r3161 r3355  
    11//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2 // Zen Studio Workbench Framework 
     2// Zen Community Framework 
    33// 
    4 // Copyright (C) 2001 - 2009 Tony Richards 
     4// Copyright (C) 2001 - 2010 Tony Richards 
    55// Copyright (C) 2008 - 2009 Matthew Alan Gray 
    66// 
     
    2424//  Matthew Alan Gray mgray@indiezen.org 
    2525//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    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> 
    2734 
    2835//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     
    4148 
    4249//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     50I_SubscribeModelResponse::pResponse_type 
     51I_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 
    4363}   // namespace Workbench 
    44 }   // namespace Studio 
    45 }   // namespace Zen 
    4664//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     65 
  • Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/I_WorkbenchProtocolManager.cpp

    r3161 r3355  
    11//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2 // Zen Studio 
     2// Zen Community Framework 
    33// 
    4 // Copyright (C) 2001 - 2009 Tony Richards 
     4// Copyright (C) 2001 - 2010 Tony Richards 
    55// Copyright (C) 2008 - 2009 Matthew Alan Gray 
    66// 
     
    2424//  Matthew Alan Gray mgray@indiezen.org 
    2525//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     26// This is generated by the Zen Protocol Code Generator.  Do not modify! 
     27//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2628#include "../I_WorkbenchProtocolManager.hpp" 
    2729 
     
    3335namespace Workbench { 
    3436//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     37 
    3538I_WorkbenchProtocolManager::I_WorkbenchProtocolManager() 
    3639{ 
     
    4346 
    4447//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    45 static WorkbenchProtocolManager sm_manager; 
     48static WorkbenchProtocolManager sm_class; 
    4649//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    4750I_WorkbenchProtocolManager& 
    4851I_WorkbenchProtocolManager::getSingleton() 
    4952{ 
    50         return sm_manager; 
     53    return sm_class; 
    5154} 
    5255 
    5356//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     57}   // namespace Zen 
     58}   // namespace Studio 
    5459}   // namespace Workbench 
    55 }       // namespace Studio 
    56 }       // namespace Zen 
    5760//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     61 
  • Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/Message.cpp

    r3161 r3355  
    11//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2 // Zen Studio Workbench Framework 
     2// Zen Community Framework 
    33// 
    4 // Copyright (C) 2001 - 2009 Tony Richards 
     4// Copyright (C) 2001 - 2010 Tony Richards 
    55// Copyright (C) 2008 - 2009 Matthew Alan Gray 
    66// 
     
    2323//  Tony Richards trichards@indiezen.com 
    2424//  Matthew Alan Gray mgray@indiezen.org 
     25//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     26// This is generated by the Zen Protocol Code Generator.  Do not modify! 
    2527//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2628#include "Message.hpp" 
     
    100102    else 
    101103    { 
    102         throw Zen::Utility::runtime_exception("LoginRequest::destroyMessageFactory() : Invalid type."); 
     104        throw Zen::Utility::runtime_exception("Message::destroyMessageFactory() : Invalid type."); 
    103105    } 
    104106} 
    105107 
    106108//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     109}   // namespace Zen 
     110}   // namespace Studio 
    107111}   // namespace Workbench 
    108 }   // namespace Studio 
    109 }   // namespace Zen 
    110112//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
  • Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/Message.hpp

    r3161 r3355  
    11//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2 // Zen Studio Workbench Framework 
     2// Zen Community Framework 
    33// 
    4 // Copyright (C) 2001 - 2009 Tony Richards 
     4// Copyright (C) 2001 - 2010 Tony Richards 
    55// Copyright (C) 2008 - 2009 Matthew Alan Gray 
    66// 
     
    2424//  Matthew Alan Gray mgray@indiezen.org 
    2525//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    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 
    2830 
    2931#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> 
    3532 
    3633//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     
    4138        }   // namespace AppServer 
    4239    }   // namespace Enterprise 
     40}   //  namespace Zen 
     41//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     42namespace Zen { 
    4343namespace Studio { 
    4444namespace Workbench { 
     
    4646 
    4747class Message 
    48 :   public virtual I_Message 
     48:   public virtual Zen::Studio::Workbench::I_Message 
    4949{ 
    5050    /// @name Types 
     
    6262    virtual pMessageHeader_type getMessageHeader() const; 
    6363    /// @} 
    64  
     64     
    6565    /// @name I_Message implementation 
    6666    /// @{ 
    6767public: 
    6868    virtual unsigned int getMessageId() const; 
    69     /// @} 
    70  
    71     /// @name Message implementation 
    72     /// @{ 
    73 public: 
    7469    /// @} 
    7570 
     
    10398 
    10499//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     100}   // namespace Zen 
     101}   // namespace Studio 
    105102}   // namespace Workbench 
    106 }   // namespace Studio 
    107 }   // namespace Zen 
    108103//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    109104 
    110 #endif // ZEN_STUDIO_WORKBENCHPROTOCOL_MESSAGE_HPP_INCLUDED 
     105#endif // ZEN_STUDIO_WORKBENCH_MESSAGE_HPP_INCLUDED 
  • Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/MessageFactory.cpp

    r3161 r3355  
    11//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2 // Zen Studio Workbench Framework 
     2// Zen Community Framework 
    33// 
    4 // Copyright (C) 2001 - 2009 Tony Richards 
     4// Copyright (C) 2001 - 2010 Tony Richards 
    55// Copyright (C) 2008 - 2009 Matthew Alan Gray 
    66// 
     
    2424//  Matthew Alan Gray mgray@indiezen.org 
    2525//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     26// This is generated by the Zen Protocol Code Generator.  Do not modify! 
     27//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     28#include "MessageFactory.hpp" 
    2629 
    27 #include "MessageFactory.hpp" 
     30#include "ChildNodeRequest.hpp" 
     31#include "ChildNodeResponse.hpp" 
     32 
     33#include "SubscribeModelRequest.hpp" 
     34#include "SubscribeModelResponse.hpp" 
     35 
    2836#include "NewProjectRequest.hpp" 
    2937#include "NewProjectResponse.hpp" 
    30 #include "ChildNodeRequest.hpp" 
    31 #include "ChildNodeResponse.hpp" 
    32 #include "SubscribeModelRequest.hpp" 
    33 #include "SubscribeModelResponse.hpp" 
     38 
    3439 
    3540#include <Zen/Enterprise/AppServer/I_NumericTypeMessageRegistry.hpp> 
     
    7883    switch(getMessageType(_pMessageHeader)) 
    7984    { 
    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); 
    8590 
    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); 
    9196 
    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); 
    97102 
    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); 
    103108 
    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); 
    109114 
    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    
    115122    } 
    116123 
     
    139146 
    140147//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     148}   // namespace Zen 
     149}   // namespace Studio 
    141150}   // namespace Workbench 
    142 }   // namespace Studio 
    143 }   // namespace Zen 
    144151//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
  • Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/MessageFactory.hpp

    r3161 r3355  
    11//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2 // Zen Studio Workbench Framework 
     2// Zen Community Framework 
    33// 
    4 // Copyright (C) 2001 - 2009 Tony Richards 
     4// Copyright (C) 2001 - 2010 Tony Richards 
    55// Copyright (C) 2008 - 2009 Matthew Alan Gray 
    66// 
     
    2424//  Matthew Alan Gray mgray@indiezen.org 
    2525//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    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 
    2830 
    2931#include <Zen/Enterprise/AppServer/I_MessageFactory.hpp> 
     
    8082 
    8183//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     84}   // namespace Zen 
     85}   // namespace Studio 
    8286}   // namespace Workbench 
    83 }   // namespace Studio 
    84 }   // namespace Zen 
    8587//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    8688 
    87 #endif // ZEN_STUDIO_WORKBENCHPROTOCOL_MESSAGE_FACTORY_HPP_INCLUDED 
     89#endif // ZEN_STUDIO_WORKBENCH_MESSAGE_FACTORY_HPP_INCLUDED 
  • Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/NewProjectRequest.cpp

    r3161 r3355  
    11//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2 // Zen Studio Workbench Framework 
     2// Zen Community Framework 
    33// 
    4 // Copyright (C) 2001 - 2009 Tony Richards 
     4// Copyright (C) 2001 - 2010 Tony Richards 
    55// Copyright (C) 2008 - 2009 Matthew Alan Gray 
    66// 
     
    2424//  Matthew Alan Gray mgray@indiezen.org 
    2525//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     26// This is generated by the Zen Protocol Code Generator.  Do not modify! 
     27//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2628#include "NewProjectRequest.hpp" 
    2729#include "MessageFactory.hpp" 
     
    3840#include <Zen/Core/Utility/runtime_exception.hpp> 
    3941 
     42#include <boost/archive/polymorphic_iarchive.hpp> 
     43#include <boost/archive/polymorphic_oarchive.hpp> 
     44 
    4045//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    4146namespace Zen { 
     
    5055                           pEndpoint_type _pDestinationEndpoint) 
    5156:   Message(createMessageHeader(), _pSourceEndpoint, _pDestinationEndpoint) 
     57,   Request(getMessageHeader(), _pSourceEndpoint, _pDestinationEndpoint)         
    5258{ 
    5359} 
     
    5864                             pEndpoint_type _pDestinationEndpoint) 
    5965:   Message(_pMessageHeader, _pSourceEndpoint, _pDestinationEndpoint) 
     66,   Request(_pMessageHeader, _pSourceEndpoint, _pDestinationEndpoint)  
    6067{ 
    6168} 
     
    7077NewProjectRequest::serialize(pMessageHeader_type _pHeader, boost::archive::polymorphic_iarchive& _archive, const int _version) 
    7178{ 
     79    _archive & m_nodeId; 
    7280} 
    7381 
     
    7684NewProjectRequest::serialize(boost::archive::polymorphic_oarchive& _archive, const int _version) 
    7785{ 
     86    _archive & m_nodeId; 
     87} 
     88 
     89//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     90const boost::uint64_t& 
     91NewProjectRequest::getNodeId() const 
     92{ 
     93    return m_nodeId; 
     94} 
     95 
     96//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     97void 
     98NewProjectRequest::setNodeId(const boost::uint64_t& _nodeId) 
     99{ 
     100    m_nodeId = _nodeId; 
    78101} 
    79102 
     
    113136NewProjectRequest::destroy(wpRequest_type _wpResponse) 
    114137{ 
    115     NewProjectRequest* pResponse = dynamic_cast<NewProjectRequest*>(_wpResponse.get()); 
     138    NewProjectRequest* pRequest = dynamic_cast<NewProjectRequest*>(_wpResponse.get()); 
    116139 
    117     if( pResponse != NULL ) 
     140    if( pRequest != NULL ) 
    118141    { 
    119         delete pResponse; 
     142        delete pRequest; 
    120143    } 
    121144    else 
     
    137160    return sm_pResourceLocation; 
    138161} 
     162 
    139163//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     164}   // namespace Zen 
     165}   // namespace Studio 
    140166}   // namespace Workbench 
    141 }   // namespace Studio 
    142 }   // namespace Zen 
    143167//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
  • Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/NewProjectRequest.hpp

    r3161 r3355  
    11//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2 // Zen Studio Workbench Framework 
     2// Zen Community Framework 
    33// 
    4 // Copyright (C) 2001 - 2009 Tony Richards 
     4// Copyright (C) 2001 - 2010 Tony Richards 
    55// Copyright (C) 2008 - 2009 Matthew Alan Gray 
    66// 
     
    2424//  Matthew Alan Gray mgray@indiezen.org 
    2525//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    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 
    2830 
    2931#include "../I_NewProjectRequest.hpp" 
    3032 
    31 #include "Message.hpp" 
     33#include "Request.hpp" 
    3234 
    3335#include <Zen/Enterprise/AppServer/I_MessageFactory.hpp> 
     36 
     37#include <boost/cstdint.hpp> 
     38#include <boost/serialization/string.hpp> 
     39#include <string> 
    3440 
    3541//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     
    4248        }   // namespace AppServer 
    4349    }   // namespace Enterprise 
     50}   // namespace Zen 
     51//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     52namespace Zen { 
    4453namespace Studio { 
    4554namespace Workbench { 
    4655//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    47 ; 
    48  
    4956class NewProjectRequest 
    5057:   public I_NewProjectRequest 
    51 ,   public Message 
     58,   public Request 
    5259{ 
    5360    /// @name Types 
    5461    /// @{ 
    5562public: 
    56     enum { type = 1 };  // TODO Should we be hardcoding this? 
     63    enum { type = 113 };  // TODO Should we be hardcoding this? 
    5764    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; 
    5867    /// @} 
    5968 
     
    7079    /// @} 
    7180 
    72     /// @name NewProjectRequest implementation 
     81    /// @name I_Message implementation 
    7382    /// @{ 
    7483public: 
    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    /// @{ 
     89public: 
     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); 
    7695    /// @} 
    7796 
     
    85104    static void destroy(wpRequest_type _wpRequest); 
    86105    /// @} 
    87  
     106     
    88107    /// @name 'Structors 
    89108    /// @{ 
    90 public: 
     109protected: 
     110    friend class I_NewProjectRequest; 
    91111    friend class MessageFactory; 
    92112             /// This constructor is used by the static create 
    93113             /// methods for creating outbound messages. 
    94114             NewProjectRequest(pEndpoint_type _pSourceEndpoint, 
    95                                pEndpoint_type _pDestinationEndpoint); 
     115                           pEndpoint_type _pDestinationEndpoint); 
    96116             /// This constructor is used by the message factory 
    97117             /// for creating inbound messages. 
    98118             NewProjectRequest(pMessageHeader_type _pMessageHeader, 
    99                                pEndpoint_type _pSourceEndpoint, 
    100                                pEndpoint_type _pDestinationEndpoint); 
     119                           pEndpoint_type _pSourceEndpoint, 
     120                           pEndpoint_type _pDestinationEndpoint); 
    101121    virtual ~NewProjectRequest(); 
    102122    /// @} 
     
    109129    static pMessageType_type                                sm_pType; 
    110130    static Zen::Enterprise::AppServer::I_MessageRegistry*   sm_pMessageRegistry; 
     131    
     132    boost::uint64_t m_nodeId; 
     133     
    111134    /// @} 
    112135 
     
    114137 
    115138//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     139}   // namespace Zen 
     140}   // namespace Studio 
    116141}   // namespace Workbench 
    117 }       // namespace Studio 
    118 }   // namespace Zen 
    119142//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    120143 
    121 #endif // ZEN_STUDIO_WORKBENCH_NEW_PROJECT_REQUEST_HPP_INCLUDED 
     144#endif // ZEN_STUDIO_WORKBENCH_NEWPROJECT_REQUEST_HPP_INCLUDED 
  • Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/NewProjectResponse.cpp

    r3161 r3355  
    11//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2 // Zen Studio Workbench Framework 
     2// Zen Community Framework 
    33// 
    4 // Copyright (C) 2001 - 2009 Tony Richards 
     4// Copyright (C) 2001 - 2010 Tony Richards 
    55// Copyright (C) 2008 - 2009 Matthew Alan Gray 
    66// 
     
    2424//  Matthew Alan Gray mgray@indiezen.org 
    2525//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     26// This is generated by the Zen Protocol Code Generator.  Do not modify! 
     27//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2628#include "NewProjectResponse.hpp" 
    2729#include "MessageFactory.hpp" 
     
    3840#include <Zen/Core/Utility/runtime_exception.hpp> 
    3941 
     42#include <boost/archive/polymorphic_iarchive.hpp> 
     43#include <boost/archive/polymorphic_oarchive.hpp> 
     44 
    4045//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    4146namespace Zen { 
     
    4853//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    4954NewProjectResponse::NewProjectResponse(pEndpoint_type _pSourceEndpoint, 
    50                            pEndpoint_type _pDestinationEndpoint) 
     55                           pEndpoint_type _pDestinationEndpoint, 
     56                            unsigned int _requestMessageId) 
    5157:   Message(createMessageHeader(), _pSourceEndpoint, _pDestinationEndpoint) 
     58,   Response(getMessageHeader(), _pSourceEndpoint, _pDestinationEndpoint, _requestMessageId) 
     59         
    5260{ 
    5361} 
     
    5664NewProjectResponse::NewProjectResponse(pMessageHeader_type _pMessageHeader, 
    5765                             pEndpoint_type _pSourceEndpoint, 
    58                              pEndpoint_type _pDestinationEndpoint) 
     66                             pEndpoint_type _pDestinationEndpoint, 
     67                            unsigned int _requestMessageId) 
    5968:   Message(_pMessageHeader, _pSourceEndpoint, _pDestinationEndpoint) 
     69,   Response(_pMessageHeader, _pSourceEndpoint, _pDestinationEndpoint, _requestMessageId)  
    6070{ 
    6171} 
     
    137147    return sm_pResourceLocation; 
    138148} 
     149 
    139150//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     151}   // namespace Zen 
     152}   // namespace Studio 
    140153}   // namespace Workbench 
    141 }   // namespace Studio 
    142 }   // namespace Zen 
    143154//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
  • Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/NewProjectResponse.hpp

    r3161 r3355  
    11//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2 // Zen Studio Workbench Framework 
     2// Zen Community Framework 
    33// 
    4 // Copyright (C) 2001 - 2009 Tony Richards 
     4// Copyright (C) 2001 - 2010 Tony Richards 
    55// Copyright (C) 2008 - 2009 Matthew Alan Gray 
    66// 
     
    2424//  Matthew Alan Gray mgray@indiezen.org 
    2525//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    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 
    2830 
    2931#include "../I_NewProjectResponse.hpp" 
    3032 
    31 #include "Message.hpp" 
     33#include "Response.hpp" 
    3234 
    3335#include <Zen/Enterprise/AppServer/I_MessageFactory.hpp> 
     36 
     37#include <boost/cstdint.hpp> 
     38#include <boost/serialization/string.hpp> 
     39#include <string> 
    3440 
    3541//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     
    4248        }   // namespace AppServer 
    4349    }   // namespace Enterprise 
     50}   // namespace Zen 
     51//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     52namespace Zen { 
    4453namespace Studio { 
    4554namespace Workbench { 
    4655//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    47 ; 
    48  
    4956class NewProjectResponse 
    5057:   public I_NewProjectResponse 
    51 ,   public Message 
     58,   public Response 
    5259{ 
    5360    /// @name Types 
    5461    /// @{ 
    5562public: 
    56     enum { type = 2 };  // TODO Should we be hardcoding this? 
     63    enum { type = 114 };  // TODO Should we be hardcoding this? 
    5764    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; 
    5867    /// @} 
    5968 
     
    7079    /// @} 
    7180 
    72     /// @name NewProjectResponse implementation 
     81    /// @name I_Message implementation 
    7382    /// @{ 
    7483public: 
    75     virtual unsigned int getMessageId() const { return Message::getMessageId(); } 
     84    virtual unsigned int getMessageId() const { return Message::getMessageId(); }  
    7685    /// @} 
    7786 
     87    /// @name Dominance for Response 
     88    /// @{ 
     89public: 
     90    virtual unsigned int getRequestMessageId() const { return Response::getRequestMessageId(); } 
     91    /// @} 
    7892    /// @name Static methods 
    7993    /// @{ 
     
    8599    static void destroy(wpResponse_type _wpResponse); 
    86100    /// @} 
    87  
     101     
    88102    /// @name 'Structors 
    89103    /// @{ 
    90 public: 
     104protected: 
     105    friend class I_NewProjectResponse; 
    91106    friend class MessageFactory; 
    92107             /// This constructor is used by the static create 
    93108             /// methods for creating outbound messages. 
    94109             NewProjectResponse(pEndpoint_type _pSourceEndpoint, 
    95                                 pEndpoint_type _pDestinationEndpoint); 
     110                           pEndpoint_type _pDestinationEndpoint, unsigned int _requestMessageId); 
    96111             /// This constructor is used by the message factory 
    97112             /// for creating inbound messages. 
    98113             NewProjectResponse(pMessageHeader_type _pMessageHeader, 
    99                                 pEndpoint_type _pSourceEndpoint, 
    100                                 pEndpoint_type _pDestinationEndpoint); 
     114                           pEndpoint_type _pSourceEndpoint, 
     115                           pEndpoint_type _pDestinationEndpoint, unsigned int _requestMessageId); 
    101116    virtual ~NewProjectResponse(); 
    102117    /// @} 
     
    109124    static pMessageType_type                                sm_pType; 
    110125    static Zen::Enterprise::AppServer::I_MessageRegistry*   sm_pMessageRegistry; 
     126    
     127     
    111128    /// @} 
    112129 
     
    114131 
    115132//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     133}   // namespace Zen 
     134}   // namespace Studio 
    116135}   // namespace Workbench 
    117 }       // namespace Studio 
    118 }   // namespace Zen 
    119136//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    120137 
    121 #endif // ZEN_STUDIO_WORKBENCH_NEW_PROJECT_RESPONSE_HPP_INCLUDED 
     138#endif // ZEN_STUDIO_WORKBENCH_NEWPROJECT_RESPONSE_HPP_INCLUDED 
  • Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/SubscribeModelRequest.cpp

    r3161 r3355  
    11//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2 // Zen Studio Workbench Framework 
     2// Zen Community Framework 
    33// 
    4 // Copyright (C) 2001 - 2009 Tony Richards 
     4// Copyright (C) 2001 - 2010 Tony Richards 
    55// Copyright (C) 2008 - 2009 Matthew Alan Gray 
    66// 
     
    2424//  Matthew Alan Gray mgray@indiezen.org 
    2525//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     26// This is generated by the Zen Protocol Code Generator.  Do not modify! 
     27//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2628#include "SubscribeModelRequest.hpp" 
    2729#include "MessageFactory.hpp" 
     
    3840#include <Zen/Core/Utility/runtime_exception.hpp> 
    3941 
     42#include <boost/archive/polymorphic_iarchive.hpp> 
     43#include <boost/archive/polymorphic_oarchive.hpp> 
     44 
    4045//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    4146namespace Zen { 
     
    5055                           pEndpoint_type _pDestinationEndpoint) 
    5156:   Message(createMessageHeader(), _pSourceEndpoint, _pDestinationEndpoint) 
     57,   Request(getMessageHeader(), _pSourceEndpoint, _pDestinationEndpoint)         
    5258{ 
    5359} 
     
    5864                             pEndpoint_type _pDestinationEndpoint) 
    5965:   Message(_pMessageHeader, _pSourceEndpoint, _pDestinationEndpoint) 
     66,   Request(_pMessageHeader, _pSourceEndpoint, _pDestinationEndpoint)  
    6067{ 
    6168} 
     
    7077SubscribeModelRequest::serialize(pMessageHeader_type _pHeader, boost::archive::polymorphic_iarchive& _archive, const int _version) 
    7178{ 
     79    _archive & m_nodeId; 
    7280} 
    7381 
     
    7684SubscribeModelRequest::serialize(boost::archive::polymorphic_oarchive& _archive, const int _version) 
    7785{ 
     86    _archive & m_nodeId; 
     87} 
     88 
     89//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     90const boost::uint64_t& 
     91SubscribeModelRequest::getNodeId() const 
     92{ 
     93    return m_nodeId; 
     94} 
     95 
     96//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     97void 
     98SubscribeModelRequest::setNodeId(const boost::uint64_t& _nodeId) 
     99{ 
     100    m_nodeId = _nodeId; 
    78101} 
    79102 
     
    111134//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    112135void 
    113 SubscribeModelRequest::destroy(wpRequest_type _wpRequest) 
     136SubscribeModelRequest::destroy(wpRequest_type _wpResponse) 
    114137{ 
    115     SubscribeModelRequest* pRequest = dynamic_cast<SubscribeModelRequest*>(_wpRequest.get()); 
     138    SubscribeModelRequest* pRequest = dynamic_cast<SubscribeModelRequest*>(_wpResponse.get()); 
    116139 
    117140    if( pRequest != NULL ) 
     
    137160    return sm_pResourceLocation; 
    138161} 
     162 
    139163//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     164}   // namespace Zen 
     165}   // namespace Studio 
    140166}   // namespace Workbench 
    141 }   // namespace Studio 
    142 }   // namespace Zen 
    143167//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
  • Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/SubscribeModelRequest.hpp

    r3161 r3355  
    11//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2 // Zen Studio Workbench Framework 
     2// Zen Community Framework 
    33// 
    4 // Copyright (C) 2001 - 2009 Tony Richards 
     4// Copyright (C) 2001 - 2010 Tony Richards 
    55// Copyright (C) 2008 - 2009 Matthew Alan Gray 
    66// 
     
    2424//  Matthew Alan Gray mgray@indiezen.org 
    2525//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    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 
    2830 
    2931#include "../I_SubscribeModelRequest.hpp" 
    3032 
    31 #include "Message.hpp" 
     33#include "Request.hpp" 
    3234 
    3335#include <Zen/Enterprise/AppServer/I_MessageFactory.hpp> 
     36 
     37#include <boost/cstdint.hpp> 
     38#include <boost/serialization/string.hpp> 
     39#include <string> 
    3440 
    3541//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     
    4248        }   // namespace AppServer 
    4349    }   // namespace Enterprise 
     50}   // namespace Zen 
     51//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     52namespace Zen { 
    4453namespace Studio { 
    4554namespace Workbench { 
    4655//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    47 ; 
    48  
    4956class SubscribeModelRequest 
    5057:   public I_SubscribeModelRequest 
    51 ,   public Message 
     58,   public Request 
    5259{ 
    5360    /// @name Types 
    5461    /// @{ 
    5562public: 
    56     enum { type = 5 };  // TODO Should we be hardcoding this? 
     63    enum { type = 115 };  // TODO Should we be hardcoding this? 
    5764    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; 
    5867    /// @} 
    5968 
     
    7079    /// @} 
    7180 
    72     /// @name SubscribeModelRequest implementation 
     81    /// @name I_Message implementation 
    7382    /// @{ 
    7483public: 
    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    /// @{ 
     89public: 
     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); 
    7695    /// @} 
    7796 
     
    85104    static void destroy(wpRequest_type _wpRequest); 
    86105    /// @} 
    87  
     106     
    88107    /// @name 'Structors 
    89108    /// @{ 
    90 public: 
     109protected: 
     110    friend class I_SubscribeModelRequest; 
    91111    friend class MessageFactory; 
    92112             /// This constructor is used by the static create 
    93113             /// methods for creating outbound messages. 
    94114             SubscribeModelRequest(pEndpoint_type _pSourceEndpoint, 
    95                                pEndpoint_type _pDestinationEndpoint); 
     115                           pEndpoint_type _pDestinationEndpoint); 
    96116             /// This constructor is used by the message factory 
    97117             /// for creating inbound messages. 
    98118             SubscribeModelRequest(pMessageHeader_type _pMessageHeader, 
    99                                pEndpoint_type _pSourceEndpoint, 
    100                                pEndpoint_type _pDestinationEndpoint); 
     119                           pEndpoint_type _pSourceEndpoint, 
     120                           pEndpoint_type _pDestinationEndpoint); 
    101121    virtual ~SubscribeModelRequest(); 
    102122    /// @} 
     
    109129    static pMessageType_type                                sm_pType; 
    110130    static Zen::Enterprise::AppServer::I_MessageRegistry*   sm_pMessageRegistry; 
     131    
     132    boost::uint64_t m_nodeId; 
     133     
    111134    /// @} 
    112135 
     
    114137 
    115138//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     139}   // namespace Zen 
     140}   // namespace Studio 
    116141}   // namespace Workbench 
    117 }       // namespace Studio 
    118 }   // namespace Zen 
    119142//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    120143 
    121 #endif // ZEN_STUDIO_WORKBENCH_SUBSCRIBE_MODEL_REQUEST_HPP_INCLUDED 
     144#endif // ZEN_STUDIO_WORKBENCH_SUBSCRIBEMODEL_REQUEST_HPP_INCLUDED 
  • Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/SubscribeModelResponse.cpp

    r3161 r3355  
    11//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2 // Zen Studio Workbench Framework 
     2// Zen Community Framework 
    33// 
    4 // Copyright (C) 2001 - 2009 Tony Richards 
     4// Copyright (C) 2001 - 2010 Tony Richards 
    55// Copyright (C) 2008 - 2009 Matthew Alan Gray 
    66// 
     
    2424//  Matthew Alan Gray mgray@indiezen.org 
    2525//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     26// This is generated by the Zen Protocol Code Generator.  Do not modify! 
     27//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2628#include "SubscribeModelResponse.hpp" 
    2729#include "MessageFactory.hpp" 
     
    3840#include <Zen/Core/Utility/runtime_exception.hpp> 
    3941 
     42#include <boost/archive/polymorphic_iarchive.hpp> 
     43#include <boost/archive/polymorphic_oarchive.hpp> 
     44 
    4045//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    4146namespace Zen { 
     
    4853//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    4954SubscribeModelResponse::SubscribeModelResponse(pEndpoint_type _pSourceEndpoint, 
    50                            pEndpoint_type _pDestinationEndpoint) 
     55                           pEndpoint_type _pDestinationEndpoint, 
     56                            unsigned int _requestMessageId) 
    5157:   Message(createMessageHeader(), _pSourceEndpoint, _pDestinationEndpoint) 
     58,   Response(getMessageHeader(), _pSourceEndpoint, _pDestinationEndpoint, _requestMessageId) 
     59         
    5260{ 
    5361} 
     
    5664SubscribeModelResponse::SubscribeModelResponse(pMessageHeader_type _pMessageHeader, 
    5765                             pEndpoint_type _pSourceEndpoint, 
    58                              pEndpoint_type _pDestinationEndpoint) 
     66                             pEndpoint_type _pDestinationEndpoint, 
     67                            unsigned int _requestMessageId) 
    5968:   Message(_pMessageHeader, _pSourceEndpoint, _pDestinationEndpoint) 
     69,   Response(_pMessageHeader, _pSourceEndpoint, _pDestinationEndpoint, _requestMessageId)  
    6070{ 
    6171} 
     
    137147    return sm_pResourceLocation; 
    138148} 
     149 
    139150//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     151}   // namespace Zen 
     152}   // namespace Studio 
    140153}   // namespace Workbench 
    141 }   // namespace Studio 
    142 }   // namespace Zen 
    143154//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
  • Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/SubscribeModelResponse.hpp

    r3161 r3355  
    11//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2 // Zen Studio Workbench Framework 
     2// Zen Community Framework 
    33// 
    4 // Copyright (C) 2001 - 2009 Tony Richards 
     4// Copyright (C) 2001 - 2010 Tony Richards 
    55// Copyright (C) 2008 - 2009 Matthew Alan Gray 
    66// 
     
    2424//  Matthew Alan Gray mgray@indiezen.org 
    2525//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    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 
    2830 
    2931#include "../I_SubscribeModelResponse.hpp" 
    3032 
    31 #include "Message.hpp" 
     33#include "Response.hpp" 
    3234 
    3335#include <Zen/Enterprise/AppServer/I_MessageFactory.hpp> 
     36 
     37#include <boost/cstdint.hpp> 
     38#include <boost/serialization/string.hpp> 
     39#include <string> 
    3440 
    3541//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     
    4248        }   // namespace AppServer 
    4349    }   // namespace Enterprise 
     50}   // namespace Zen 
     51//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     52namespace Zen { 
    4453namespace Studio { 
    4554namespace Workbench { 
    4655//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    47 ; 
    48  
    4956class SubscribeModelResponse 
    5057:   public I_SubscribeModelResponse 
    51 ,   public Message 
     58,   public Response 
    5259{ 
    5360    /// @name Types 
    5461    /// @{ 
    5562public: 
    56     enum { type = 6 };  // TODO Should we be hardcoding this? 
     63    enum { type = 116 };  // TODO Should we be hardcoding this? 
    5764    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; 
    5867    /// @} 
    5968 
     
    7079    /// @} 
    7180 
    72     /// @name SubscribeModelResponse implementation 
     81    /// @name I_Message implementation 
    7382    /// @{ 
    7483public: 
    75     virtual unsigned int getMessageId() const { return Message::getMessageId(); } 
     84    virtual unsigned int getMessageId() const { return Message::getMessageId(); }  
    7685    /// @} 
    7786 
     87    /// @name Dominance for Response 
     88    /// @{ 
     89public: 
     90    virtual unsigned int getRequestMessageId() const { return Response::getRequestMessageId(); } 
     91    /// @} 
    7892    /// @name Static methods 
    7993    /// @{ 
     
    8599    static void destroy(wpResponse_type _wpResponse); 
    86100    /// @} 
    87  
     101     
    88102    /// @name 'Structors 
    89103    /// @{ 
    90 public: 
     104protected: 
     105    friend class I_SubscribeModelResponse; 
    91106    friend class MessageFactory; 
    92107             /// This constructor is used by the static create 
    93108             /// methods for creating outbound messages. 
    94109             SubscribeModelResponse(pEndpoint_type _pSourceEndpoint, 
    95                                pEndpoint_type _pDestinationEndpoint); 
     110                           pEndpoint_type _pDestinationEndpoint, unsigned int _requestMessageId); 
    96111             /// This constructor is used by the message factory 
    97112             /// for creating inbound messages. 
    98113             SubscribeModelResponse(pMessageHeader_type _pMessageHeader, 
    99                                pEndpoint_type _pSourceEndpoint, 
    100                                pEndpoint_type _pDestinationEndpoint); 
     114                           pEndpoint_type _pSourceEndpoint, 
     115                           pEndpoint_type _pDestinationEndpoint, unsigned int _requestMessageId); 
    101116    virtual ~SubscribeModelResponse(); 
    102117    /// @} 
     
    109124    static pMessageType_type                                sm_pType; 
    110125    static Zen::Enterprise::AppServer::I_MessageRegistry*   sm_pMessageRegistry; 
     126    
     127     
    111128    /// @} 
    112129 
     
    114131 
    115132//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     133}   // namespace Zen 
     134}   // namespace Studio 
    116135}   // namespace Workbench 
    117 }       // namespace Studio 
    118 }   // namespace Zen 
    119136//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    120137 
    121 #endif // ZEN_STUDIO_WORKBENCH_SUBSCRIBE_MODEL_RESPONSE_HPP_INCLUDED 
     138#endif // ZEN_STUDIO_WORKBENCH_SUBSCRIBEMODEL_RESPONSE_HPP_INCLUDED 
  • Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/WorkbenchProtocolManager.cpp

    r3161 r3355  
    11//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2 // Zen Studio 
     2// Zen Community Framework 
    33// 
    4 // Copyright (C) 2001 - 2009 Tony Richards 
     4// Copyright (C) 2001 - 2010 Tony Richards 
    55// Copyright (C) 2008 - 2009 Matthew Alan Gray 
    66// 
     
    2424//  Matthew Alan Gray mgray@indiezen.org 
    2525//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    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//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2742#include "WorkbenchProtocolManager.hpp" 
    28  
    29 #include "NewProjectRequest.hpp" 
    30 #include "NewProjectResponse.hpp" 
    3143 
    3244#include "ChildNodeRequest.hpp" 
     
    3547#include "SubscribeModelRequest.hpp" 
    3648#include "SubscribeModelResponse.hpp" 
     49 
     50#include "NewProjectRequest.hpp" 
     51#include "NewProjectResponse.hpp" 
     52 
    3753 
    3854#include <Zen/Enterprise/AppServer/I_ApplicationServer.hpp> 
     
    4662namespace Workbench { 
    4763//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     64 
    4865WorkbenchProtocolManager::WorkbenchProtocolManager() 
    49 :   m_installed(false) 
    5066{ 
    5167} 
     
    6076WorkbenchProtocolManager::install(Zen::Enterprise::AppServer::I_ApplicationServer& _appServer) 
    6177{ 
    62     if( !m_installed ) 
     78    if (!m_installed) 
    6379    { 
    64         NewProjectRequest::registerMessage(_appServer); 
    65         NewProjectResponse::registerMessage(_appServer); 
    66  
    6780        ChildNodeRequest::registerMessage(_appServer); 
    6881        ChildNodeResponse::registerMessage(_appServer); 
     
    7184        SubscribeModelResponse::registerMessage(_appServer); 
    7285 
     86        NewProjectRequest::registerMessage(_appServer); 
     87        NewProjectResponse::registerMessage(_appServer); 
     88 
    7389        m_installed = true; 
    7490    } 
    7591} 
     92//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
     93}   // namespace Zen 
     94}   // namespace Studio 
     95}   // namespace Workbench 
     96//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    7697 
    77 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    78 }       // namespace Workbench 
    79 }       // namespace Studio 
    80 }       // namespace Zen 
    81 //-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
  • Studio/branches/0195_TR_OGITOR_INTEGRATION/WorkbenchProtocol/src/WorkbenchProtocolManager.hpp

    r3161 r3355  
    11//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    2 // Zen Studio 
     2// Zen Community Framework 
    33// 
    4 // Copyright (C) 2001 - 2009 Tony Richards 
     4// Copyright (C) 2001 - 2010 Tony Richards 
    55// Copyright (C) 2008 - 2009 Matthew Alan Gray 
    66// 
     
    2424//  Matthew Alan Gray mgray@indiezen.org 
    2525//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    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 
    2857 
    2958#include "../I_WorkbenchProtocolManager.hpp" 
     
    3463namespace Workbench { 
    3564//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    36 ; 
     65 
    3766 
    3867class WorkbenchProtocolManager 
    39 :       public I_WorkbenchProtocolManager 
     68:   public I_WorkbenchProtocolManager 
    4069{ 
    41         /// @name Types 
    42         /// @{ 
     70    /// @name Types 
     71    /// @{ 
    4372public: 
    44         /// @} 
     73    /// @} 
    4574 
    46         /// @name I_WorkbenchProtocolManager implementation 
    47         /// @{ 
     75    /// @name I_WorkbenchProtocolManager implementation 
     76    /// @{ 
    4877public: 
    49         virtual void install(Zen::Enterprise::AppServer::I_ApplicationServer& _appServer); 
    50         /// @} 
     78    virtual void install(Zen::Enterprise::AppServer::I_ApplicationServer& _appServer); 
     79    /// @} 
    5180 
    52         /// @name 'Structors 
    53         /// @{ 
     81    /// @name 'Structors 
     82    /// @{ 
    5483public: 
    55                         WorkbenchProtocolManager(); 
    56         virtual ~WorkbenchProtocolManager(); 
    57         /// @} 
     84            WorkbenchProtocolManager(); 
     85    virtual ~WorkbenchProtocolManager(); 
     86    /// @} 
    5887 
    59         /// @name Member variables 
     88        /// @name Member Variables 
    6089        /// @{ 
    6190private: 
     
    6392        /// @} 
    6493 
    65 };      // class WorkbenchProtocolManager 
     94};  // class WorkbenchProtocolManager 
    6695 
    6796//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    68 }       // namespace Workbench 
    69 }       // namespace Studio 
    70 }       // namespace Zen 
     97}   // namespace Zen 
     98}   // namespace Studio 
     99}   // namespace Workbench 
    71100//-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ 
    72101 
    73 #endif // ZEN_STUDIO_WORKBENCH_WORKBENCH_PROTOCOL_MANAGER_HPP_INCLUDED 
     102 
     103#endif // ZEN_STUDIO_WORKBENCH_MANAGER_HPP_INCLUDED