1 #ifndef __OUTPUTDATASTREAMPORT_HXX__
2 #define __OUTPUTDATASTREAMPORT_HXX__
5 #include "DataStreamPort.hxx"
6 #include "ConversionException.hxx"
15 class InputDataStreamPort;
17 class OutputDataStreamPort : public DataStreamPort, public OutPort
19 friend class ElementaryNode;
21 std::set<InputDataStreamPort *> _setOfInputDataStreamPort;
23 static const char NAME[];
25 OutputDataStreamPort(const OutputDataStreamPort& other, Node *newHelder);
26 OutputDataStreamPort(const std::string& name, Node *node, TypeCode* type);
27 virtual ~OutputDataStreamPort();
28 virtual OutputDataStreamPort *clone(Node *newHelder) const;
29 std::set<InPort *> edSetInPort() const;
30 bool isAlreadyLinkedWith(InPort *with) const;
31 virtual std::string getNameOfTypeOfCurrentInstance() const;
32 virtual bool addInPort(InPort *inPort) throw(Exception);
33 virtual bool edAddInputDataStreamPort(InputDataStreamPort *port) throw(ConversionException);
34 int edRemoveInputDataStreamPort(InputDataStreamPort *inPort, bool forward) throw(Exception);
35 void edRemoveAllLinksLinkedWithMe() throw(Exception);
36 int removeInPort(InPort *inPort, bool forward) throw(Exception);
38 bool isAlreadyInSet(InputDataStreamPort *inPort) const;