#include <OutputDataStreamPort.hxx>


Public Member Functions | |
| OutputDataStreamPort (const OutputDataStreamPort &other, Node *newHelder) | |
| OutputDataStreamPort (const std::string &name, Node *node, TypeCode *type) | |
| virtual | ~OutputDataStreamPort () |
| virtual OutputDataStreamPort * | clone (Node *newHelder) const |
| std::set< InPort * > | edSetInPort () const |
| bool | isAlreadyLinkedWith (InPort *withp) const |
| virtual std::string | getNameOfTypeOfCurrentInstance () const |
| virtual bool | addInPort (InPort *inPort) |
| virtual bool | edAddInputDataStreamPort (InputDataStreamPort *port) |
| int | edRemoveInputDataStreamPort (InputDataStreamPort *inPort, bool forward) |
| void | edRemoveAllLinksLinkedWithMe () |
| int | removeInPort (InPort *inPort, bool forward) |
| virtual std::string | typeName () |
Public Member Functions inherited from YACS::ENGINE::DataStreamPort | |
| TypeOfChannel | getTypeOfChannel () const |
| returns type of channel the port will use for data exchange on runtime : DATAFLOW or DATASTREAM. More... | |
| virtual void | setProperty (const std::string &name, const std::string &value) |
| Set a new value for a property of the port. More... | |
| virtual void | setProperties (std::map< std::string, std::string > properties) |
| Set the values of all properties of the port. More... | |
| virtual std::string | getProperty (const std::string &name) |
| Get the value of a property of the port. More... | |
| std::map< std::string, std::string > | getProperties () const |
| virtual void | initPortProperties () |
| Initialize port properties at the start of calculation phase. More... | |
| virtual | ~DataStreamPort () |
Public Member Functions inherited from YACS::ENGINE::DataPort | |
| TypeCode * | edGetType () const |
| void | edSetType (TypeCode *type) |
| std::string | getName () const |
| void | setName (std::string theName) |
| 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 () |
Public Member Functions inherited from YACS::ENGINE::OutPort | |
| virtual void | checkConsistency (LinkInfo &info) const |
| virtual int | edGetNumberOfOutLinks () const |
| virtual void | getAllRepresented (std::set< OutPort * > &represented) const |
| virtual | ~OutPort () |
| std::vector< DataPort * > | calculateHistoryOfLinkWith (InPort *end) |
Static Public Attributes | |
| static const char | NAME [] ="OutputDataStreamPort" |
Static Public Attributes inherited from YACS::ENGINE::DataStreamPort | |
| static const char | NAME [] ="DataStreamPort" |
Static Public Attributes inherited from YACS::ENGINE::DataPort | |
| static const char | NAME [] ="DataPort" |
Protected Attributes | |
| std::set< InputDataStreamPort * > | _setOfInputDataStreamPort |
Protected Attributes inherited from YACS::ENGINE::DataStreamPort | |
| std::map< std::string, std::string > | _propertyMap |
Protected Attributes inherited from YACS::ENGINE::DataPort | |
| TypeCode * | _type |
| std::string | _name |
Protected Attributes inherited from YACS::ENGINE::Port | |
| Node * | _node |
| int | _id |
Private Member Functions | |
| bool | isAlreadyInSet (InputDataStreamPort *inPort) const |
Friends | |
| class | ElementaryNode |
Additional Inherited Members | |
Static Public Member Functions inherited from YACS::ENGINE::DataPort | |
| static DataPort * | isCrossingType (const std::vector< DataPort * > &historyOfLink) |
Protected Member Functions inherited from YACS::ENGINE::DataStreamPort | |
| DataStreamPort (const DataStreamPort &other, Node *newHelder) | |
| DataStreamPort (const std::string &name, Node *node, TypeCode *type) | |
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 Member Functions inherited from YACS::ENGINE::OutPort | |
| OutPort (const OutPort &other, Node *newHelder) | |
| OutPort (const std::string &name, Node *node, TypeCode *type) | |
Static Protected Attributes inherited from YACS::ENGINE::Port | |
| static int | _total = 0 |
| static const char | NAME [] ="Port" |
Definition at line 37 of file OutputDataStreamPort.hxx.
| OutputDataStreamPort::OutputDataStreamPort | ( | const OutputDataStreamPort & | other, |
| Node * | newHelder | ||
| ) |
Definition at line 35 of file OutputDataStreamPort.cxx.
Referenced by clone().
| OutputDataStreamPort::OutputDataStreamPort | ( | const std::string & | name, |
| Node * | node, | ||
| TypeCode * | type | ||
| ) |
Definition at line 42 of file OutputDataStreamPort.cxx.
|
virtual |
Definition at line 49 of file OutputDataStreamPort.cxx.
|
virtual |
Implements YACS::ENGINE::OutPort.
Reimplemented in YACS::ENGINE::OutputCalStreamPort.
Definition at line 132 of file OutputDataStreamPort.cxx.
References DEBTRACE, edAddInputDataStreamPort(), YACS::ENGINE::DataPort::getNameOfTypeOfCurrentInstance(), YACS::ENGINE::InputDataStreamPort::NAME, and NAME.
|
virtual |
Reimplemented in YACS::ENGINE::OutputCalStreamPort.
Definition at line 53 of file OutputDataStreamPort.cxx.
References OutputDataStreamPort().
Referenced by YACS::ENGINE::ElementaryNode::createMultiDatastreamPorts().
|
virtual |
Definition at line 86 of file OutputDataStreamPort.cxx.
References _setOfInputDataStreamPort, DEBTRACE, YACS::ENGINE::InputDataStreamPort::edAddOutputDataStreamPort(), YACS::ENGINE::DataPort::edGetType(), YACS::ENGINE::TypeCode::id(), YACS::ENGINE::TypeCode::isAdaptable(), and isAlreadyInSet().
Referenced by addInPort(), and YACS::ENGINE::OutputCalStreamPort::addInPort().
|
virtual |
Implements YACS::ENGINE::DataPort.
Definition at line 144 of file OutputDataStreamPort.cxx.
References _setOfInputDataStreamPort, and edRemoveInputDataStreamPort().
| int OutputDataStreamPort::edRemoveInputDataStreamPort | ( | InputDataStreamPort * | inPort, |
| bool | forward | ||
| ) |
Definition at line 107 of file OutputDataStreamPort.cxx.
References YACS::ENGINE::Port::_node, _setOfInputDataStreamPort, YACS::ENGINE::OutPort::edGetNumberOfOutLinks(), YACS::ENGINE::ComposedNode::edRemoveLink(), YACS::ENGINE::InPort::getAllRepresentants(), YACS::ENGINE::Node::getRootNode(), and YACS::ENGINE::Port::modified().
Referenced by edRemoveAllLinksLinkedWithMe(), removeInPort(), and YACS::ENGINE::OutputCalStreamPort::removeInPort().
|
virtual |
Implements YACS::ENGINE::OutPort.
Definition at line 58 of file OutputDataStreamPort.cxx.
References _setOfInputDataStreamPort.
Referenced by YACS::ENGINE::ElementaryNode::ensureLoading(), YACS::ENGINE::InputPort4DF2DS::getAllRepresentants(), YACS::ENGINE::ElementaryNode::getCoupledNodes(), and YACS::ENGINE::VisitorSaveSchema::writeSimpleStreamLinks().
|
virtual |
Reimplemented from YACS::ENGINE::DataStreamPort.
Reimplemented in YACS::ENGINE::OutputCalStreamPort.
Definition at line 81 of file OutputDataStreamPort.cxx.
References NAME.
|
private |
Definition at line 165 of file OutputDataStreamPort.cxx.
References _setOfInputDataStreamPort.
Referenced by edAddInputDataStreamPort().
|
virtual |
Implements YACS::ENGINE::OutPort.
Definition at line 66 of file OutputDataStreamPort.cxx.
References _setOfInputDataStreamPort.
|
virtual |
Implements YACS::ENGINE::OutPort.
Reimplemented in YACS::ENGINE::OutputCalStreamPort.
Definition at line 153 of file OutputDataStreamPort.cxx.
References DEBTRACE, edRemoveInputDataStreamPort(), YACS::ENGINE::DataPort::getNameOfTypeOfCurrentInstance(), YACS::ENGINE::InputDataStreamPort::NAME, and NAME.
|
inlinevirtual |
Reimplemented from YACS::ENGINE::DataStreamPort.
Definition at line 57 of file OutputDataStreamPort.hxx.
|
friend |
Definition at line 39 of file OutputDataStreamPort.hxx.
|
protected |
Definition at line 41 of file OutputDataStreamPort.hxx.
Referenced by edAddInputDataStreamPort(), edRemoveAllLinksLinkedWithMe(), edRemoveInputDataStreamPort(), edSetInPort(), YACS::ENGINE::ElementaryNode::getReadyTasks(), isAlreadyInSet(), and isAlreadyLinkedWith().
|
static |
Definition at line 43 of file OutputDataStreamPort.hxx.
Referenced by addInPort(), getNameOfTypeOfCurrentInstance(), and removeInPort().