Uranium
Application Framework
|
Base class for any backend communication (separate piece of software). More...
Public Member Functions | |
__init__ (self) | |
startEngine (self) | |
Start the backend / engine. | |
close (self) | |
getLog (self) | |
Get the logging messages of the backend connection. | |
convertBytesToVerticeList (self, data) | |
Convert byte array containing 3 floats per vertex. | |
convertBytesToVerticeWithNormalsList (self, data) | |
Convert byte array containing 6 floats per vertex. | |
getEngineCommand (self) | |
Get the command used to start the backend executable. | |
![]() | |
__init__ (self) | |
getPluginId (self) | |
setPluginId (self, plugin_id) | |
Static Public Attributes | |
processingProgress = Signal() | |
backendStateChange = Signal() | |
backendConnected = Signal() | |
backendQuit = Signal() | |
Protected Attributes | |
_supported_commands | |
_message_handlers | |
_socket | |
_port | |
_process | |
_backend_log | |
_backend_log_max_lines | |
_createSocket | |
_onSocketStateChanged | |
_onMessageReceived | |
_onSocketError | |
![]() | |
_plugin_id | |
Base class for any backend communication (separate piece of software).
It makes use of the Socket class from libArcus for the actual communication bits. The message_handlers dict should be filled with string (full name of proto message), function pairs.
UM.Backend.Backend.Backend.__init__ | ( | self | ) |
Reimplemented from UM.PluginObject.PluginObject.
UM.Backend.Backend.Backend.getLog | ( | self | ) |
Get the logging messages of the backend connection.
UM.Backend.Backend.Backend.startEngine | ( | self | ) |
Start the backend / engine.
Runs the engine, this is only called when the socket is fully opened & ready to accept connections