#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) throw (Exception) |
virtual bool | edAddInputDataStreamPort (InputDataStreamPort *port) throw (ConversionException) |
int | edRemoveInputDataStreamPort (InputDataStreamPort *inPort, bool forward) throw (Exception) |
void | edRemoveAllLinksLinkedWithMe () throw (Exception) |
int | removeInPort (InPort *inPort, bool forward) throw (Exception) |
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::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 | ||
) |
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.
Implements YACS::ENGINE::OutPort.
Reimplemented in YACS::ENGINE::OutputCalStreamPort.
Definition at line 133 of file OutputDataStreamPort.cxx.
References DEBTRACE, and YACS::ENGINE::InputDataStreamPort::NAME.
|
virtual |
Reimplemented in YACS::ENGINE::OutputCalStreamPort.
Definition at line 53 of file OutputDataStreamPort.cxx.
References OutputDataStreamPort().
Referenced by YACS::ENGINE::ElementaryNode::createMultiDatastreamPorts().
|
virtual |
|
virtual |
Implements YACS::ENGINE::DataPort.
Definition at line 145 of file OutputDataStreamPort.cxx.
References _setOfInputDataStreamPort, and edRemoveInputDataStreamPort().
int OutputDataStreamPort::edRemoveInputDataStreamPort | ( | InputDataStreamPort * | inPort, |
bool | forward | ||
) | throw (Exception) |
Definition at line 108 of file OutputDataStreamPort.cxx.
Referenced by edRemoveAllLinksLinkedWithMe().
|
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 166 of file OutputDataStreamPort.cxx.
References _setOfInputDataStreamPort.
|
virtual |
Implements YACS::ENGINE::OutPort.
Definition at line 66 of file OutputDataStreamPort.cxx.
References _setOfInputDataStreamPort.
Implements YACS::ENGINE::OutPort.
Reimplemented in YACS::ENGINE::OutputCalStreamPort.
Definition at line 154 of file OutputDataStreamPort.cxx.
References DEBTRACE, and YACS::ENGINE::InputDataStreamPort::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 edRemoveAllLinksLinkedWithMe(), edSetInPort(), YACS::ENGINE::ElementaryNode::getReadyTasks(), isAlreadyInSet(), and isAlreadyLinkedWith().
|
static |
Definition at line 43 of file OutputDataStreamPort.hxx.
Referenced by getNameOfTypeOfCurrentInstance().