1 #ifndef __OUTPUTPORT_HXX__
2 #define __OUTPUTPORT_HXX__
5 //#include <omniORB4/CORBA.h>
7 #include "TypeCode.hxx"
9 #include "DataFlowPort.hxx"
10 #include "ConversionException.hxx"
22 class OutputPort : public DataFlowPort, public OutPort
24 friend class ElementaryNode; // for disconnect...
25 friend class Runtime; // for port creation
29 std::string getNameOfTypeOfCurrentInstance() const;
30 std::set<InputPort *> edSetInputPort();
32 bool isAlreadyInSet(InputPort *inputPort) const;
34 virtual bool addInPort(InPort *inPort) throw(Exception);
35 bool edAddInputPort(InputPort *inputPort) throw(ConversionException);
36 virtual void removeInPort(InPort *inPort) throw(Exception);
37 void edRemoveInputPort(InputPort *inputPort) throw(Exception);
41 virtual void put(const void *data) throw(ConversionException);
43 static const char NAME[];
46 OutputPort(const std::string& name, Node *node, TypeCode* type);
47 void edRemoveInputPortOneWay(InputPort *inputPort);
48 std::set<InputPort *> _setOfInputPort;