Salome HOME
merge from branch DEV tag mergeto_trunk_04apr08
[modules/yacs.git] / src / engine / ComponentDefinition.hxx
diff --git a/src/engine/ComponentDefinition.hxx b/src/engine/ComponentDefinition.hxx
new file mode 100644 (file)
index 0000000..5d42dbf
--- /dev/null
@@ -0,0 +1,30 @@
+#ifndef __COMPONENTDEFINITION_HXX__
+#define __COMPONENTDEFINITION_HXX__
+
+#include <map>
+#include <string>
+
+namespace YACS
+{
+  namespace ENGINE
+  {
+    class ServiceNode;
+
+/*! \brief Base class for component definition.
+ *
+ *
+ */
+    class ComponentDefinition 
+    {
+    public:
+      ComponentDefinition(const std::string& name);
+      const std::string& getName() const { return _name; }
+      virtual ~ComponentDefinition();
+      std::map<std::string,ServiceNode*> _serviceMap;
+    protected:
+      std::string _name;
+    };
+  }
+}
+
+#endif