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