00001 // -*- C++ -*- 00002 00003 /** 00004 * @file RT_Notify_Service.h 00005 * 00006 * $Id: RT_Notify_Service.h 81422 2008-04-24 12:33:29Z johnnyw $ 00007 * 00008 * @author Pradeep Gore <pradeep@oomworks.com> 00009 */ 00010 00011 #ifndef TAO_Notify_RT_NOTIFY_SERVICE_H 00012 #define TAO_Notify_RT_NOTIFY_SERVICE_H 00013 00014 #include /**/ "ace/pre.h" 00015 #include "orbsvcs/Notify/rt_notify_export.h" 00016 00017 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00018 # pragma once 00019 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00020 00021 #include "orbsvcs/Notify/CosNotify_Service.h" 00022 00023 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00024 00025 /** 00026 * @class TAO_RT_Notify_Service 00027 * 00028 * @brief Implemetation of the TAO_Notify_Service interface for RT Notification. 00029 * 00030 */ 00031 class TAO_RT_Notify_Export TAO_RT_Notify_Service : public TAO_CosNotify_Service 00032 { 00033 public: 00034 /// Constructor 00035 TAO_RT_Notify_Service (void); 00036 00037 /// Destructor 00038 ~TAO_RT_Notify_Service (); 00039 00040 /// Init the service. 00041 virtual void init_service (CORBA::ORB_ptr orb); 00042 00043 protected: 00044 /// Init the data members 00045 virtual void init_i (CORBA::ORB_ptr orb); 00046 00047 /// Create the Factory for RT Notify objects. 00048 virtual TAO_Notify_Factory* create_factory (void); 00049 00050 /// Creates the Builder for RT Notify objects. 00051 virtual TAO_Notify_Builder* create_builder (void); 00052 }; 00053 00054 TAO_END_VERSIONED_NAMESPACE_DECL 00055 00056 ACE_FACTORY_DECLARE (TAO_RT_Notify,TAO_RT_Notify_Service) 00057 00058 #include /**/ "ace/post.h" 00059 #endif /* TAO_Notify_RT_NOTIFY_SERVICE_H */