summaryrefslogtreecommitdiff
path: root/trunk/TAO/orbsvcs/tests/Notify/RT_lib/RT_Application_Command.cpp
blob: cdb315860a12cf83f70ae8595f0ce05b5b76e1a5 (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
32
33
// $Id$

#include "RT_Application_Command.h"

ACE_RCSID(lib, TAO_RT_Application_Command, "$Id$")

#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);
}