Base class for all ports. More...
#include <Port.hxx>


Public Member Functions | |
| virtual | ~Port () | 
| Node * | getNode () const | 
| virtual std::string | getNameOfTypeOfCurrentInstance () const | 
| int | getNumId () const | 
| virtual std::string | typeName () | 
| void | modified () | 
Protected Member Functions | |
| Port (Node *node) | |
| Port (const Port &other, Node *newHelder) | |
Protected Attributes | |
| Node * | _node | 
| int | _id | 
Static Protected Attributes | |
| static int | _total = 0 | 
| static const char | NAME [] ="Port" | 
Base class for all ports.
Not instanciable class that factorizes all basic data and behaviours relative to the in and out interfaces of all nodes. End-user should neither instanciate a sub-class of 'Port' nor call other methods than accessor.
      
  | 
  protected | 
      
  | 
  virtual | 
Reimplemented in YACS::ENGINE::OutputCalStreamPort, YACS::ENGINE::DataPort, YACS::ENGINE::OutputPort, YACS::ENGINE::InputPort, YACS::ENGINE::OutputDataStreamPort, YACS::ENGINE::InPropertyPort, YACS::ENGINE::InputCalStreamPort, YACS::ENGINE::InputDataStreamPort, YACS::ENGINE::InGate, YACS::ENGINE::OutGate, YACS::ENGINE::CollectorSwOutPort, YACS::ENGINE::DataStreamPort, and YACS::ENGINE::DataFlowPort.
Definition at line 48 of file Port.cxx.
References NAME.
      
  | 
  inline | 
Definition at line 46 of file Port.hxx.
Referenced by YACS::ENGINE::CollectorSwOutPort::addPotentialProducerForMaster(), YACS::ENGINE::Bloc::Bloc(), YACS::ENGINE::OutPort::calculateHistoryOfLinkWith(), YACS::HMI::LinkMatrix::cellFrom(), YACS::HMI::LinkMatrix::cellTo(), YACS::ENGINE::ForLoop::checkCFLinks(), YACS::ENGINE::DynParaLoop::checkCFLinks(), YACS::ENGINE::ComposedNode::checkCFLinks(), YACS::ENGINE::Loop::checkCFLinks(), YACS::ENGINE::StaticDefinedComposedNode::checkControlDependancy(), YACS::ENGINE::Bloc::checkControlDependancy(), YACS::ENGINE::DynParaLoop::cloneAndPlaceNodesCoherently(), YACS::HMI::EditionInputPort::EditionInputPort(), YACS::HMI::EditionOutputPort::EditionOutputPort(), YACS::ENGINE::ConditionInputPort::edNotifyDereferencedBy(), YACS::ENGINE::ConditionInputPort::edNotifyReferencedBy(), YACS::HMI::SchemaInPortItem::flags(), YACS::HMI::SchemaOutPortItem::flags(), YACS::ENGINE::ForEachLoop::getFEDeltaBetween(), YACS::ENGINE::CollectorSwOutPort::getHumanReprOfIncompleteCases(), YACS::ENGINE::OptimizerLoop::initInterceptors(), YACS::HMI::SubjectComposedNode::loadLinks(), YACS::HMI::InPortMenu::popupMenu(), YACS::HMI::OutPortMenu::popupMenu(), YACS::ENGINE::InputStudyPort::putDataInStudy(), YACS::HMI::SubjectNode::restoreLinks(), YACS::HMI::SubjectNode::saveLinks(), YACS::HMI::SchemaInPortItem::SchemaInPortItem(), YACS::HMI::GuiExecutor::setInPortValue(), YACS::HMI::SubjectDataPort::setName(), YACS::HMI::SubjectInputPort::SubjectInputPort(), YACS::HMI::SubjectOutputPort::SubjectOutputPort(), YACS::HMI::SchemaInPortItem::update(), YACS::ENGINE::VisitorSaveSchema::writeSimpleDataLinks(), YACS::ENGINE::VisitorSaveSchema::writeSimpleStreamLinks(), and YACS::HMI::SubjectDataPort::~SubjectDataPort().
      
  | 
  inline | 
