Provide an idiomatic c++ interface for action lists
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 1 Jun 2023 20:19:31 +0000 (16:19 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Mon, 5 Jun 2023 21:28:48 +0000 (17:28 -0400)
commitb17ed2ad7083d1b0bf45fe3e1bfc4e4ad787aaf3
tree1cd5679e0ece17c9d4decca2953ba21c97c0bc88
parent2460203ad4c64f0dcdb716e833abee10a79ec092
Provide an idiomatic c++ interface for action lists

Replace for_each macros with the use of an iterator. It is done by using
a random_access_container_wrapper util which is intended to wrap
random_access containers implemented in C.

Change-Id: I1b22725b7335f267c9b2d02fc65f9375baf37426
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
include/lttng/action/list-internal.hpp
src/bin/lttng-sessiond/action-executor.cpp
src/bin/lttng-sessiond/notification-thread-events.cpp
src/bin/lttng/commands/list_triggers.cpp
src/common/Makefile.am
src/common/container-wrapper.hpp [new file with mode: 0644]
tests/regression/tools/trigger/utils/Makefile.am
tests/regression/tools/trigger/utils/notification-client.cpp
tests/unit/test_action.cpp
This page took 0.026416 seconds and 4 git commands to generate.