62 (*iter)->getAllRepresentants(s);
69 set<InputDataStreamPort *>::const_iterator iter;
74 (*iter)->getAllRepresentants(s);
75 for(set<InPort *>::iterator iter2=s.begin();iter2!=s.end();iter2++)
88 DEBTRACE(
"OutputDataStreamPort::edAddInputDataStreamPort");
93 string what=
"Can not connect 2 ports with incompatible types : ";
95 what=what+
" is not a ";
113 for(set<InPort *>::iterator iter=s.begin();iter!=s.end();iter++)
128 throw Exception(
"OutputDataStreamPort::edRemoveInputPort : link does not exist, unable to remove it");
134 DEBTRACE(
"OutputDataStreamPort::addInPort");
137 string what=
"not compatible type of port requested during building of link FROM ";
146 set<InputDataStreamPort *>::iterator iter;
148 for( set<InputDataStreamPort *>::iterator iter2=vec.begin();iter2!=vec.end();iter2++)
155 DEBTRACE(
"OutputDataStreamPort::removeInPort");
158 string what=
"not compatible type of port requested during destruction of for link FROM ";
void edRemoveLink(OutPort *start, InPort *end)
Remove a dataflow link.
std::string getNameOfTypeOfCurrentInstance() const
TypeCode * edGetType() const
virtual void getAllRepresentants(std::set< InPort * > &repr) const
Base class for all nodes.
virtual ComposedNode * getRootNode() const
virtual int edGetNumberOfOutLinks() const
OutputDataStreamPort(const OutputDataStreamPort &other, Node *newHelder)
virtual bool addInPort(InPort *inPort)
void edRemoveAllLinksLinkedWithMe()
std::set< InputDataStreamPort * > _setOfInputDataStreamPort
virtual OutputDataStreamPort * clone(Node *newHelder) const
int edRemoveInputDataStreamPort(InputDataStreamPort *inPort, bool forward)
virtual bool edAddInputDataStreamPort(InputDataStreamPort *port)
bool isAlreadyInSet(InputDataStreamPort *inPort) const
int removeInPort(InPort *inPort, bool forward)
std::set< InPort * > edSetInPort() const
bool isAlreadyLinkedWith(InPort *withp) const
virtual std::string getNameOfTypeOfCurrentInstance() const
virtual ~OutputDataStreamPort()
Base class for all ports.
Base class for all type objects.
virtual const char * id() const
virtual int isAdaptable(const TypeCode *tc) const
Check if this TypeCode is adaptable to a given TypeCode (tc)