summaryrefslogtreecommitdiff
path: root/CIAO/ciao/Servants/Home_Servant_Impl_Base.h
blob: 7486f03cafe390f9dde4f57b6c216240af835522 (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
67
// -*- C++ -*-

//=============================================================================
/**
 *  @file    Home_Servant_Impl_Base.h
 *
 *  $Id$
 *
 *  This file contains the non-template declaration of a base class for
 *  the template mixin for the generated home servant class.
 *
 *  @author Jeff Parsons <j.parsons@vanderbilt.edu>
 */
//=============================================================================

#ifndef CIAO_HOME_SERVANT_IMPL_BASE_H
#define CIAO_HOME_SERVANT_IMPL_BASE_H

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

#include "CIAO_Servant_Impl_export.h"

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

#include "ccm/CCM_HomeS.h"
#include "ccm/CCM_StandardConfiguratorC.h"

namespace CIAO
{
  /**
   * @class Home_Servant_Impl_Base
   *
   * @brief Non-template base class for Home_Servant_Impl.
   *
   * Holds the non-template parts of its child class
   * Home_Servant_Impl.
   */
  class CIAO_Servant_Impl_Export Home_Servant_Impl_Base
    : public virtual POA_Components::CCMHome
  {
  public:
    Home_Servant_Impl_Base (void);

    virtual ~Home_Servant_Impl_Base (void);

    // Operations for CCMHome interface.

#if !defined (CCM_LW)
    virtual ::CORBA::IRObject_ptr get_component_def (void);
#endif

#if !defined (CCM_LW)
    virtual ::CORBA::IRObject_ptr get_home_def (void);
#endif

    /// Operation to set attributes on the home.
    virtual void set_attributes (const Components::ConfigValues &descr);

    virtual void update_component_map (PortableServer::ObjectId &oid) = 0;
  };
}

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

#endif /* CIAO_HOME_SERVANT_IMPL_BASE_H */