src/cpp-common: pass user message iterator class to `UserSourceComponent` and `UserFi...
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 13 Feb 2024 16:50:10 +0000 (11:50 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Mon, 19 Feb 2024 18:10:15 +0000 (13:10 -0500)
commit06bb401ef3396a35fe5f43cf44217ed078b862c8
tree60011e6af16c63484e4e9f4679713ad11d3c9997
parent7b3d2ca62ba9d0f2e619935bbd855646dd71bc37
src/cpp-common: pass user message iterator class to `UserSourceComponent` and `UserFilterComponent`

 🍎 Pass the user message iterator class type as template parameters to
    `UserSourceComponent` and `UserFilterComponent`.
 🍎 Make them set a public type `MessageIterator` with that.
 🍎 Update the `BT_CPP_PLUGIN_*` macros to not take the message iterator
    class type, but use `_userComponentClass::MessageIterator`
    instead.

Change-Id: I7af3a1a088a61e5b83e4a4047f808435221352cc
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/11800
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
Tested-by: jenkins <jenkins@lttng.org>
src/cpp-common/bt2/plugin-dev.hpp
src/plugins/utils/muxer/comp.cpp
src/plugins/utils/muxer/comp.hpp
src/plugins/utils/plugin.cpp
This page took 0.02559 seconds and 4 git commands to generate.