cpp-common/bt2: add C++ component class bindings
authorSimon Marchi <simon.marchi@efficios.com>
Wed, 14 Feb 2024 16:09:27 +0000 (11:09 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Mon, 19 Feb 2024 18:10:15 +0000 (13:10 -0500)
commitcb0369458c84a18946db78af09d403a43d5df26e
tree4720b43801332a1e56e5d8ddc9a9d8a40cb059c4
parent212313d92b421f098108a33e0eda7ada08e8a6b8
cpp-common/bt2: add C++ component class bindings

Add C++ bindings for component classes.

Similar to how C++ bindings for components work, the
`CommonComponentClass` type is implicitly constructible from the
specialized component class types, so that it's possible to pass a
`SourceComponentClass` to something expecting a `ComponentClass`, for
instance.

Get a component class' name, description or help with the methods of the
same name.

Change-Id: Ia6301f4b37f4f86036f6e09cc2aaf49d7028c6fc
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/11803
src/Makefile.am
src/cpp-common/bt2/component-class.hpp [new file with mode: 0644]
This page took 0.024045 seconds and 4 git commands to generate.