libcamera/utils/ipc
Paul Elder 207c9e1c1d utils: ipc: Add support for Flags
Add Flags<E> as a supported type in the IPA interface.

It is used in mojom with the [flags] attribute. Any field or parameter
type E that is prefixed with the [flags] attribute will direct the code
generator to generate the type name "Flags<E>" and appropriate
serialization/deserialization code for Flags<E> instead of for E.

It is usable and has been tested in struct members, function input and
output parameters, and Signal parameters. This does not add support for
returning Flags as direct return values.

Additionally, the [scopedEnum] attribute can be used on enum
definitions, which will instruct the code generator to convert it to an
enum class instead of a raw enum.

Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
2022-10-18 18:51:33 +09:00
..
generators utils: ipc: Add support for Flags 2022-10-18 18:51:33 +09:00
mojo utils: ipc: Update mojo 2021-05-26 13:03:27 +09:00
tools utils: ipc: Update mojo 2021-05-26 13:03:27 +09:00
extract-docs.py utils: ipc: extract-docs: Extract the SPDX header 2021-05-31 13:20:19 +09:00
generate.py utils: ipc: add generator script 2021-02-16 19:21:07 +09:00
meson.build utils: ipc: Add script to extract doxygen docs from mojom files 2021-05-27 17:07:04 +09:00
parser.py utils: ipc: add parser script 2021-02-16 19:21:11 +09:00