Details
-
Type:
Improvement
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: pex_config
-
Labels:
-
Story Points:2
-
Epic Link:
-
Sprint:Alert Production F16 - 11c
-
Team:Alert Production
Description
The LSST_CONTROL_FIELD macro defines multiple fields and methods in a Control object's C++ interface, most of which are implementation details hidden from the average programmer. These implementation methods must appear in an object's Python interface for pex_config to work correctly, but should not be wrapped manually as this would break the abstraction provided by the macro.
The simplest solution is to define a macro that adds all elements of an LSST_CONTROL_FIELD to the appropriate Pybind11 wrapper object. This macro must be defined in pex_config in a place where it can be included by the wrapper code for any other stack package.