00001 /* -*- C++ -*- */ 00002 /** 00003 * @file Method_Request_Updates_T.h 00004 * 00005 * $Id: Method_Request_Updates_T.h 81422 2008-04-24 12:33:29Z johnnyw $ 00006 * 00007 * @author Pradeep Gore <pradeep@oomworks.com> 00008 * 00009 * 00010 */ 00011 00012 #ifndef TAO_Notify_METHOD_REQUEST_UPDATES_T_H 00013 #define TAO_Notify_METHOD_REQUEST_UPDATES_T_H 00014 00015 #include /**/ "ace/pre.h" 00016 00017 #include "orbsvcs/Notify/notify_serv_export.h" 00018 00019 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00020 # pragma once 00021 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00022 00023 #include "tao/orbconf.h" 00024 #include "ace/CORBA_macros.h" 00025 00026 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00027 00028 namespace CORBA 00029 { 00030 class Environment; 00031 } 00032 00033 /** 00034 * @class TAO_Notify_Method_Request_Updates_T 00035 * 00036 * @brief 00037 * 00038 */ 00039 template <class SEQ, class PROXY, class SEQ_PARAM, class PROXY_PARAM> 00040 class TAO_Notify_Serv_Export TAO_Notify_Method_Request_Updates_T 00041 { 00042 public: 00043 /// Constructor 00044 TAO_Notify_Method_Request_Updates_T (SEQ_PARAM added, 00045 SEQ_PARAM removed, 00046 PROXY_PARAM proxy); 00047 00048 /// Destructor 00049 virtual ~TAO_Notify_Method_Request_Updates_T (); 00050 00051 /// Execute the Request 00052 int execute_i (void); 00053 00054 protected: 00055 /// Update Added 00056 SEQ added_; 00057 00058 /// Update Removed 00059 SEQ removed_; 00060 00061 /// The Proxy that will receive the updates. 00062 PROXY proxy_; 00063 }; 00064 00065 TAO_END_VERSIONED_NAMESPACE_DECL 00066 00067 #if defined (__ACE_INLINE__) 00068 #include "orbsvcs/Notify/Method_Request_Updates_T.inl" 00069 #endif /* __ACE_INLINE__ */ 00070 00071 #if defined (ACE_TEMPLATES_REQUIRE_SOURCE) 00072 #include "orbsvcs/Notify/Method_Request_Updates_T.cpp" 00073 #endif /* ACE_TEMPLATES_REQUIRE_SOURCE */ 00074 00075 #if defined (ACE_TEMPLATES_REQUIRE_PRAGMA) 00076 #pragma implementation ("Method_Request_Updates_T.cpp") 00077 #endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */ 00078 00079 #include /**/ "ace/post.h" 00080 00081 #endif /* TAO_Notify_METHOD_REQUEST_UPDATES_T_H */