cpp-common/bt2: add `CommonStringField::length` method
[babeltrace.git] / src / plugins / utils / muxer / comp.hpp
CommitLineData
fca1d0f5
PP
1/*
2 * SPDX-License-Identifier: MIT
3 *
4 * Copyright 2016 Jérémie Galarneau <jeremie.galarneau@efficios.com>
5 * Copyright 2017-2023 Philippe Proulx <pproulx@efficios.com>
6 */
7
8#ifndef BABELTRACE_PLUGINS_UTILS_MUXER_COMP_HPP
9#define BABELTRACE_PLUGINS_UTILS_MUXER_COMP_HPP
10
11#include "cpp-common/bt2/plugin-dev.hpp"
12
13namespace bt2mux {
14
15class Comp final : public bt2::UserFilterComponent<Comp>
16{
17 friend class MsgIter;
18 friend bt2::UserFilterComponent<Comp>;
19
20public:
21 explicit Comp(bt2::SelfFilterComponent selfComp, bt2::ConstMapValue params);
22
23private:
24 void _inputPortConnected(bt2::SelfComponentInputPort selfPort, bt2::ConstOutputPort otherPort);
25 void _addAvailInputPort();
26};
27
28} /* namespace bt2mux */
29
30#endif /* BABELTRACE_PLUGINS_UTILS_MUXER_COMP_HPP */
This page took 0.025623 seconds and 4 git commands to generate.