Define LSST_DECLARE_CONTROL_FIELD

Define Documentation

LSST_DECLARE_CONTROL_FIELD(WRAPPER, CLASS, NAME)

Macro used to wrap fields declared by LSST_CONTROL_FIELD using Pybind11.

Example:

LSST_DECLARE_CONTROL_FIELD(clsFoo, Foo, myField)

Parameters
  • WRAPPER: The py::class_ object representing the control class being wrapped.

  • CLASS: The control class. Must be a C++ identifier (not a string), properly namespace-qualified for the context where this macro is being called.

  • NAME: The control field. Must be a C++ identifier (not a string), and must match the NAME argument of the original LSST_CONTROL_FIELD macro.