summaryrefslogtreecommitdiff
path: root/modules/CIAO/DAnCE/bin/PythonDAnCE/generator/homed_comp_impl.py
blob: ab8a7ee95177f932213938268c995f6ac52ecd14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
from templet import stringfunction

@stringfunction
def template (component_name) :
    """
  <implementation xmi:id="${component_name}ComponentImplementation">
    <name>${component_name}ComponentImplementation</name>
    <source/>
    <artifact xmi:idref="${component_name}_ExecArtifact" />
    <artifact xmi:idref="${component_name}_SvntArtifact" />
    <artifact xmi:idref="${component_name}_StubArtifact" />
  </implementation>    
    """