Salome HOME
copy tag mergefrom_BR_V0_1_CC_Salome_04oct07
[modules/yacs.git] / src / engine / DataFlowPort.hxx
1 #ifndef __DATAFLOWPORT_HXX__
2 #define __DATAFLOWPORT_HXX__
3
4 #include "DataPort.hxx"
5
6 #include <string>
7
8 namespace YACS
9 {
10   namespace ENGINE
11   {
12     class DataFlowPort : public virtual DataPort
13     {
14     public:
15       static const char NAME[];
16     protected:
17       DataFlowPort(const DataFlowPort& other, Node *newHelder);
18       DataFlowPort(const std::string& name, Node *node, TypeCode* type);
19     public:
20       std::string getNameOfTypeOfCurrentInstance() const;
21       bool isDifferentTypeOf(const DataPort *other) const;
22       virtual ~DataFlowPort();
23     };
24   }
25 }
26
27 #endif