1 /* Component class method declarations */
4 /* Always start with this line */
7 /* Declare the `vestige` plugin */
10 /* Set some optional plugin properties */
11 BT_PLUGIN_DESCRIPTION("Input and output for the Vestige format.");
12 BT_PLUGIN_AUTHOR("Denis Rondeau");
13 BT_PLUGIN_LICENSE("MIT");
15 /* Add the `input` source component class */
16 BT_PLUGIN_SOURCE_COMPONENT_CLASS(input
, vestige_in_iter_next
);
18 /* Set the source component class's optional description */
19 BT_PLUGIN_SOURCE_COMPONENT_CLASS_DESCRIPTION(input
,
20 "Read a Vestige trace file.");
22 /* Set some optional methods of the source component class */
23 BT_PLUGIN_SOURCE_COMPONENT_CLASS_INITIALIZE_METHOD(input
,
25 BT_PLUGIN_SOURCE_COMPONENT_CLASS_FINALIZE_METHOD(input
,
27 BT_PLUGIN_SOURCE_COMPONENT_CLASS_MESSAGE_ITERATOR_CLASS_INITIALIZE_METHOD(
28 input
, vestige_in_iter_init
);
29 BT_PLUGIN_SOURCE_COMPONENT_CLASS_MESSAGE_ITERATOR_CLASS_FINALIZE_METHOD(
30 input
, vestige_in_iter_fini
);
32 /* Add the `output` sink component class */
33 BT_PLUGIN_SINK_COMPONENT_CLASS(output
, vestige_out_consume
);
35 /* Set the sink component class's optional description */
36 BT_PLUGIN_SINK_COMPONENT_CLASS_DESCRIPTION(output
,
37 "Write a Vestige trace file.");
39 /* Set some optional methods of the sink component class */
40 BT_PLUGIN_SINK_COMPONENT_CLASS_INITIALIZE_METHOD(output
,
42 BT_PLUGIN_SINK_COMPONENT_CLASS_FINALIZE_METHOD(output
,
43 vestige_out_finalize
);
44 BT_PLUGIN_SINK_COMPONENT_CLASS_GRAPH_IS_CONFIGURED_METHOD(output
,
45 vestige_out_graph_is_configured
);