-
Notifications
You must be signed in to change notification settings - Fork 1
xtUML CPP Transformation
Ákos Horváth edited this page Jun 1, 2015
·
9 revisions
- Components cannot have dynamic behavior (state machines).
- There is a single transition from the InitialPoint to the initial state and it has no triggers or guard
- Transitions with the same source and target vertex have at least unique name
- Transitions without triggers are allowed
- Transitions have at most one trigger
- Multiple transitions for the same source vertex with exactly the same triggering event are allowed
- An association can have maximum two AssociationEnds
- Both AssociationEnds are contained in the Association itself
- Only state machine, assume CPPClass for XtClass is available
- State: create CPPState under CPPClass
- Transition: create CPPTranstion under CPPClass
- XtEvent (Transition.triggers.signal): create CPPEvent under CPPClass
- Transition evaluation is ordered based on the position in the
CompositeState .transitions
EList when multiple transitions have the same triggers
- Note that this order may not be the same as the order in UML (due to the nature of incremental transformation)
- Transitions without triggers are not evaluated when processing an event
- These should be executed when a different method is called that will be used for as-long-as-possible execution