def __next__(self): plugin_ptr = self._plugin_comp_cls._plugin._ptr total = self._plugin_comp_cls._component_class_count(plugin_ptr) if self._at == total: raise StopIteration comp_cls_ptr = self._plugin_comp_cls._borrow_component_class_by_index(plugin_ptr, self._at) assert comp_cls_ptr is not None self._at += 1 comp_cls_type = self._plugin_comp_cls._comp_cls_type comp_cls_pycls = bt2.component._COMP_CLS_TYPE_TO_GENERIC_COMP_CLS_PYCLS[comp_cls_type] comp_cls_ptr = comp_cls_pycls._as_component_class_ptr(comp_cls_ptr) name = native_bt.component_class_get_name(comp_cls_ptr) assert name is not None return name
def __next__(self): plugin_ptr = self._plugin_comp_cls._plugin._ptr total = self._plugin_comp_cls._component_class_count(plugin_ptr) if self._at == total: raise StopIteration comp_cls_ptr = self._plugin_comp_cls._borrow_component_class_by_index( plugin_ptr, self._at) assert comp_cls_ptr is not None self._at += 1 comp_cls_type = self._plugin_comp_cls._comp_cls_type comp_cls_pycls = bt2_component._COMP_CLS_TYPE_TO_GENERIC_COMP_CLS_PYCLS[ comp_cls_type] comp_cls_ptr = comp_cls_pycls._bt_as_component_class_ptr(comp_cls_ptr) name = native_bt.component_class_get_name(comp_cls_ptr) assert name is not None return name
def __next__(self): plugin_ptr = self._plugin_comp_cls._plugin._ptr comp_cls_type = self._plugin_comp_cls._comp_cls_type total = native_bt.plugin_get_component_class_count(plugin_ptr) while True: if self._at == total: raise StopIteration comp_cls_ptr = native_bt.plugin_get_component_class_by_index(plugin_ptr, self._at) assert(comp_cls_ptr) cc_type = native_bt.component_class_get_type(comp_cls_ptr) self._at += 1 if cc_type == comp_cls_type: break native_bt.put(comp_cls_ptr) name = native_bt.component_class_get_name(comp_cls_ptr) native_bt.put(comp_cls_ptr) assert(name is not None) return name
def __next__(self): plugin_ptr = self._plugin_comp_cls._plugin._ptr comp_cls_type = self._plugin_comp_cls._comp_cls_type total = native_bt.plugin_get_component_class_count(plugin_ptr) while True: if self._at == total: raise StopIteration comp_cls_ptr = native_bt.plugin_get_component_class_by_index( plugin_ptr, self._at) assert (comp_cls_ptr) cc_type = native_bt.component_class_get_type(comp_cls_ptr) self._at += 1 if cc_type == comp_cls_type: break native_bt.put(comp_cls_ptr) name = native_bt.component_class_get_name(comp_cls_ptr) native_bt.put(comp_cls_ptr) assert (name is not None) return name
def name(cls): ptr = cls._bt_as_component_class_ptr(cls._bt_cc_ptr) return native_bt.component_class_get_name(ptr)
def name(self): ptr = self._bt_as_component_class_ptr(self._ptr) name = native_bt.component_class_get_name(ptr) assert name is not None return name
def name(cls): return native_bt.component_class_get_name(cls._cc_ptr)
def name(self): name = native_bt.component_class_get_name(self._ptr) assert (name is not None) return name
def name(cls): ptr = cls._as_component_class_ptr(cls._cc_ptr) return native_bt.component_class_get_name(ptr)
def name(self): ptr = self._as_component_class_ptr(self._ptr) name = native_bt.component_class_get_name(ptr) assert name is not None return name
def name(self): return native_bt.component_class_get_name(self._ptr)
def name(self): name = native_bt.component_class_get_name(self._ptr) assert(name is not None) return name