1 #ifndef __CONDITIONINPUTPORT_HXX__
2 #define __CONDITIONINPUTPORT_HXX__
4 #include "InputPort.hxx"
12 class ConditionInputPort : public InputPort // public inheritance for correct dynamic cast from Port to ConditionInputPort in GUI part
14 friend class WhileLoop;
15 OutPort *_outOfScopeBackLink;
17 ConditionInputPort(const std::string& name, WhileLoop *node);
18 ConditionInputPort(const ConditionInputPort& other, Node *newHelder);
19 ~ConditionInputPort();
22 InputPort *clone(Node *newHelder) const;
23 bool isLinkedOutOfScope() const;
24 void edNotifyReferencedBy(OutPort *fromPort);
25 void edNotifyDereferencedBy(OutPort *fromPort);
27 void put(const void *data) throw(ConversionException);
32 bool getValue() const { return (_value ? _value->getBoolValue() : false); }