-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancement of State / Mode objects #426
Comments
chgio
added a commit
to chgio/py-capellambse
that referenced
this issue
Sep 29, 2024
Register and declare ReferenceSearchingAccessors for StateTransitions leading into and out of a State Refs: DSD-DBS#426
chgio
added a commit
to chgio/py-capellambse
that referenced
this issue
Sep 29, 2024
Add 2 test cases checking correct access of incoming and outgoing StateTransitions from a State Refs: DSD-DBS#426
chgio
added a commit
to chgio/py-capellambse
that referenced
this issue
Sep 29, 2024
Extend accessors: - incoming_transitions to all *State classes except: - InitialPseudoState - outgoing_transitions to all *State classes except: - FinalState - TerminatePseudoState Refs: DSD-DBS#426
chgio
added a commit
to chgio/py-capellambse
that referenced
this issue
Sep 29, 2024
Wuestengecko
pushed a commit
to chgio/py-capellambse
that referenced
this issue
Sep 30, 2024
Register and declare ReferenceSearchingAccessors for StateTransitions leading into and out of a State: - incoming_transitions to all *State classes except InitialPseudoState - outgoing_transitions to all *State classes except FinalState and TerminatePseudoState Refs: DSD-DBS#426
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In Capella itself you can do a lot more with states and modes at the moment, lets fix that. For State / Mode objects we should add the following attributes:
.related_transitions
- list of transitions that may lead to and from this state.incoming_transitions
- list of transitions that lead to this state.outgoing_transitions
- list of transitions that lead out of this state.owner
- a structural element (Entity, Component, Class, etc) that the parent state machine belongs to.related_states
- list of states that the owner may transition to or from this state.source_states
- list of states from which the system could transition to this state.target_states
- list of states to which the system could transition from this state.entry
- list of activities or functions that are performed on entry into state.do_activity
- list of activities or functions that may be performed while in state.exit
- list of activities or functions that are performed before leaving the statewe should also rename
.states
to.states_and_modes
and add a separate.states
that isnt mixed with modesAdding the above should also enable introduction of a meaningful context diagram for a state.
The text was updated successfully, but these errors were encountered: