Merge pull request #2306 from mitza-oci/warnings
[ACE_TAO.git] / TAO / orbsvcs / examples / Notify / ThreadPool / ORB_Objects.h
blobca94c2e89378a623777b2a8d56fd4adbee36d423
1 /* -*- C++ -*- */
2 /**
3 * @file ORB_Objects.h
5 * @author Pradeep Gore <pradeep@oomworks.com>
6 */
8 #ifndef TAO_Notify_ORB_OBJECTS_H
9 #define TAO_Notify_ORB_OBJECTS_H
10 #include /**/ "ace/pre.h"
12 #include "tao/RTCORBA/RTCORBA.h"
13 #include "tao/PortableServer/PortableServer.h"
14 #include "orbsvcs/NotifyExtC.h"
15 #include "orbsvcs/CosNamingC.h"
17 /**
18 * @class TAO_Notify_ORB_Objects
20 * @brief Handy Objects that we keep asking the ORB for.
22 class TAO_Notify_ORB_Objects
24 public:
25 /// Constructor
26 TAO_Notify_ORB_Objects ();
28 /// Destructor
29 ~TAO_Notify_ORB_Objects ();
31 /// Resolves all the references.
32 void init (CORBA::ORB_var& orb);
34 /// Resolve Notification
35 CosNotifyChannelAdmin::EventChannelFactory_ptr notify_factory ();
37 ///= Public Data
38 CORBA::ORB_var orb_;
40 PortableServer::POA_var root_poa_;
42 RTCORBA::RTORB_var rt_orb_;
44 RTCORBA::Current_var current_;
46 CosNaming::NamingContextExt_var naming_;
49 #include /**/ "ace/post.h"
50 #endif /* TAO_Notify_ORB_OBJECTS_H */