1 #ifndef __OUTPUTDATASTREAMPORT_HXX__
2 #define __OUTPUTDATASTREAMPORT_HXX__
5 #include "DataStreamPort.hxx"
6 #include "ConversionException.hxx"
14 class InputDataStreamPort;
16 class OutputDataStreamPort : public DataStreamPort, public OutPort
19 std::list<InputDataStreamPort *> _listOfInputDataStreamPort;
21 static const char NAME[];
23 OutputDataStreamPort(const std::string& name, Node *node, StreamType type);
24 std::string getNameOfTypeOfCurrentInstance() const;
25 bool edAddInputDataStreamPort(InputDataStreamPort *port) throw(ConversionException);
26 void edRemoveInputDataStreamPort(InputDataStreamPort *inputPort);
27 bool addInPort(InPort *inPort) throw(Exception);
28 void removeInPort(InPort *inPort) throw(Exception);
31 bool isAlreadyInList(InputDataStreamPort *inputPort) const;