cpp-common: add observable.hpp
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 8 Dec 2023 19:11:21 +0000 (19:11 +0000)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 4 Sep 2024 19:05:14 +0000 (15:05 -0400)
commitc9fae8e9997628908ee83b3cfb63e5ed9bf68cdb
treef29734b098169be8671df3f884e95056e34b493a
parenta0197f124aa95c055299c31d44be2a0566113fad
cpp-common: add observable.hpp

Add the `Observable` class, which implements the observer pattern.  See
comments in the new file for details on usage.

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