cpp-common/bt2c/fmt.hpp: use `wise_enum::string_type` in `EnableIfIsWiseEnum` definition
[babeltrace.git] / src / lib / graph / component-descriptor-set.h
1 /*
2 * SPDX-License-Identifier: MIT
3 *
4 * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
5 * Copyright 2017 Jérémie Galarneau <jeremie.galarneau@efficios.com>
6 */
7
8 #ifndef BABELTRACE_GRAPH_COMPONENT_DESCRIPTOR_SET_INTERNAL_H
9 #define BABELTRACE_GRAPH_COMPONENT_DESCRIPTOR_SET_INTERNAL_H
10
11 #include <babeltrace2/graph/graph.h>
12 #include <babeltrace2/graph/component-descriptor-set.h>
13 #include "lib/object.h"
14 #include <glib.h>
15
16 /*
17 * This structure describes an eventual component instance.
18 */
19 struct bt_component_descriptor_set_entry {
20 /* Owned by this */
21 struct bt_component_class *comp_cls;
22
23 /* Owned by this */
24 struct bt_value *params;
25
26 void *init_method_data;
27 };
28
29 struct bt_component_descriptor_set {
30 struct bt_object base;
31
32 /* Array of `struct bt_component_descriptor_set_entry *` */
33 GPtrArray *sources;
34
35 /* Array of `struct bt_component_descriptor_set_entry *` */
36 GPtrArray *filters;
37
38 /* Array of `struct bt_component_descriptor_set_entry *` */
39 GPtrArray *sinks;
40 };
41
42 #endif /* BABELTRACE_GRAPH_COMPONENT_DESCRIPTOR_SET_INTERNAL_H */
This page took 0.035251 seconds and 4 git commands to generate.