Skip to content

Comments

Don't try to generate code for network operations and improve generated variable and method names#1

Merged
osulacam merged 2 commits intoosulacam:DataModelfrom
SamCarlberg:DataModel
Sep 9, 2016
Merged

Don't try to generate code for network operations and improve generated variable and method names#1
osulacam merged 2 commits intoosulacam:DataModelfrom
SamCarlberg:DataModel

Conversation

@SamCarlberg
Copy link

Code generation no longer breaks when there are publishing operations in the pipeline

Variables and methods no longer have numbers if there's only one of that operation, or if an operation only has one output.
Operations with multiple outputs have the outputs named the same as on the socket (instead of just 'output0', 'output1', ...)
Rename `MutableOf` to `Ref` because it's really just holding a reference and it's used similarly to output parameters in C/C++
@SamCarlberg SamCarlberg changed the title Don't try generating code for publishing operations Don't try to generate code for network operations and improve generated variable and method names Sep 8, 2016
@SamCarlberg
Copy link
Author

I'm not running tests on my machine until OpenCV artifacts get into the maven repo. Everything seems to work fine but there's some edge cases for generated input variables in C++ that I'm not sure will get the correct names.

@osulacam osulacam merged commit 5729c22 into osulacam:DataModel Sep 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants