Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / orbsvcs / examples / Notify / Lanes / ORB_Objects.h
blob132f3bd1c232abb086fd2427619e090c96b8508e
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
11 #include /**/ "ace/pre.h"
13 #include "tao/RTCORBA/RTCORBA.h"
14 #include "tao/PortableServer/PortableServer.h"
15 #include "orbsvcs/NotifyExtC.h"
16 #include "orbsvcs/CosNamingC.h"
18 /**
19 * @class TAO_Notify_ORB_Objects
21 * @brief Handy Objects that we keep asking the ORB for.
23 class TAO_Notify_ORB_Objects
25 public:
26 /// Constructor
27 TAO_Notify_ORB_Objects ();
29 /// Destructor
30 ~TAO_Notify_ORB_Objects ();
32 /// Resolves all the references.
33 void init (CORBA::ORB_var& orb);
35 /// Resolve Notification
36 CosNotifyChannelAdmin::EventChannelFactory_ptr notify_factory ();
38 ///= Public Data
39 CORBA::ORB_var orb_;
41 PortableServer::POA_var root_poa_;
43 RTCORBA::RTORB_var rt_orb_;
45 RTCORBA::Current_var current_;
47 CosNaming::NamingContextExt_var naming_;
50 #include /**/ "ace/post.h"
51 #endif /* TAO_Notify_ORB_OBJECTS_H */