summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Notify/RT_lib/RT_Application_Command.cpp
blob: 02f9125570cf31d0e11d1a8ba56ccb566b11a349 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#include "RT_Application_Command.h"



#include "../lib/LookupManager.h"
#include "RT_Priority_Mapping.h"

TAO_Notify_Tests_RT_Application_Command::TAO_Notify_Tests_RT_Application_Command (void)
{
}

TAO_Notify_Tests_RT_Application_Command::~TAO_Notify_Tests_RT_Application_Command ()
{
}

void
TAO_Notify_Tests_RT_Application_Command::handle_init (void)
{
  // Call the Base class.
  TAO_Notify_Tests_Application_Command::handle_init ();

  CORBA::ORB_var orb;

  LOOKUP_MANAGER->resolve (orb);

  TAO_Notify_Tests_RT_Priority_Mapping* mapping = new TAO_Notify_Tests_RT_Priority_Mapping ();

  mapping->init (orb.in ());

  LOOKUP_MANAGER->_register (mapping);
}