|
Uranium
Application Framework
|
Base class for any backend communication (separate piece of software). More...
Public Member Functions | |
| def | __init__ (self) |
| def | startEngine (self) |
| Start the backend / engine. More... | |
| def | close (self) |
| def | getLog (self) |
| Get the logging messages of the backend connection. More... | |
| def | convertBytesToVerticeList (self, data) |
| Convert byte array containing 3 floats per vertex. | |
| def | convertBytesToVerticeWithNormalsList (self, data) |
| Convert byte array containing 6 floats per vertex. | |
| def | getEngineCommand (self) |
| Get the command used to start the backend executable. | |
Public Member Functions inherited from UM.PluginObject.PluginObject | |
| def | __init__ (self) |
| def | getPluginId (self) |
| def | setPluginId (self, plugin_id) |
| def | setVersion |
| def | getVersion (self) |
Static Public Attributes | |
| processingProgress = Signal() | |
| backendStateChange = Signal() | |
| backendConnected = Signal() | |
| backendQuit = Signal() | |
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.
| def UM.Backend.Backend.Backend.getLog | ( | self | ) |
Get the logging messages of the backend connection.
| def 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