Flexible means of passing state data (HW Refs, etc) into methods
pollockm opened this issue · 0 comments
pollockm commented
Most applications that use this kind of framework would interact with some pre-initialized resources (FPGA refs, HW sessions, etc) or maintain some kind of application state.
Currently, that information needs to be stored in an FGV of some kind, since the method templates have no way of receiving state data.
It would be nice if the template for methods included an input/output pair for state data (implemented either as a generic LV class or a variant attribute table), and the server template modified to pass that data around in shift registers.
Alternatively, modify the server template to use shift registers and ask folks to create children of the server class with the accessors and data needed.