hlcc 2.0.0-beta2+pre1
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | Protected Attributes | List of all members
qeprocess_item.QeProcessItem Class Reference

Gives an interface between the UI and the MAL client. More...

Inheritance diagram for qeprocess_item.QeProcessItem:

Public Member Functions

def __init__ (self, list process_configuration, parent)
 Constructor.
 
def set_connection_state (self, bool connection_status)
 Based on the facade connection save the status.
 
def get_connection_state (self)
 Based on the facade connection return the status.
 
def get_qeprocess_name (self)
 Return QeProcess name.
 
def start_trigger_action (self)
 Called by the start action menu button to begin server process.
 
def stop_trigger_action (self)
 Called by the stop action menu button to handle server termination.
 
def on_process_state_change (self, QProcess.ProcessState state)
 Slots Methods ###.
 

Static Public Attributes

Signal process_started = Signal(str)
 
Signal process_stopped = Signal(str)
 
Signal process_about_to_stop = Signal(str)
 

Protected Attributes

 _facade_connection
 
 _process_name
 
 _process_cmd
 
 _process_args
 
 _server_process
 

Detailed Description

Gives an interface between the UI and the MAL client.

Each QeProcess is then added to the QeProcessesList.

Constructor & Destructor Documentation

◆ __init__()

def qeprocess_item.QeProcessItem.__init__ (   self,
list  process_configuration,
  parent 
)

Constructor.

Parameters
process_configurationList holding the specific process configuration
parentQObject that contains the object as child

Member Function Documentation

◆ get_connection_state()

def qeprocess_item.QeProcessItem.get_connection_state (   self)

Based on the facade connection return the status.

Returns
Boolean connection status

◆ get_qeprocess_name()

def qeprocess_item.QeProcessItem.get_qeprocess_name (   self)

Return QeProcess name.

Returns
Name of own QeProcess

◆ on_process_state_change()

def qeprocess_item.QeProcessItem.on_process_state_change (   self,
QProcess.ProcessState  state 
)

Slots Methods ###.

Invoked when the server state change, calling the process start and stop signals

Parameters
stateQProcess State :return:

◆ set_connection_state()

def qeprocess_item.QeProcessItem.set_connection_state (   self,
bool  connection_status 
)

Based on the facade connection save the status.

Parameters
connection_statusBoolean connection status :return:

◆ start_trigger_action()

def qeprocess_item.QeProcessItem.start_trigger_action (   self)

Called by the start action menu button to begin server process.

Returns
Confirm if the independent process was successfully created

◆ stop_trigger_action()

def qeprocess_item.QeProcessItem.stop_trigger_action (   self)

Called by the stop action menu button to handle server termination.

Returns
Confirm if the stop process wa successfully sent

Member Data Documentation

◆ _facade_connection

qeprocess_item.QeProcessItem._facade_connection
protected

◆ _process_args

qeprocess_item.QeProcessItem._process_args
protected

◆ _process_cmd

qeprocess_item.QeProcessItem._process_cmd
protected

◆ _process_name

qeprocess_item.QeProcessItem._process_name
protected

◆ _server_process

qeprocess_item.QeProcessItem._server_process
protected

◆ process_about_to_stop

Signal qeprocess_item.QeProcessItem.process_about_to_stop = Signal(str)
static

◆ process_started

Signal qeprocess_item.QeProcessItem.process_started = Signal(str)
static

◆ process_stopped

Signal qeprocess_item.QeProcessItem.process_stopped = Signal(str)
static

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