-
Notifications
You must be signed in to change notification settings - Fork 69
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
DIS7 - SetDataPdu - Access to _variableDatums #71
Comments
I would like to inform that I am working on a fork trying to fix those issues I found with DIS7. |
@quonn77 I think you're on the right track. Quite a bit of work was done to improve the Java and C++ language implementations, but this may be one of those cases where an improvement was done in one language and not the other yet. If that's the case here, I suggest trying to backport the change done to the Java SetDataPdu into the C++ SetDataPdu. And yes a pull request would be very welcome! It seems like you've found your way around already, but for my own sake I'll leave a few links here as references.
|
@leif81 I will take definitively a look into it, I am working on a fork repo to fix those issues. So as soon I have terminated the development I will get in touch with you to let review my changes. |
@leif81 I would just like to inform you, that I have started again to work on the Open-dis-cpp about aligning the DIS7 PDU with the IEEE Std 1278.1-2012 specification. I have switched, until now, to another project so sorry for the late delay. |
How can I access to the raw data inside the variable datum? Looking at the code I am a little confused.
I mean SetDataPdu contains a std::vector and I can access to it but inside the VariableDatum I found the following
Looking on the standard, AFAIK or let me say as far as I understand, I don't see reference to EightByteChunk _variableDatums even if you marshal and unmarshall it, but no accessor method are provided....
Am I missing something?
How does it is supposed to be used?
For Java impl a getVariableData method exist, here (c++) how can I access the same data?
Also the getMarshalledSize seems to be wrong.
C++ looks like:
Java looks like:
For c++ seems we can add only 4 bytes....
Regards
The text was updated successfully, but these errors were encountered: