blob: 9baa9d2df49982b8714b9bc5b4f385455201b81b (
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
34
35
|
// $Id$
#include "RT_Application_Command.h"
ACE_RCSID(lib, TAO_RT_Application_Command, "$id$")
#include "LookupManager.h"
#include "RT_Priority_Mapping.h"
TAO_NS_RT_Application_Command::TAO_NS_RT_Application_Command (void)
{
}
TAO_NS_RT_Application_Command::~TAO_NS_RT_Application_Command ()
{
}
void
TAO_NS_RT_Application_Command::handle_init (ACE_ENV_SINGLE_ARG_DECL)
{
// Call the Base class.
TAO_NS_Application_Command::handle_init (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK;
CORBA::ORB_var orb;
LOOKUP_MANAGER->resolve (orb);
TAO_NS_RT_Priority_Mapping* mapping = new TAO_NS_RT_Priority_Mapping ();
mapping->init (orb.in () ACE_ENV_ARG_PARAMETER);
ACE_CHECK;
LOOKUP_MANAGER->_register (mapping);
}
|