summaryrefslogtreecommitdiff
path: root/ACEXML/compass/CCMHome.h
blob: d339ee71e99fed4ab0714bc6f296e664e8beebc0 (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
// $Id$


#ifndef COMPASS_CCMHOME_H
#define COMPASS_CCMHOME_H

#include "ace/pre.h"
#include "ACEXML/compass/Compass_Export.h"

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

#include "ace/Unbounded_Set.h"
#include "ACEXML/compass/CompassTypes.h"

namespace Deployment
{
  class Compass_Export CCMHome
  {
  public:
    Component* create_component()
      ACE_THROW_SPEC ((CreateFailure));

    void remove_component (Component* comp)
      ACE_THROW_SPEC ((RemoveFailure));

  private:
    Component* component_;
  };

  typedef ACE_Unbounded_Set<CCMHome*> CCMHomes;

}

#if defined (__ACE_INLINE__)
#include "CCMHome.inl"
#endif /* __ACE_INLINE__ */

#include "ace/post.h"

#endif /* COMPASS_CCMHOME_H */