RT_Properties.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 /**
00004  *  @file RT_Properties.h
00005  *
00006  *  $Id: RT_Properties.h 76279 2007-01-03 06:11:06Z cleeland $
00007  *
00008  *  @author Pradeep Gore <pradeep@oomworks.com>
00009  */
00010 
00011 #ifndef TAO_Notify_RT_PROPERTIES_H
00012 #define TAO_Notify_RT_PROPERTIES_H
00013 #include /**/ "ace/pre.h"
00014 
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 "tao/RTCORBA/RTCORBA.h"
00022 
00023 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00024 
00025 /**
00026  * @class TAO_Notify_RT_Properties
00027  *
00028  * @brief RT specifc global properties are stored here.
00029  *
00030  */
00031 class TAO_RT_Notify_Export TAO_Notify_RT_Properties
00032 {
00033 public:
00034   /// Constuctor
00035   TAO_Notify_RT_Properties (void);
00036 
00037   /// Destructor
00038   ~TAO_Notify_RT_Properties ();
00039   /// Return singleton instance of this class.
00040   static TAO_Notify_RT_Properties * instance (void);
00041 
00042   RTCORBA::RTORB_ptr rt_orb (void);
00043   void rt_orb (RTCORBA::RTORB_ptr rt_orb);
00044 
00045   RTCORBA::Current_ptr current (void);
00046   void current (RTCORBA::Current_ptr current);
00047 
00048 protected:
00049   /// RT-ORB
00050   RTCORBA::RTORB_var rt_orb_;
00051 
00052   /// Current
00053   RTCORBA::Current_var current_;
00054 };
00055 
00056 /**
00057  * @todo Remove this legacy TAO_Notify_RT_Properties typedef.
00058  */
00059 typedef TAO_Notify_RT_Properties TAO_Notify_RT_PROPERTIES;
00060 
00061 TAO_END_VERSIONED_NAMESPACE_DECL
00062 
00063 #if defined (__ACE_INLINE__)
00064 #include "orbsvcs/Notify/RT_Properties.inl"
00065 #endif /* __ACE_INLINE__ */
00066 
00067 #include /**/ "ace/post.h"
00068 #endif /* TAO_Notify_RT_PROPERTIES_H */

Generated on Sun Jan 27 15:40:00 2008 for TAO_CosNotification by doxygen 1.3.6