Module 6 - Activity Diagram Part 2 Flashcards
what kind of model element is Enter Final Orbit?
Call behavior action
the Enter final orbit is calling a behavior that has been defined in the model .
Name : Behavior
there are three kinds of behaviors
1. activity
2. state machine
3. Interaction
Which kind of action represents a behavioral decomposition
call behavior action or send signal action ?
Call behavior action
It represents a defined behavior in the model
rake symbols are displayed when one activity calling another _____
activity
why is there a special notation ? the rake symbol is used anywhere that the modeler wants to indicate hierarchical representation
This call behavior is synchronous , the action that calls fire thruster waits for it to finish executing then the action that calls it finishes executing then produces a _______
control token
notes : call behavior actions can call a behavior sync and asycn , its a checkbox in the specifications in cameo
when the action comes to an end , it produces a control token. It calls the behavior fire thruster to start its execution.
what kind of action is this ?
send signal action
three criteria that must be satisfied ? what does the action require to start executing ?
- the activity that owns the action is currently executing
- a control token arrives on each of the incoming control flows
- a sufficient number of object tokens arrive on ___
each of the incoming object flows to meet the min multiplicity of the respective pin
key idea of a send signal action
send signal sends an instance of a signal to a target object to asynchronously trigger a behavior in that target object , then that send signal action ______
terminates
the send signal action asynchronously generates and send a signal once the
currentRadiusOrbit token arrives
Review of a signal
- signals are elements of definition , it defines something
- a signal defines an asynch event that could occur in time.
- once a signal is defined there could be multiple occurrences/ instances of that signal sent and received
a reception would be triggered by an arrival of a matching _____
a reception can only be invoked asynchronously
signal
what is analogTempDataSampled ?
a reception
the signal also matches the receptions name
signals and receptions are always ( fire and forget)
receptions are behaviors that can only behave
asynchronous
a send signal action models the sending of an the name of the ________ being sent
name of the signal being sent
when a signal arrive
1) can trigger a matching reception to trigger a new behavior
2) can also trigger an accept event ________
3) when a signal instance arrives it can also trigger a transition in a state machine behavior
action
an accept event action waits for an event to arrive , then it will execute
which is the client ?
which is the target ?
send signal action is the client
accept event action is the target
what is attitiudeUpdated ?
the signal being sent to the target.. it is not the name of the send signal action
if a signal has been updated , Cameo updates the send signal action input ____ on the send signal action
Pins
what is authenticationResponseSent ?
The ______ that has been assigned to a send signal action
signal
what does this accept event action require to start executing ?
when a control token is received
What type of action do you use when you want to wait for an event to occur before allowing execution to proceed ?
accept event actions
why not call it an accept signal action instead of accept event action ?
accept event action can wait for any of these events not just signals
1. signal event
2. call event
3. change event
4. time event
in the language there are 4 kinds of events defined to model an event occurrence that may trigger an execution of a behavior
- signal event
- call event
- change event
4.
a event occurs at some discrete moment in time it has no duration
time event