Version: 9.15.0
YACS::ENGINE::InputDataStreamPort4DS2DF Class Reference

#include <Loop.hxx>

Inheritance diagram for YACS::ENGINE::InputDataStreamPort4DS2DF:
Collaboration diagram for YACS::ENGINE::InputDataStreamPort4DS2DF:

Public Member Functions

 InputDataStreamPort4DS2DF (DSToDFForLoop *node, TypeCode *type)
 
void getAllRepresentants (std::set< InPort * > &repr) const
 
- Public Member Functions inherited from YACS::ENGINE::InputDataStreamPort
 InputDataStreamPort (const InputDataStreamPort &other, Node *newHelder)
 
 InputDataStreamPort (const std::string &name, Node *node, TypeCode *type)
 
virtual ~InputDataStreamPort ()
 
virtual std::string getNameOfTypeOfCurrentInstance () const
 
virtual InputDataStreamPortclone (Node *newHelder) const
 
virtual std::string typeName ()
 
virtual void edAddOutputDataStreamPort (OutputDataStreamPort *port)
 
std::set< OutputDataStreamPort * > getConnectedOutputDataStreamPort ()
 
- 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
TypeCodeedGetType () 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 ()
 
NodegetNode () const
 
int getNumId () const
 
void modified ()
 
- Public Member Functions inherited from YACS::ENGINE::InPort
virtual InPortgetPublicRepresentant ()
 
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...
 
bool canSafelySqueezeMemory () const
 
bool isBackLinked () const
 
virtual ~InPort ()
 

Additional Inherited Members

- Static Public Member Functions inherited from YACS::ENGINE::DataPort
static DataPortisCrossingType (const std::vector< DataPort * > &historyOfLink)
 
- Static Public Attributes inherited from YACS::ENGINE::InputDataStreamPort
static const char NAME [] ="InputDataStreamPort"
 
- 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 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::InPort
 InPort (const InPort &other, Node *newHelder)
 
 InPort (const std::string &name, Node *node, TypeCode *type)
 
void edRemoveAllLinksLinkedWithMe ()
 
virtual void edNotifyReferencedBy (OutPort *fromPort, bool isLoopProof=true)
 
virtual void edNotifyDereferencedBy (OutPort *fromPort)
 
- Protected Attributes inherited from YACS::ENGINE::InputDataStreamPort
std::set< OutputDataStreamPort * > _setOfOutputDataStreamPort
 
- 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
 
- Protected Attributes inherited from YACS::ENGINE::InPort
std::set< std::pair< OutPort *, bool > > _backLinks
 
- Static Protected Attributes inherited from YACS::ENGINE::Port
static int _total = 0
 
static const char NAME [] ="Port"
 

Detailed Description

Definition at line 92 of file Loop.hxx.

Constructor & Destructor Documentation

◆ InputDataStreamPort4DS2DF()

InputDataStreamPort4DS2DF::InputDataStreamPort4DS2DF ( DSToDFForLoop node,
TypeCode type 
)

Definition at line 195 of file Loop.cxx.

195  :
196  InputDataStreamPort("", node, type),
197  DataPort("", node, type),
198  Port(node)
199 {
200 }
DataPort(const DataPort &other, Node *newHelder)
Definition: DataPort.cxx:41
InputDataStreamPort(const InputDataStreamPort &other, Node *newHelder)
Port(Node *node)
Definition: Port.cxx:34

Member Function Documentation

◆ getAllRepresentants()

void InputDataStreamPort4DS2DF::getAllRepresentants ( std::set< InPort * > &  repr) const
virtual

Reimplemented from YACS::ENGINE::InPort.

Definition at line 202 of file Loop.cxx.

203 {
204  set<InPort *> s=_node->getOutputPort("")->edSetInPort();
205  repr.insert(s.begin(),s.end());
206 }
virtual OutputPort * getOutputPort(const std::string &name) const =0
std::set< InPort * > edSetInPort() const
Definition: OutputPort.cxx:239
Node * _node
Definition: Port.hxx:55

References YACS::ENGINE::Port::_node, YACS::ENGINE::OutputPort::edSetInPort(), and YACS::ENGINE::Node::getOutputPort().


The documentation for this class was generated from the following files: