summaryrefslogtreecommitdiff
path: root/modules/CIAO/ciao/ComponentServer/Configurators/NoOp/NoOp_Configurator.h
blob: d84715d5bcabaf21d04cc560fdde597f2d5123be (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/** $Id$
 * @file  NoOp_Configurator.h
 * @brief This file contains the noop configurator.
 */

#ifndef NOOP_CONFIGURATOR_H
#define NOOP_CONFIGURATOR_H

#include /**/ "ace/pre.h"

#include "ace/config-all.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

#include <ccm/CCM_StandardConfiguratorC.h>

#include "ciao/ComponentServer/Configurators/Server_Configurator.h"
#include "NoOp_Configurator_export.h"

namespace CIAO
{
  namespace Deployment
  {
    /**
     * @class NoOP_Configurator
     *
     * @brief The NoOp_Configurator doesn't do anything.
     */
    class NoOp_Configurator_Export NoOp_Configurator
      : public ComponentServer_Configurator
    {
    public:
      /// Default destructor.
      virtual ~NoOp_Configurator (void);

      /**
       * @brief "pre_orb_initialize" is called before ORB_init.
       */
      virtual int pre_orb_initialize (void);

      /**
       * @brief "post_orb_initialize" is called after NodeApplication
       * get a hold at this object.
       */
      virtual int post_orb_initialize (CORBA::ORB_ptr o);

      /**
       * @brief "init_resource_manager" is called by NodeApplication when
       * it receives an "install" commands.
       */
      virtual int
      init_resource_manager (const ::Components::ConfigValues &properties);

      /**
       * @brief get a policyset by its name.
       */
      virtual CORBA::PolicyList *
      find_container_policies (const ::Components::ConfigValues &properties);
    };
  }
}

#include /**/ "ace/post.h"
#endif /* NOOP_CONFIGURATOR_H */