#include <InPort.hxx>
Public Member Functions | |
virtual InPort * | getPublicRepresentant () |
virtual int | edGetNumberOfLinks () const |
Returns number of physical backlinks NOT number of user backlinks. More... | |
virtual std::set< OutPort * > | edSetOutPort () const |
Returns physical backlinks NOT user backlinks. More... | |
virtual | ~InPort () |
virtual std::string | typeName () |
Public Member Functions inherited from YACS::ENGINE::DataPort | |
TypeCode * | edGetType () const |
void | edSetType (TypeCode *type) |
std::string | getName () const |
void | setName (std::string theName) |
std::string | getNameOfTypeOfCurrentInstance () const |
virtual TypeOfChannel | getTypeOfChannel () const =0 |
returns type of channel the port will use for data exchange on runtime : DATAFLOW or DATASTREAM. More... | |
bool | isDifferentTypeOf (const DataPort *other) const |
virtual std::string | getAsString () |
returns port value as a string that can be used in a GUI for example More... | |
Public Member Functions inherited from YACS::ENGINE::Port | |
virtual | ~Port () |
Node * | getNode () const |
int | getNumId () const |
void | modified () |
Protected Member Functions | |
InPort (const InPort &other, Node *newHelder) | |
InPort (const std::string &name, Node *node, TypeCode *type) | |
void | edRemoveAllLinksLinkedWithMe () throw (Exception) |
virtual void | edNotifyReferencedBy (OutPort *fromPort) |
virtual void | edNotifyDereferencedBy (OutPort *fromPort) |
virtual void | getAllRepresentants (std::set< InPort * > &repr) const |
Protected Member Functions inherited from YACS::ENGINE::DataPort | |
virtual | ~DataPort () |
DataPort (const DataPort &other, Node *newHelder) | |
DataPort (const std::string &name, Node *node, TypeCode *type) | |
Protected Member Functions inherited from YACS::ENGINE::Port | |
Port (Node *node) | |
Port (const Port &other, Node *newHelder) | |
Protected Attributes | |
std::set< OutPort * > | _backLinks |
Protected Attributes inherited from YACS::ENGINE::DataPort | |
TypeCode * | _type |
std::string | _name |
Protected Attributes inherited from YACS::ENGINE::Port | |
Node * | _node |
int | _id |
Friends | |
class | Loop |
class | OutPort |
class | ProxyPort |
class | OutputPort |
class | DynParaLoop |
class | ForEachLoop |
class | SplitterNode |
class | ComposedNode |
class | OptimizerLoop |
class | ElementaryNode |
class | CollectorSwOutPort |
class | OutputDataStreamPort |
class | InterceptorInputPort |
Additional Inherited Members | |
Static Public Member Functions inherited from YACS::ENGINE::DataPort | |
static DataPort * | isCrossingType (const std::vector< DataPort * > &historyOfLink) |
Static Public Attributes inherited from YACS::ENGINE::DataPort | |
static const char | NAME [] ="DataPort" |
Static Protected Attributes inherited from YACS::ENGINE::Port | |
static int | _total = 0 |
static const char | NAME [] ="Port" |
Definition at line 46 of file InPort.hxx.
|
virtual |
Definition at line 38 of file InPort.cxx.
|
virtual |
Returns number of physical backlinks NOT number of user backlinks.
Reimplemented in YACS::ENGINE::ProxyPort.
Definition at line 43 of file InPort.cxx.
References _backLinks.
Referenced by YACS::ENGINE::ProxyPort::edGetNumberOfLinks(), YACS::ENGINE::DynParaLoop::isMultiplicitySpecified(), YACS::HMI::SchemaInPortItem::SchemaInPortItem(), YACS::ENGINE::OptimizerLoop::setAlgorithm(), YACS::ENGINE::InputCalStreamPort::setDepend(), and YACS::HMI::SchemaInPortItem::update().
|
protectedvirtual |
Reimplemented in YACS::ENGINE::ProxyPort, and YACS::ENGINE::ConditionInputPort.
Definition at line 74 of file InPort.cxx.
References _backLinks, and YACS::ENGINE::Port::modified().
Referenced by YACS::ENGINE::ConditionInputPort::edNotifyDereferencedBy(), and YACS::ENGINE::ProxyPort::edNotifyDereferencedBy().
|
protectedvirtual |
Reimplemented in YACS::ENGINE::ProxyPort, and YACS::ENGINE::ConditionInputPort.
Definition at line 68 of file InPort.cxx.
References _backLinks, and YACS::ENGINE::Port::modified().
Referenced by YACS::ENGINE::ConditionInputPort::edNotifyReferencedBy(), YACS::ENGINE::ProxyPort::edNotifyReferencedBy(), YACS::ENGINE::DynParaLoop::prepareInputsFromOutOfScope(), and YACS::ENGINE::DynParaLoop::putValueOnBranch().
|
protectedvirtual |
Implements YACS::ENGINE::DataPort.
Reimplemented in YACS::ENGINE::ProxyPort.
Definition at line 48 of file InPort.cxx.
References _backLinks, YACS::ENGINE::Port::_node, YACS::ENGINE::ComposedNode::edRemoveLink(), YACS::ENGINE::Node::getRootNode(), and YACS::ENGINE::Port::modified().
Referenced by YACS::ENGINE::ProxyPort::edRemoveAllLinksLinkedWithMe(), and YACS::ENGINE::DynParaLoop::forceMultiplicity().
|
virtual |
Returns physical backlinks NOT user backlinks.
Reimplemented in YACS::ENGINE::ProxyPort.
Definition at line 63 of file InPort.cxx.
References _backLinks.
Referenced by YACS::ENGINE::ProxyPort::edSetOutPort(), YACS::ENGINE::ElementaryNode::ensureLoading(), YACS::ENGINE::Switch::getAllInPortsComingFromOutsideOfCurrentScope(), YACS::ENGINE::OutputPort4DS2DF::getAllRepresented(), YACS::ENGINE::OptimizerLoop::initInterceptors(), and YACS::ENGINE::OptimizerLoop::OptimizerLoop().
|
protectedvirtual |
Reimplemented in YACS::ENGINE::ProxyPort, YACS::ENGINE::InputDataStreamPort4DS2DF, YACS::ENGINE::InterceptorInputPort, and YACS::ENGINE::InputPort4DF2DS.
Definition at line 80 of file InPort.cxx.
Referenced by YACS::ENGINE::ProxyPort::getAllRepresentants(), YACS::ENGINE::CollectorSwOutPort::isAlreadyLinkedWith(), and YACS::ENGINE::OutputPort::isAlreadyLinkedWith().
|
inlinevirtual |
Reimplemented in YACS::ENGINE::ProxyPort, YACS::ENGINE::InputPort, and YACS::ENGINE::InPropertyPort.
Definition at line 62 of file InPort.hxx.
Referenced by YACS::ENGINE::OutputPort::edRemoveInputPort(), and YACS::ENGINE::OutputPort::isAlreadyLinkedWith().
|
inlinevirtual |
Reimplemented from YACS::ENGINE::DataPort.
Reimplemented in YACS::ENGINE::ProxyPort, YACS::ENGINE::InputPyPort, YACS::ENGINE::InputPort, YACS::ENGINE::InputCorbaPort, YACS::ENGINE::InputStudyPort, YACS::ENGINE::InputPresetPort, YACS::ENGINE::ConditionInputPort, YACS::ENGINE::InPropertyPort, YACS::ENGINE::AnyInputPort, and YACS::ENGINE::InputDataStreamPort.
Definition at line 66 of file InPort.hxx.
|
friend |
Definition at line 58 of file InPort.hxx.
|
friend |
Definition at line 55 of file InPort.hxx.
|
friend |
Definition at line 52 of file InPort.hxx.
|
friend |
Definition at line 57 of file InPort.hxx.
|
friend |
Definition at line 53 of file InPort.hxx.
|
friend |
Definition at line 60 of file InPort.hxx.
|
friend |
Definition at line 48 of file InPort.hxx.
|
friend |
Definition at line 56 of file InPort.hxx.
|
friend |
Definition at line 49 of file InPort.hxx.
|
friend |
Definition at line 59 of file InPort.hxx.
|
friend |
Definition at line 51 of file InPort.hxx.
|
friend |
Definition at line 50 of file InPort.hxx.
|
friend |
Definition at line 54 of file InPort.hxx.
|
protected |
Definition at line 75 of file InPort.hxx.
Referenced by YACS::ENGINE::InputPort::checkBasicConsistency(), edGetNumberOfLinks(), YACS::ENGINE::InputPort::edIsInitialized(), edNotifyDereferencedBy(), edNotifyReferencedBy(), edRemoveAllLinksLinkedWithMe(), edSetOutPort(), and YACS::ENGINE::ElementaryNode::getReadyTasks().