+# SPDX-License-Identifier: MIT
+#
+# Copyright (c) 2019 Simon Marchi <simon.marchi@efficios.com>
+
from bt2 import native_bt
from collections import abc
self._component_name = native_bt.error_cause_component_actor_get_component_name(
ptr
)
- self._component_class_type = native_bt.error_cause_component_actor_get_component_class_type(
- ptr
+ self._component_class_type = (
+ native_bt.error_cause_component_actor_get_component_class_type(ptr)
)
- self._component_class_name = native_bt.error_cause_component_actor_get_component_class_name(
- ptr
+ self._component_class_name = (
+ native_bt.error_cause_component_actor_get_component_class_name(ptr)
)
self._plugin_name = native_bt.error_cause_component_actor_get_plugin_name(ptr)
class _ComponentClassErrorCause(_ErrorCause):
def __init__(self, ptr):
super().__init__(ptr)
- self._component_class_type = native_bt.error_cause_component_class_actor_get_component_class_type(
- ptr
+ self._component_class_type = (
+ native_bt.error_cause_component_class_actor_get_component_class_type(ptr)
)
- self._component_class_name = native_bt.error_cause_component_class_actor_get_component_class_name(
- ptr
+ self._component_class_name = (
+ native_bt.error_cause_component_class_actor_get_component_class_name(ptr)
)
self._plugin_name = native_bt.error_cause_component_class_actor_get_plugin_name(
ptr
class _MessageIteratorErrorCause(_ErrorCause):
def __init__(self, ptr):
super().__init__(ptr)
- self._component_name = native_bt.error_cause_message_iterator_actor_get_component_name(
- ptr
+ self._component_name = (
+ native_bt.error_cause_message_iterator_actor_get_component_name(ptr)
)
- self._component_output_port_name = native_bt.error_cause_message_iterator_actor_get_component_output_port_name(
- ptr
+ self._component_output_port_name = (
+ native_bt.error_cause_message_iterator_actor_get_component_output_port_name(
+ ptr
+ )
)
- self._component_class_type = native_bt.error_cause_message_iterator_actor_get_component_class_type(
- ptr
+ self._component_class_type = (
+ native_bt.error_cause_message_iterator_actor_get_component_class_type(ptr)
)
- self._component_class_name = native_bt.error_cause_message_iterator_actor_get_component_class_name(
- ptr
+ self._component_class_name = (
+ native_bt.error_cause_message_iterator_actor_get_component_class_name(ptr)
)
- self._plugin_name = native_bt.error_cause_message_iterator_actor_get_plugin_name(
- ptr
+ self._plugin_name = (
+ native_bt.error_cause_message_iterator_actor_get_plugin_name(ptr)
)
@property