taurus taurus

Previous topic

TaurusDatabase

Next topic

TaurusDevClassInfo

This Page

TaurusDatabaseCache

Inheritance diagram of TaurusDatabaseCache

class TaurusDatabaseCache(db)

Bases: object

db
deviceTree()

Returns a tree container with all devices in three levels: domain, family and member

Return type::class:~`TaurusDevTree`
Returns:a tree containning all devices
devices()
getAliasNames()
getClassNames()

Returns a list of registered device classes

Return type::class:~`sequence` <:class:~`str`>
Returns:a sequence with all registered device classes
getDevice(name)

Returns a taurus.core.taurusdatabase.TaurusDevInfo object with information about the given device name

Parameters:name (:class:~`str`) – the device name
Return type::class:~`TaurusDevInfo`
Returns:information about the device
getDeviceDomainNames()
getDeviceFamilyNames(domain)
getDeviceMemberNames(domain, family)
getDeviceNames()

Returns a list of registered device names

Return type::class:~`sequence` <:class:~`str`>
Returns:a sequence with all registered device names
getDomainDevices(domain)
getFamilyDevices(domain, family)
getServerNameInstances(serverName)
getServerNames()

Returns a list of registered server names

Return type::class:~`sequence` <:class:~`str`>
Returns:a sequence with all registered server names
klasses()
refresh()
refreshAttributes(device)
serverTree()

Returns a tree container with all servers in two levels: server name and server instance

rtype::class:~`TaurusServerTree`
return:a tree containning all servers
servers()