-
Notifications
You must be signed in to change notification settings - Fork 1
Behaviors
mikolaj-milewski edited this page Sep 18, 2024
·
10 revisions
Core concept of Stateflows framework is Behavior: piece of executable logic which is addressable, has its own persistent state and can be interacted with by Events sent to it and received from it.
Stateflows provides two types of Behaviors:
- State Machine (designed to manage processes),
- Activity (more suited for data processing).
Definition of Behavior (f.e. State Machine structure) is called Behavior Class.
For each Behavior Class there can be multiple addressable entities called Behavior Instances, distinguished by string-based Instance ID.