fandango.interface.CopyCatDS module

class fandango.interface.CopyCatDS.CopyCatDS(cl, name)[source]

Bases: fandango.dynamic.DynamicDS

always_executed_hook()[source]
delete_device()[source]
init_device()[source]
read_attr_hardware(data)[source]
class fandango.interface.CopyCatDS.CopyCatDSClass(name)[source]

Bases: fandango.dynamic.DynamicDSClass

device_property_list = {'TargetDevice': [PyTango._PyTango.CmdArgType.DevString, 'Device from which all attributes and commands will be mirrored', ['']], 'ReadOnly': [PyTango._PyTango.CmdArgType.DevBoolean, 'If True, all attributes will be implemented as Read Only, and no Commands will be updated', [False]], 'CopyAttributes': [PyTango._PyTango.CmdArgType.DevVarStringArray, 'List of regular expressions to control which attributes will be copied', ['*']], 'CopyCommands': [PyTango._PyTango.CmdArgType.DevVarStringArray, 'List of regular expressions to control which commands will be copied', ['*']]}
dyn_attr(dev_list)[source]
class fandango.interface.CopyCatDS.CopyCatServer(name='', classes={}, add_debug=False, log='-v2', orb=[])[source]

Bases: fandango.dynamic.DynamicServer

The DynamicServer class provides .util .instance .db .classes to have access to Tango DS internals.

CreateCommands(device, target)[source]
load_class(c)[source]
main(class_override=False)[source]
class fandango.interface.CopyCatDS.Doppelganger(device, filename='')[source]

Bases: fandango.objects.SingletonMap

BYPASS = 2
PLAYBACK = 0
RECORD = 1
device_property_list = {'TargetDevice': [PyTango._PyTango.CmdArgType.DevString, 'Device from which all attributes and commands will be mirrored', ['']], 'ReadOnly': [PyTango._PyTango.CmdArgType.DevBoolean, 'If True, all attributes will be implemented as Read Only, and no Commands will be updated', [False]], 'CopyAttributes': [PyTango._PyTango.CmdArgType.DevVarStringArray, 'List of regular expressions to control which attributes will be copied', ['*']], 'CopyCommands': [PyTango._PyTango.CmdArgType.DevVarStringArray, 'List of regular expressions to control which commands will be copied', ['*']]}
load(filename='')[source]
fandango.interface.CopyCatDS.choose_db(url, default=None)[source]
fandango.interface.CopyCatDS.copy_attr_list(device)[source]
fandango.interface.CopyCatDS.copy_cmd_list(device)[source]
fandango.interface.CopyCatDS.get_attr_descriptions(device)[source]
fandango.interface.CopyCatDS.get_cmd_descriptions(device)[source]
fandango.interface.CopyCatDS.main(args=None)[source]