Salome HOME
500c101c391f2a2afe5aaa374a550ba82f68bd39
[modules/yacs.git] / src / engine / OutPort.hxx
1 #ifndef __OUTPORT_HXX__
2 #define __OUTPORT_HXX__
3
4 #include "Port.hxx"
5 #include "Exception.hxx"
6
7 namespace YACS
8 {
9   namespace ENGINE
10   {
11     class InPort;
12     class OutPort : public virtual Port
13     {
14     protected:
15       OutPort(Node *node);
16     public:
17       virtual bool addInPort(InPort *inPort) throw(Exception) = 0;
18       virtual void removeInPort(InPort *inPort) throw(Exception) = 0;
19     };
20   }
21 }
22
23 #endif