1 # SPDX-License-Identifier: GPL-2.0-only
3 # Copyright (C) 2019 EfficiOS Inc.
7 from cli_params_to_string
import to_string
10 @bt2.plugin_component_class
11 class SinkThatPrintsParams(bt2
._UserSinkComponent
):
12 def __init__(self
, config
, params
, obj
):
13 self
._add
_input
_port
('in')
14 print(to_string(params
))
16 def _user_consume(self
):
20 bt2
.register_plugin(__name__
, "params")
This page took 0.031687 seconds and 4 git commands to generate.