Salome HOME
PR: first version from Antony GEAY, with directory restructuration
[modules/yacs.git] / src / engine / OutPort.hxx
diff --git a/src/engine/OutPort.hxx b/src/engine/OutPort.hxx
new file mode 100644 (file)
index 0000000..500c101
--- /dev/null
@@ -0,0 +1,23 @@
+#ifndef __OUTPORT_HXX__
+#define __OUTPORT_HXX__
+
+#include "Port.hxx"
+#include "Exception.hxx"
+
+namespace YACS
+{
+  namespace ENGINE
+  {
+    class InPort;
+    class OutPort : public virtual Port
+    {
+    protected:
+      OutPort(Node *node);
+    public:
+      virtual bool addInPort(InPort *inPort) throw(Exception) = 0;
+      virtual void removeInPort(InPort *inPort) throw(Exception) = 0;
+    };
+  }
+}
+
+#endif