2 * SPDX-License-Identifier: MIT
4 * Copyright 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com>
5 * Copyright 2017-2023 Philippe Proulx <pproulx@efficios.com>
8 #ifndef BABELTRACE_PLUGINS_UTILS_MUXER_COMP_HPP
9 #define BABELTRACE_PLUGINS_UTILS_MUXER_COMP_HPP
11 #include "cpp-common/bt2/plugin-dev.hpp"
13 #include "msg-iter.hpp"
19 class Comp final : public bt2::UserFilterComponent<Comp, MsgIter>
22 friend bt2::UserFilterComponent<Comp, MsgIter>;
25 explicit Comp(bt2::SelfFilterComponent selfComp, bt2::ConstMapValue params, void *);
28 void _inputPortConnected(bt2::SelfComponentInputPort selfPort, bt2::ConstOutputPort otherPort);
29 void _addAvailInputPort();
32 } /* namespace bt2mux */
34 #endif /* BABELTRACE_PLUGINS_UTILS_MUXER_COMP_HPP */