cpp-common/bt2: add `bt2::PrivateQueryExecutor`
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 8 Nov 2023 14:53:39 +0000 (09:53 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 14 Dec 2023 15:57:04 +0000 (10:57 -0500)
commite2a8620d29038f61c5f82c0252ba33aa3b06114b
treecf2e59bd40791bf4f3ff14de2c7563f6d0fb0743
parent47cd0d7c929b8f4a1f20fbd96337b721b626ad07
cpp-common/bt2: add `bt2::PrivateQueryExecutor`

A very straightforward wrapper of `bt_private_query_executor`.

There should exist an asConstQueryExecutor() method, but
`bt2::ConstQueryExecutor` doesn't exist yet as we don't need it to write
plugins. Therefore the loggingLevel() and isInterrupted() use
bt_private_query_executor_as_query_executor_const() internally.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: I87c26e14afa4aa7937692aefa981213ad6a7f566
Reviewed-on: https://review.lttng.org/c/babeltrace/+/11298
CI-Build: Simon Marchi <simon.marchi@efficios.com>
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Simon Marchi <simon.marchi@efficios.com>
src/Makefile.am
src/cpp-common/bt2/private-query-executor.hpp [new file with mode: 0644]
This page took 0.023622 seconds and 4 git commands to generate.