-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
[VT]: Add Virtual Terminal Object Classes #346
Conversation
10d7a00
to
4bcf315
Compare
cbb68ff
to
b08b553
Compare
ac650fd
to
20afb84
Compare
@GwnDaan I've finished my todos on this for now, so it's ready to review at your convenience. Despite the amount of code, it's mostly just setters and getters for the various object types, so there's not really that much functionality to worry about. The object pool deserializer and whatnot will come in another PR. |
Sounds good! I'll try to review it in the coming days, and then I think I'll just mainly have a look at the tests and not so much at the rest, as you suggested👍 |
isobus/include/isobus/isobus/isobus_virtual_terminal_objects.hpp
Outdated
Show resolved
Hide resolved
isobus/include/isobus/isobus/isobus_virtual_terminal_objects.hpp
Outdated
Show resolved
Hide resolved
20afb84
to
d497898
Compare
5a11091
to
20afb84
Compare
Added classes to represent most VT objects. This is intended to be used with a VT server (coming soon) or with an object pool editor program.
20afb84
to
fc64508
Compare
Removed stored references of the whole object tree to avoid dangling references. Removed stored references to the working set's colour map, which should be held externally. Moved some attributes from the child objects vector to instead be set and get via dedicated functions to add clarity. Also, improved error checking for some objects.
fc64508
to
66c4d5d
Compare
SonarCloud Quality Gate failed. 0 Bugs 78.1% Coverage Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
This is intended to be used with a VT server (coming soon? ) or with an object pool editor program. I wanted to open a PR for the ones I have done before the file gets even larger.
Added classes to represent most VT objects.
Todo: Unit tests
Todo: Get Attribute Value functions
Supported objects so far: