summaryrefslogtreecommitdiff
path: root/ACEXML/compass/Assembly.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACEXML/compass/Assembly.h')
-rw-r--r--ACEXML/compass/Assembly.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/ACEXML/compass/Assembly.h b/ACEXML/compass/Assembly.h
new file mode 100644
index 00000000000..bffca408504
--- /dev/null
+++ b/ACEXML/compass/Assembly.h
@@ -0,0 +1,41 @@
+// $Id$
+
+
+#ifndef COMPASS_ASSEMBLY_H
+#define COMPASS_ASSEMBLY_H
+
+#include "ace/pre.h"
+#include "ACEXML/common/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 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_;
+ };
+};
+
+
+#endif /* COMPASS_ASSEMBLY_H */