Exemple #1
0
    def run(self):
        status = native_bt.graph_run(self._ptr)

        if status == native_bt.GRAPH_STATUS_END:
            return

        self._handle_status(status, 'graph object stopped running because of an unexpected error')
Exemple #2
0
    def run(self):
        status = native_bt.graph_run(self._ptr)

        try:
            utils._handle_func_status(status, 'graph object stopped running')
        except bt2.Stop:
            # done
            return
        except Exception:
            raise
Exemple #3
0
 def run(self):
     status = native_bt.graph_run(self._ptr)
     utils._handle_func_status(status, 'graph object stopped running')