cocomr / coco

Compact Components is a framework for the development of resource intensive applications with a focus on Mixed Reality applications and Robotics. This repository provides the core technology over which CoCo Mixed Reality is based
http://coco.readthedocs.io/
MIT License
6 stars 3 forks source link

Sending content to Components in XML or extending components #21

Closed eruffaldi closed 7 years ago

eruffaldi commented 7 years ago

This is a feature that is useful for SRG

1) the content of the tag is sent to the component via an operator (content) passing the name and the value in the XML tag.

2) allows to extend a previously defined component with content tags. Decide if we can replace attributes, probably yes

eruffaldi commented 7 years ago
<component extends="instancename">
<!-- only attribute and content allowed -->
</component>

<component>
<content name="name">
... user defined ...
</content>
</component>