Commit 455f71db authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Merge branch 'spacecreator' into 'feature_buster'

Spacecreator

See merge request !23
parents fa078a07 e49f906b
Pipeline #3767 passed with stage
in 34 minutes and 6 seconds
Subproject commit 90ab2e993e1be9ab3324c51f478eb9d4af10bfff
Subproject commit a3d9a20da9d55aab39e181bd296ece65c8d199c4
......@@ -59,7 +59,17 @@ FEATURES
The following works only because there is no multicast, otherwise it would repeat the same RI name multiple times
In case of multiple RI->one PI connection there should be a different name for the RI here
{% endcomment %}
{% comment %}
for the RI there are two possible names, either PI_.. if it is a connected RI, or RI_ if it is a function type
we have to iterate over the function attributes to determine it..
{% endcomment %}
{% for attr in func.attributes %}
{% if attr.name == "is_type" and attr.value == "YES" %}
RI_{{ iface.name }} : REQUIRES SUBPROGRAM ACCESS interfaceview::IV::{% for item in endpoint %} {% if not forloop.last %}{{ item }}::{% endif %}{% endfor %}RI_{{ endpoint|last }}.others {
{% elif attr.name == "is_type" and attr.value == "NO" %}
RI_{{ iface.name }} : REQUIRES SUBPROGRAM ACCESS interfaceview::IV::{% for item in endpoint %} {% if not forloop.last %}{{ item }}::{% endif %}{% endfor %}PI_{{ endpoint|last }}.others {
{% endif %}
{% endfor %}
{% endfor %}
{% endif %}
{% for ifprop in iface.properties %}
......@@ -100,7 +110,7 @@ PROPERTIES
Source_Language => ({{ attr.value }});
{% elif attr.name == "is_type" %}
TASTE::Is_Component_Type => {% if attr.value == "YES" %}true{% else %}false{% endif %};
{% elif attr.name == "instance_of" %}
{% elif attr.name == "instance_of" and attr.value != "" %}
TASTE_IV_Properties::is_instance_of => "{{ attr.value }}";
{% else %}
-- unsupported property found: name: "{{ attr.name }}" value: "{{ attr.value }}"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment