7.5 Modeling Block Behavior
Blocks provide a context for behaviors, which is the SysML term covering any and all descriptions of how the block deals with inputs and outputs and changes to its internal state. A block may designate one behavior as its main or (classifier) behavior, which starts executing when the block is instantiated. Other behaviors are designated to be methods, which provide the detail of how service requests are handled. These two kinds of behaviors may in turn invoke other behaviors within the block. Behaviors have parameters that are used to pass items into or out of the behavior before, after, and sometimes during execution.
As Chapters 9 through 11 describe, there are three main behavioral formalisms in SysML: activities, ...
Get A Practical Guide to SysML, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.