Package flumotion :: Package common :: Module registry :: Class RegistryEntryComponent
[hide private]

Class RegistryEntryComponent

source code

I represent a <component> entry in the registry

Instance Methods [hide private]
 
__init__(self, filename, type, source, description, base, properties, files, entries, eaters, feeders, needs_sync, clock_priority, sockets, wizards) source code
list of RegistryEntryProperty
getProperties(self)
Get a list of all properties.
source code
 
hasProperty(self, name)
Check if the component has a property with the given name.
source code
list of RegistryEntryFile
getFiles(self) source code
 
getEntries(self) source code
 
getEntryByType(self, type)
Get the entry point for the given type of entry.
source code
 
getGUIEntry(self) source code
 
getType(self) source code
 
getBase(self) source code
 
getDescription(self) source code
 
getSource(self) source code
 
getEaters(self) source code
 
getFeeders(self) source code
 
getNeedsSynchronization(self) source code
 
getClockPriority(self) source code
 
getSockets(self) source code
Class Variables [hide private]
  __pychecker__ = 'maxargs=15'
Method Details [hide private]

__init__(self, filename, type, source, description, base, properties, files, entries, eaters, feeders, needs_sync, clock_priority, sockets, wizards)
(Constructor)

source code 
Parameters:
  • filename (str) - name of the XML file this component is parsed from
  • properties (dict of str -> RegistryEntryProperty) - dict of name -> property
  • files (list of RegistryEntryFile) - list of files
  • entries (dict of str -> RegistryEntryEntry) - dict of entry point type -> entry
  • sockets (list of str) - list of sockets supported by the element
  • wizards (list of RegistryEntryWizard) - list of wizard entries

getEntryByType(self, type)

source code 

Get the entry point for the given type of entry.

Parameters:
  • type (string)