Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
kazoo
Commits
bc4063d1
Commit
bc4063d1
authored
Apr 16, 2021
by
Maxime Perrotin
Browse files
Pass the state to the observer
parent
068580be
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/iterators/work/simulation/mcsrc/properties.adb
View file @
bc4063d1
...
...
@@ -40,9 +40,7 @@ package body Properties is
-- Put_Line ("[OBS] Context set to: " & GSER.Image (My_Observer.Ctxt));
-- Set the observer's monitors
My_Observer
.
Event
:=
Event
;
My_Observer
.
St
:=
Full_State
.
User_State
;
My_Observer
.
Observe
;
My_Observer
.
Observe
(
Full_State
.
User_State
,
Event
);
-- Read the modified state from the observer
Event
:=
My_Observer
.
Event
;
Full_State
.
User_state
:=
My_Observer
.
St
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment