Uranium
Application Framework
 All Classes Namespaces Files Functions Variables Pages
UM.Backend.Backend.Backend Class Reference

Base class for any backend communication (separate piece of software). More...

Inheritance diagram for UM.Backend.Backend.Backend:
UM.PluginObject.PluginObject

Public Member Functions

def __init__
 
def startEngine
 Start the backend / engine. More...
 
def close
 
def getLog
 Get the logging messages of the backend connection. More...
 
def convertBytesToVerticeList
 Convert byte array containing 3 floats per vertex.
 
def convertBytesToVerticeWithNormalsList
 Convert byte array containing 6 floats per vertex.
 
def getEngineCommand
 Get the command used to start the backend executable.
 
- Public Member Functions inherited from UM.PluginObject.PluginObject
def __init__
 
def getPluginId
 
def setPluginId
 

Static Public Attributes

tuple processingProgress = Signal()
 
tuple backendStateChange = Signal()
 
tuple backendConnected = Signal()
 
tuple backendQuit = Signal()
 

Detailed Description

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.

Member Function Documentation

def UM.Backend.Backend.Backend.getLog (   self)

Get the logging messages of the backend connection.

Returns
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


The documentation for this class was generated from the following file: