ProxyConsumer_T.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 /**
00004  *  @file ProxyConsumer_T.h
00005  *
00006  *  $Id: ProxyConsumer_T.h 81422 2008-04-24 12:33:29Z johnnyw $
00007  *
00008  *  @author Pradeep Gore <pradeep@oomworks.com>
00009  */
00010 
00011 #ifndef TAO_Notify_PROXYCONSUMER_T_H
00012 #define TAO_Notify_PROXYCONSUMER_T_H
00013 
00014 #include /**/ "ace/pre.h"
00015 
00016 #include "orbsvcs/Notify/notify_serv_export.h"
00017 
00018 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00019 # pragma once
00020 #endif /* ACE_LACKS_PRAGMA_ONCE */
00021 
00022 #include "orbsvcs/Notify/Proxy_T.h"
00023 #include "orbsvcs/Notify/ProxyConsumer.h"
00024 
00025 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00026 
00027 /**
00028  * @class TAO_Notify_ProxyConsumer_T
00029  */
00030 template <class SERVANT_TYPE>
00031 class TAO_Notify_Serv_Export TAO_Notify_ProxyConsumer_T
00032   : public virtual TAO_Notify_Proxy_T <SERVANT_TYPE>,
00033     public virtual TAO_Notify_ProxyConsumer
00034 {
00035 public:
00036   /// Constructor
00037   TAO_Notify_ProxyConsumer_T (void);
00038 
00039   /// Destructor
00040   ~TAO_Notify_ProxyConsumer_T ();
00041 
00042   /// Notification of subscriptions set at the admin.
00043   virtual void admin_types_changed (const CosNotification::EventTypeSeq & added,
00044                                     const CosNotification::EventTypeSeq & removed);
00045 
00046   virtual CosNotifyChannelAdmin::SupplierAdmin_ptr MyAdmin (void);
00047 
00048   virtual CosNotification::EventTypeSeq * obtain_subscription_types (
00049     CosNotifyChannelAdmin::ObtainInfoMode mode);
00050 
00051   virtual void offer_change (
00052     const CosNotification::EventTypeSeq & added,
00053     const CosNotification::EventTypeSeq & removed
00054   );
00055 
00056 };
00057 
00058 TAO_END_VERSIONED_NAMESPACE_DECL
00059 
00060 #if defined (ACE_TEMPLATES_REQUIRE_SOURCE)
00061 #include "orbsvcs/Notify/ProxyConsumer_T.cpp"
00062 #endif /* ACE_TEMPLATES_REQUIRE_SOURCE */
00063 
00064 #if defined (ACE_TEMPLATES_REQUIRE_PRAGMA)
00065 #pragma implementation ("ProxyConsumer_T.cpp")
00066 #endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */
00067 
00068 #include /**/ "ace/post.h"
00069 #endif /* TAO_Notify_PROXYCONSUMER_T_H */

Generated on Tue Feb 2 17:45:29 2010 for TAO_CosNotification by  doxygen 1.4.7