Definition at line 48 of file Port.hxx.
Referenced by YACS::ENGINE::VisitorSaveSchema::writeSimpleDataLinks(), and YACS::ENGINE::VisitorSaveSchema::writeSimpleStreamLinks().
| void Port::modified | ( | ) | 
Definition at line 53 of file Port.cxx.
References _node, DEBTRACE, and YACS::ENGINE::Node::modified().
Referenced by YACS::ENGINE::OutGate::edAddInGate(), YACS::ENGINE::InputPort::edInit(), YACS::ENGINE::InPort::edNotifyDereferencedBy(), YACS::ENGINE::InPort::edNotifyReferencedBy(), YACS::ENGINE::InPort::edRemoveAllLinksLinkedWithMe(), YACS::ENGINE::OutGate::edRemoveInGateOneWay(), YACS::ENGINE::OutputPort::edRemoveInputPort(), YACS::ENGINE::OutputStudyPort::setData(), YACS::ENGINE::OutputPresetPort::setData(), YACS::ENGINE::InputPresetPort::setData(), and YACS::ENGINE::InputStudyPort::setData().
      
  | 
  inlinevirtual | 
Reimplemented in YACS::ENGINE::ProxyPort, YACS::ENGINE::OutputPyPort, YACS::ENGINE::OutputCorbaPort, YACS::ENGINE::InputPyPort, YACS::ENGINE::InputPort, YACS::ENGINE::OutputPort, YACS::ENGINE::InPort, YACS::ENGINE::InputCorbaPort, YACS::ENGINE::InputStudyPort, YACS::ENGINE::DataPort, YACS::ENGINE::InputPresetPort, YACS::ENGINE::InGate, YACS::ENGINE::OutGate, YACS::ENGINE::OutputDataStreamPort, YACS::ENGINE::ConditionInputPort, YACS::ENGINE::InPropertyPort, YACS::ENGINE::OutPort, YACS::ENGINE::AnyInputPort, YACS::ENGINE::DataStreamPort, YACS::ENGINE::InputDataStreamPort, YACS::ENGINE::AnyOutputPort, YACS::ENGINE::OutputPresetPort, YACS::ENGINE::OutputStudyPort, and YACS::ENGINE::DataFlowPort.
      
  | 
  protected | 
Definition at line 55 of file Port.hxx.
Referenced by YACS::ENGINE::CollectorSwOutPort::addPotentialProducerForMaster(), YACS::ENGINE::InputPort::checkBasicConsistency(), YACS::ENGINE::CollectorSwOutPort::checkConsistency(), YACS::ENGINE::CollectorSwOutPort::CollectorSwOutPort(), YACS::ENGINE::ConditionInputPort::edNotifyDereferencedBy(), YACS::ENGINE::ConditionInputPort::edNotifyReferencedBy(), YACS::ENGINE::InPort::edRemoveAllLinksLinkedWithMe(), YACS::ENGINE::InPropertyPort::exNewPropertyValue(), YACS::ENGINE::InGate::exNotifyDisabled(), YACS::ENGINE::InGate::exNotifyFailed(), YACS::ENGINE::InGate::exNotifyFromPrecursor(), YACS::ENGINE::InputPort4DF2DS::getAllRepresentants(), YACS::ENGINE::InputDataStreamPort4DS2DF::getAllRepresentants(), YACS::ENGINE::OutputPort4DS2DF::getAllRepresented(), YACS::ENGINE::CollectorSwOutPort::getHumanReprOfIncompleteCases(), and modified().
      
  | 
  staticprotected | 
Definition at line 58 of file Port.hxx.
Referenced by getNameOfTypeOfCurrentInstance().