]> SALOME platform Git repositories - modules/yacs.git/blob - src/engine/DataFlowPort.hxx
Salome HOME
96ee8244ff641c287a4edde8f0ea165d007d05d5
[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       TypeOfChannel getTypeOfChannel() const { return DATAFLOW; }
22       virtual ~DataFlowPort();
23       virtual std::string typeName() {return "YACS__ENGINE__DataFlowPort";}
24     };
25   }
26 }
27
28 #endif