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

A centralize class where the different Facades/MalAdapters exist. More...

Inheritance diagram for facadesmanager.FacadesManager:

Public Member Functions

def __init__ (self, connection_slot, ui)
 Construct.
 
def construct (self, api_name, api_uri)
 Based on the application name, host and port, create the MalAdapter/Facade Save it in the private list for external use.
 
def destruct (self, api_name)
 Based on the application name, destroy existent facade.
 
def clear_dict (self)
 Completely clean up the list.
 
def get_dict (self)
 Return the private list of facades instances.
 
def get_typed_facades_list (self, api_name)
 With a given name return associated facades.
 
def facades_status_by_process (self, api_name)
 Check if objects are not None.
 
def set_facade_status_info (self, api_name, ignore_flag, oldb_uri)
 Save new ignore and URI status information inside the respective Standard Facade.
 

Protected Member Functions

def _standard_construction (self, name, uri)
 Specific Facades Methods ###.
 
def _eltpk_construction (self, name, uri)
 Construct the necessary EltPk Facades for expected comunication with the application.
 
def _telifsim_construction (self, name, uri)
 Construct the necessary TelIfSSim Facades for expected comunication with the application.
 
def _telmon_construction (self, name, uri)
 Construct the necessary TelMon Facades for expected comunication with the application.
 

Protected Attributes

 _eltpk_ui_page
 
 _telifsim_ui_page
 
 _ccsinsif_ui_page
 
 _telmon_ui_page
 
 _facade_construction_functions
 

Detailed Description

A centralize class where the different Facades/MalAdapters exist.

All necessary operations come from here and everyone should use it if dealing with facades. Each facade have there own variable name because with need a connection with the UI objects.

Constructor & Destructor Documentation

◆ __init__()

def facadesmanager.FacadesManager.__init__ (   self,
  connection_slot,
  ui 
)

Construct.

Parameters
connection_slotQSlot for server connection triggers
uiQMainWindow instance to extract processes UI pages

Member Function Documentation

◆ _eltpk_construction()

def facadesmanager.FacadesManager._eltpk_construction (   self,
  name,
  uri 
)
protected

Construct the necessary EltPk Facades for expected comunication with the application.

Parameters
nameAPI designation
uriAPI identifier

◆ _standard_construction()

def facadesmanager.FacadesManager._standard_construction (   self,
  name,
  uri 
)
protected

Specific Facades Methods ###.

Construction of a single standard facade. Used for generic or external applications

Parameters
nameAPI designation
uriAPI identifier

◆ _telifsim_construction()

def facadesmanager.FacadesManager._telifsim_construction (   self,
  name,
  uri 
)
protected

Construct the necessary TelIfSSim Facades for expected comunication with the application.

Parameters
nameAPI designation
uriAPI identifier

◆ _telmon_construction()

def facadesmanager.FacadesManager._telmon_construction (   self,
  name,
  uri 
)
protected

Construct the necessary TelMon Facades for expected comunication with the application.

Parameters
nameAPI designation
uriAPI identifier

◆ clear_dict()

def facadesmanager.FacadesManager.clear_dict (   self)

Completely clean up the list.

Reset it.

◆ construct()

def facadesmanager.FacadesManager.construct (   self,
  api_name,
  api_uri 
)

Based on the application name, host and port, create the MalAdapter/Facade Save it in the private list for external use.

Parameters
api_nameLower case string name
api_uriMust recent API URI from TelmMon

◆ destruct()

def facadesmanager.FacadesManager.destruct (   self,
  api_name 
)

Based on the application name, destroy existent facade.

Parameters
api_nameLower case string name

◆ facades_status_by_process()

def facadesmanager.FacadesManager.facades_status_by_process (   self,
  api_name 
)

Check if objects are not None.

Parameters
api_nameLower case string name
Returns
status Bool status related to the state of the api facades

◆ get_dict()

def facadesmanager.FacadesManager.get_dict (   self)

Return the private list of facades instances.

◆ get_typed_facades_list()

def facadesmanager.FacadesManager.get_typed_facades_list (   self,
  api_name 
)

With a given name return associated facades.

Parameters
api_nameLower case string name
Returns
result List of facades

◆ set_facade_status_info()

def facadesmanager.FacadesManager.set_facade_status_info (   self,
  api_name,
  ignore_flag,
  oldb_uri 
)

Save new ignore and URI status information inside the respective Standard Facade.

Parameters
api_nameLower case string name
ignore_flagBoolean value to be stored
oldb_uriDatapoint identificator where the status value is stored

Member Data Documentation

◆ _ccsinsif_ui_page

facadesmanager.FacadesManager._ccsinsif_ui_page
protected

◆ _eltpk_ui_page

facadesmanager.FacadesManager._eltpk_ui_page
protected

◆ _facade_construction_functions

facadesmanager.FacadesManager._facade_construction_functions
protected

◆ _telifsim_ui_page

facadesmanager.FacadesManager._telifsim_ui_page
protected

◆ _telmon_ui_page

facadesmanager.FacadesManager._telmon_ui_page
protected

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