Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / orbsvcs / tests / Notify / RT_lib / RT_Application_Command.cpp
blob13f19d81ebe055b8dd79485e55d9a15ccaac22c0
1 #include "RT_Application_Command.h"
4 #include "../lib/LookupManager.h"
5 #include "RT_Priority_Mapping.h"
7 TAO_Notify_Tests_RT_Application_Command::TAO_Notify_Tests_RT_Application_Command ()
11 TAO_Notify_Tests_RT_Application_Command::~TAO_Notify_Tests_RT_Application_Command ()
15 void
16 TAO_Notify_Tests_RT_Application_Command::handle_init ()
18 // Call the Base class.
19 TAO_Notify_Tests_Application_Command::handle_init ();
21 CORBA::ORB_var orb;
23 LOOKUP_MANAGER->resolve (orb);
25 TAO_Notify_Tests_RT_Priority_Mapping* mapping = new TAO_Notify_Tests_RT_Priority_Mapping ();
27 mapping->init (orb.in ());
29 LOOKUP_MANAGER->_register (mapping);