3 ms·
There are examples here of making objects that will be reflected, but no examples of what it's like to consume those objects. It would be nice if there was an
by Negitivefrags 5y ago
There are examples here of making objects that will be reflected, but no examples of what it's like to consume those objects.
It would be nice if there was an example of that too.
- jcelerier 5y ago> but no examples of what it's like to consume those objects. I'm not sure I understand: the whole idea is that since the objects are just C++ structs, to "consume" them from some C++ program would just mean including the file and using it. Otherwise, if you want to know how you can do similar reflection on it (for instance to generate an UI from any of those processor) the simplest example is the python binding, the meat of it fits in ~100 lines of code: https://github.com/celtera/avendish/blob/main/src/python/processor.hpp https://github.com/celtera/avendish/blob/main/src/python/pro... if that is what you mean, then yeah what I plan to do is to write some documentation to explain the techniques and reflection API