cpp-common/bt2c/fmt.hpp: use `wise_enum::string_type` in `EnableIfIsWiseEnum` definition
[babeltrace.git] / src / lib / graph / component-descriptor-set.h
CommitLineData
55f09f52 1/*
0235b0db
MJ
2 * SPDX-License-Identifier: MIT
3 *
55f09f52
PP
4 * Copyright 2017-2018 Philippe Proulx <pproulx@efficios.com>
5 * Copyright 2017 Jérémie Galarneau <jeremie.galarneau@efficios.com>
55f09f52
PP
6 */
7
0235b0db
MJ
8#ifndef BABELTRACE_GRAPH_COMPONENT_DESCRIPTOR_SET_INTERNAL_H
9#define BABELTRACE_GRAPH_COMPONENT_DESCRIPTOR_SET_INTERNAL_H
10
55f09f52
PP
11#include <babeltrace2/graph/graph.h>
12#include <babeltrace2/graph/component-descriptor-set.h>
55f09f52 13#include "lib/object.h"
55f09f52
PP
14#include <glib.h>
15
55f09f52
PP
16/*
17 * This structure describes an eventual component instance.
18 */
19struct 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
29struct 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.070432 seconds and 4 git commands to generate.