#include <DataStreamPort.hxx>
Public Member Functions | |
std::string | getNameOfTypeOfCurrentInstance () const |
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 () |
virtual std::string | typeName () |
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 void | edRemoveAllLinksLinkedWithMe ()=0 throw (Exception) |
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 () |
Static Public Attributes | |
static const char | NAME [] ="DataStreamPort" |
Static Public Attributes inherited from YACS::ENGINE::DataPort | |
static const char | NAME [] ="DataPort" |
Protected Member Functions | |
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 Attributes | |
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 |
Additional Inherited Members | |
Static Public Member Functions inherited from YACS::ENGINE::DataPort | |
static DataPort * | isCrossingType (const std::vector< DataPort * > &historyOfLink) |
Static Protected Attributes inherited from YACS::ENGINE::Port | |
static int | _total = 0 |
static const char | NAME [] ="Port" |
Definition at line 33 of file DataStreamPort.hxx.
|
protected |
Definition at line 28 of file DataStreamPort.cxx.
Definition at line 32 of file DataStreamPort.cxx.
|
virtual |
Definition at line 36 of file DataStreamPort.cxx.
|
virtual |
Reimplemented from YACS::ENGINE::DataPort.
Reimplemented in YACS::ENGINE::OutputCalStreamPort, YACS::ENGINE::OutputDataStreamPort, YACS::ENGINE::InputCalStreamPort, and YACS::ENGINE::InputDataStreamPort.
Definition at line 40 of file DataStreamPort.cxx.
References NAME.
|
inline |
|
virtual |
Get the value of a property of the port.
name | : the name property |
Definition at line 60 of file DataStreamPort.cxx.
References _propertyMap.
|
inlinevirtual |
returns type of channel the port will use for data exchange on runtime : DATAFLOW or DATASTREAM.
Implements YACS::ENGINE::DataPort.
Definition at line 43 of file DataStreamPort.hxx.
References YACS::ENGINE::DATASTREAM.
|
virtual |
Initialize port properties at the start of calculation phase.
This method is called before the execution of the parent node. It is not used when the user sets properties
Definition at line 84 of file DataStreamPort.cxx.
|
virtual |
Set the values of all properties of the port.
properties | : a map containing the values of properties |
Definition at line 69 of file DataStreamPort.cxx.
References _propertyMap, and setProperty().
Referenced by YACS::HMI::CommandSetDSPortProperties::localExecute(), YACS::HMI::CommandSetLinkProperties::localExecute(), YACS::HMI::CommandSetDSPortProperties::localReverse(), and YACS::HMI::CommandSetLinkProperties::localReverse().
|
virtual |
Set a new value for a property of the port.
name | : the name property |
value | : the value property |
Reimplemented in YACS::ENGINE::OutputCalStreamPort, and YACS::ENGINE::InputCalStreamPort.
Definition at line 50 of file DataStreamPort.cxx.
References _propertyMap.
Referenced by YACS::servertypeParser< T >::instream(), YACS::servicetypeParser< T >::instream(), YACS::servertypeParser< T >::outstream(), YACS::servicetypeParser< T >::outstream(), setProperties(), YACS::ENGINE::InputCalStreamPort::setProperty(), YACS::ENGINE::OutputCalStreamPort::setProperty(), and YACS::bloctypeParser< T >::stream().
|
inlinevirtual |
Reimplemented from YACS::ENGINE::DataPort.
Reimplemented in YACS::ENGINE::OutputDataStreamPort, and YACS::ENGINE::InputDataStreamPort.
Definition at line 50 of file DataStreamPort.hxx.
|
protected |
Definition at line 40 of file DataStreamPort.hxx.
Referenced by getProperty(), setProperties(), and setProperty().
|
static |
Definition at line 36 of file DataStreamPort.hxx.
Referenced by getNameOfTypeOfCurrentInstance().