Conversation
|
Signed-off-by: Alexander Krimm <A.Krimm@gsi.de>
- Enable support for std::map and nesting Support for nested Datastructures was not implemented correctly before because only serialise + deserialise was checked but not the actual serialised output. - Add parsing rda3 data into a map - Allows fieldnames with starting with a numeric value by prefixing them with ' x_'. - fix handling of empty nested objects/maps Signed-off-by: Alexander Krimm <A.Krimm@gsi.de>
Signed-off-by: Alexander Krimm <A.Krimm@gsi.de>
Serialisation only, as deserialisation is not possible due to the IoSerialiser expecting to be able to deduce the type of the field at compile time via `IoSerialiser<Proto, T>::getTypeId()`. Signed-off-by: Alexander Krimm <A.Krimm@gsi.de>
Fixes two compatibility issues in the cmw light serialisation format. - The branches for skipping bool arrays that don't exist in the target object were missing => added additional branches. - CMW always serialises n_dims, [nx, ...], n_elem, [x1, ...] even for 1D arrays. Before only the number of elements was (de)serialised leading to incompatible serialised data and crashes on deserialisation. Also adds a testcase which exercises these field types and apply fixes. Signed-off-by: Alexander Krimm <A.Krimm@gsi.de>
Allows (de)serialising lists of reflectable objects. Due to the current structure of the code, some error reporting features are not supported for nested objects. Also fixes an off by one error which consumes one additional byte from the buffer after the object. Signed-off-by: Alexander Krimm <A.Krimm@gsi.de>
Also implements a lightweight rda3 directory client Signed-off-by: Alexander Krimm <A.Krimm@gsi.de>
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




This adds support for RDA3, the protocol used by CMW/FESA based devices.
There are still some open points, for now only get requests are handled completely, subscriptions generally work but need a bit more state-tracking to be reliable