Version: 8.3.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...
 
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"
 
- 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::InPort
 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)
 
- Protected Attributes inherited from YACS::ENGINE::InputDataStreamPort
std::set< OutputDataStreamPort * > _setOfOutputDataStreamPort
 
- Static Protected Attributes inherited from YACS::ENGINE::Port
static int _total = 0
 
static const char NAME [] ="Port"
 

Detailed Description

Definition at line 91 of file Loop.hxx.

Constructor & Destructor Documentation

InputDataStreamPort4DS2DF::InputDataStreamPort4DS2DF ( DSToDFForLoop node,
TypeCode type 
)

Definition at line 189 of file Loop.cxx.

190  :
191  InputDataStreamPort("", node, type),
192  DataPort("", node, type),
193  Port(node)
194 {
}

Member Function Documentation

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

Reimplemented from YACS::ENGINE::InPort.

Definition at line 196 of file Loop.cxx.

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

197 {
198  set<InPort *> s=_node->getOutputPort("")->edSetInPort();
199  repr.insert(s.begin(),s.end());
200 }

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