enigma2  2.6
Public Member Functions | Public Attributes | Static Public Attributes | Properties | List of all members
Components.Sources.ServiceList.ServiceList Class Reference
Inheritance diagram for Components.Sources.ServiceList.ServiceList:
Components.Sources.Source.Source Components.Element.AnimatedElement Components.Element.Element

Public Member Functions

def __init__ (self, root, command_func=None, validate_commands=True)
 
def getServicesAsList (self, format="SN")
 
def getServiceList (self)
 
def validateReference (self, ref)
 
def getRoot (self)
 
def setRoot (self, root)
 
def handleCommand (self, cmd)
 
- Public Member Functions inherited from Components.Sources.Source.Source
def execBegin (self)
 
def execEnd (self)
 
def onShow (self)
 
def onHide (self)
 
def destroy (self)
 
- Public Member Functions inherited from Components.Element.AnimatedElement
def __init__ (self)
 
def isAnimated (self)
 
def setAnimated (self, isAnimated)
 
- Public Member Functions inherited from Components.Element.Element
def connectDownstream (self, downstream)
 
def connectUpstream (self, upstream)
 
def connect (self, upstream)
 
def disconnectAll (self)
 
def disconnectDownstream (self, downstream)
 
def changed (self, *args, **kwargs)
 
def setSuspend (self, suspended)
 
def checkSuspend (self)
 
def doSuspend (self, suspend)
 

Public Attributes

 command_func
 
 validate_commands
 
- Public Attributes inherited from Components.Element.Element
 downstream_elements
 
 master
 
 sources
 
 source
 
 cache
 

Static Public Attributes

dictionary lut = {"Reference": 0, "Name": 1}
 
- Static Public Attributes inherited from Components.Element.Element
int CHANGED_DEFAULT = 0
 
int CHANGED_ALL = 1
 
int CHANGED_CLEAR = 2
 
int CHANGED_SPECIFIC = 3
 
int CHANGED_POLL = 4
 
int CHANGED_PULSATE = 5
 
int CHANGED_ANIMATED = 6
 
bool SINGLE_SOURCE = True
 

Properties

 list = property(getServicesAsList)
 
 root = property(getRoot, setRoot)
 
- Properties inherited from Components.Element.AnimatedElement
 isAnimated = property(isAnimated, setAnimated)
 
- Properties inherited from Components.Element.Element
 suspended = property(lambda self: self.__suspended, setSuspend)
 

Constructor & Destructor Documentation

◆ __init__()

def Components.Sources.ServiceList.ServiceList.__init__ (   self,
  root,
  command_func = None,
  validate_commands = True 
)

Member Function Documentation

◆ getRoot()

def Components.Sources.ServiceList.ServiceList.getRoot (   self)

◆ getServiceList()

def Components.Sources.ServiceList.ServiceList.getServiceList (   self)

◆ getServicesAsList()

def Components.Sources.ServiceList.ServiceList.getServicesAsList (   self,
  format = "SN" 
)

◆ handleCommand()

def Components.Sources.ServiceList.ServiceList.handleCommand (   self,
  cmd 
)

◆ setRoot()

def Components.Sources.ServiceList.ServiceList.setRoot (   self,
  root 
)

◆ validateReference()

def Components.Sources.ServiceList.ServiceList.validateReference (   self,
  ref 
)

Member Data Documentation

◆ command_func

Components.Sources.ServiceList.ServiceList.command_func

◆ lut

dictionary Components.Sources.ServiceList.ServiceList.lut = {"Reference": 0, "Name": 1}
static

◆ validate_commands

Components.Sources.ServiceList.ServiceList.validate_commands

Property Documentation

◆ list

Components.Sources.ServiceList.ServiceList.list = property(getServicesAsList)
static

◆ root

Components.Sources.ServiceList.ServiceList.root = property(getRoot, setRoot)
static

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