Skip to content
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

Feature/212 provide overview of modified variables #296

Merged
merged 34 commits into from
Jul 12, 2019

Conversation

restenb
Copy link
Member

@restenb restenb commented Jul 8, 2019

Bit unsure who's currently on vacation and not, so review if you can.

This PR implements tracking of variables that currently have an active modifier in cse-core. The getters and setters for modifiers already present in slave_simulator.cpp are used to track/untrack a variable_index with internal sets. The execution can then be queried to return all currently manipulated variables in the simulation. Finally this is stuffed through the C API by transforming into a vector of cse_variable_ids.

Will only work with the companion PRs for cse-server-go and cse-client.

@restenb restenb self-assigned this Jul 8, 2019
@restenb restenb added the enhancement New feature or request label Jul 8, 2019
Copy link
Member

@eidekrist eidekrist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍

src/c/cse.cpp Outdated Show resolved Hide resolved
src/c/cse.cpp Outdated Show resolved Hide resolved
src/c/cse.cpp Outdated Show resolved Hide resolved
src/cpp/cse/slave_simulator.hpp Outdated Show resolved Hide resolved
src/cpp/execution.cpp Outdated Show resolved Hide resolved
src/cpp/slave_simulator.cpp Outdated Show resolved Hide resolved
Copy link
Member

@eidekrist eidekrist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Starting to look good! 😃

include/cse/algorithm.hpp Outdated Show resolved Hide resolved
src/cpp/execution.cpp Show resolved Hide resolved
src/cpp/execution.cpp Outdated Show resolved Hide resolved
src/cpp/execution.cpp Outdated Show resolved Hide resolved
src/cpp/execution.cpp Outdated Show resolved Hide resolved
src/cpp/execution.cpp Outdated Show resolved Hide resolved
src/cpp/execution.cpp Outdated Show resolved Hide resolved
src/c/cse.cpp Outdated Show resolved Hide resolved
include/cse.h Outdated Show resolved Hide resolved
include/cse.h Show resolved Hide resolved
include/cse.h Outdated Show resolved Hide resolved
include/cse/algorithm.hpp Outdated Show resolved Hide resolved
include/cse/algorithm.hpp Outdated Show resolved Hide resolved
include/cse/execution.hpp Show resolved Hide resolved
include/cse/algorithm.hpp Outdated Show resolved Hide resolved
include/cse/algorithm.hpp Outdated Show resolved Hide resolved
include/cse/algorithm.hpp Outdated Show resolved Hide resolved
include/cse/algorithm.hpp Outdated Show resolved Hide resolved
restenb and others added 3 commits July 12, 2019 10:38
Co-Authored-By: Kristoffer Eide <[email protected]>
Co-Authored-By: Kristoffer Eide <[email protected]>
Co-Authored-By: Kristoffer Eide <[email protected]>
restenb and others added 14 commits July 12, 2019 10:39
Co-Authored-By: Kristoffer Eide <[email protected]>
Co-Authored-By: Kristoffer Eide <[email protected]>
Co-Authored-By: Kristoffer Eide <[email protected]>
Co-Authored-By: Kristoffer Eide <[email protected]>
Co-Authored-By: Kristoffer Eide <[email protected]>
Co-Authored-By: Kristoffer Eide <[email protected]>
Co-Authored-By: Kristoffer Eide <[email protected]>
Co-Authored-By: Kristoffer Eide <[email protected]>
Co-Authored-By: Kristoffer Eide <[email protected]>
Co-Authored-By: Kristoffer Eide <[email protected]>
Co-Authored-By: Kristoffer Eide <[email protected]>
Co-Authored-By: Kristoffer Eide <[email protected]>
…modified-variables' into feature/212-provide-overview-of-modified-variables
Copy link
Member

@eidekrist eidekrist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💥

@eidekrist eidekrist merged commit 4e237ea into master Jul 12, 2019
@eidekrist eidekrist deleted the feature/212-provide-overview-of-modified-variables branch July 12, 2019 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants