摘要:A product line (PL) approach is emerging as the most promising design paradigm for embedded software design domain, where a great variability of requirements and products exists. The implementation of the PL approach requires thorough domain analysis and domain modelling. We propose to represent embedded software components using Enriched Feature Diagrams (EFDs). EFDs are an extension of traditional Feature Diagrams (FDs) for explicit representation of domain variability enriched with contextualization and domain ontology. We suggest to transform feature models described using EFDs into generative component specifications encoded using the metaprogramming techniques. A case study from the embedded software specialization domain is presented.