LIRC libraries
LinuxInfraredRemoteControl
lirc.database.Database Class Reference

Reflects the *.yaml files in the configs/ directory. More...

Inheritance diagram for lirc.database.Database:

Public Member Functions

def __init__ (self, path=None, yamlpath=None)
 
def kernel_drivers (self)
 The kernel-drivers dictionary, drivers.yaml + kernel-drivers.yaml.
 
def drivers (self)
 The drivers dictionary, drivers.yaml + kernel-drivers.yaml. More...
 
def configs (self)
 Return dict of parsed config/*.conf files, keyd by id. More...
 
def remotes_by_driver (self, driver)
 Return the list of remotes suggested for a given driver. More...
 
def lircmd_by_driver (self, driver)
 Return list of lircmd.conf file for given driver or None. More...
 
def driver_by_remote (self, remote)
 Return the driver (possibly None) suggested for a remote. More...
 
def find_config (self, key, value)
 Return item (a config) in configs where config[key] == value. More...
 

Public Attributes

 db
 

Detailed Description

Reflects the *.yaml files in the configs/ directory.

Definition at line 122 of file database.py.

Member Function Documentation

def lirc.database.Database.configs (   self)

Return dict of parsed config/*.conf files, keyd by id.

Definition at line 186 of file database.py.

def lirc.database.Database.driver_by_remote (   self,
  remote 
)

Return the driver (possibly None) suggested for a remote.

Definition at line 208 of file database.py.

def lirc.database.Database.drivers (   self)

The drivers dictionary, drivers.yaml + kernel-drivers.yaml.

Definition at line 181 of file database.py.

def lirc.database.Database.find_config (   self,
  key,
  value 
)

Return item (a config) in configs where config[key] == value.

Definition at line 215 of file database.py.

def lirc.database.Database.lircmd_by_driver (   self,
  driver 
)

Return list of lircmd.conf file for given driver or None.

Definition at line 199 of file database.py.

def lirc.database.Database.remotes_by_driver (   self,
  driver 
)

Return the list of remotes suggested for a given driver.

Definition at line 190 of file database.py.


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