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


#ifndef COMPASS_ASSEMBLY_H
#define COMPASS_ASSEMBLY_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 "ACEXML/common/CharStream.h"
#include "ACEXML/compass/CompassTypes.h"

namespace Deployment
{
  class Compass_Export Assembly
  {
  public:
    Assembly(void);
    Assembly (const AssemblyState& state, ACEXML_CharStream* stream);
    ~Assembly();

    AssemblyState get_state();

    void build()
      ACE_THROW_SPEC ((CreateFailure));

    void tear_down()
      ACE_THROW_SPEC ((RemoveFailure));

  private:
    AssemblyState state_;
    ACEXML_CharStream* stream_;
  };
}

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

#include "ace/post.h"

#endif /* COMPASS_ASSEMBLY_H */