def on_err_disconnect(self): """ Called automatically when the engine messagebus node exits/closes. This will emit a EvtDisconnect event. """ Engine.on_err_disconnect(self) self.parent.event_generate(EvtDisconnect, when='tail')
def on_err_disconnect(self): """ The engine node disconnected from the message bus. This will emit a SigDisconnect signal. """ Engine.on_err_disconnect(self) self.parent.emit(QtCore.SIGNAL(SigDisconnect))
def on_err_disconnect(self): """ Overloaded on_err_disconnect method to call both base classes """ Engine.on_err_disconnect(self) # stop any running user code self.stop_code(quiet=True)
def on_err_disconnect(self): """ The engine node disconnected from the message bus. This will emit a "engine_disconnect" signal after preforming standard engine disconnect tasks """ Engine.on_err_disconnect(self) gobject.idle_add(self.parent.emit, "engine_disconnect")
def on_err_disconnect(self): """ The engine node disconnected from the message bus. This will wake the main loop. """ Engine.on_err_disconnect(self) log.info('Exiting process') self._exit = True self.stop_code(quiet=True) self._codeevent.set() #trigger the event to wake up the mainloop