-
-
Notifications
You must be signed in to change notification settings - Fork 74
Open
Description
It looks like in the Java revamp (#527) we lost TranscoderPlugin.java. Do you intend to bring that back?
I ask because I have a great use-case for it that is difficult to do in C/C++:
- All my logs include a simple type that dumps the text of all of my ZCM types (to make the log self-documenting)
- If I only add new fields, I can get automatic log transcoding by:
- Reading the log types out of an old log and putting them in a temp directory
- Compiling those old types
- Running a Java program that implements
TranscoderPluginand performs reflection on the old and the new types - Registers itself for all new fields (recursively) and transcodes with NaNs etc. for fields that didn't exist at the time the log was created
I have this all wrapped up so it's completely automatic and it's really cool. For me, it solves a major pain point of LCM/ZCM. I'm happy to share code on this if others are interested.
Metadata
Metadata
Assignees
Labels
No labels