Salome HOME
PR: first version from Antony GEAY, with directory restructuration
[modules/yacs.git] / src / engine / InputPort.hxx
1 #ifndef __INPUTPORT_HXX__
2 #define __INPUTPORT_HXX__
3
4 #include "InPort.hxx"
5 #include "DataFlowPort.hxx"
6 #include "ConversionException.hxx"
7
8 namespace YACS
9 {
10   namespace ENGINE
11   {
12     class InputPort : public DataFlowPort, public InPort
13     {
14     protected:
15       bool _manuallySet;
16     public:
17       static const char NAME[];
18     public:
19       InputPort(const std::string& name, Node *node, DynType type);
20       std::string getNameOfTypeOfCurrentInstance() const;
21       void edInit(Data data) throw(ConversionException);
22       void edNotifyReferenced();
23       void exInit();
24       Data exGet() const;
25       void exAccept(Data data) throw(ConversionException);
26       ~InputPort();
27     };
28   }
29 }
30
31 #endif