Base class for all TANGO device-class class. A TANGO device-class class is a class where is stored all data/method common to all devices of a TANGO device class
create_device (self, device_name, alias=None, cb=None) -> None
Creates a new device of the given class in the database, creates a new DeviceImpl for it and calls init_device (just like it is done for existing devices when the DS starts up)
An optional parameter callback is called AFTER the device is registered in the database and BEFORE the init_device for the newly created device is called
New in PyTango 7.1.2
Parameters : |
|
||||||
---|---|---|---|---|---|---|---|
Return : | None |
delete_device (self, klass_name, device_name) -> None
Deletes an existing device from the database and from this running server
- Throws PyTango.DevFailed:
- the device name doesn’t exist in the database
- the device name doesn’t exist in this DS.
New in PyTango 7.1.2
Parameters : |
|
||||
---|---|---|---|---|---|
Return : | None |
for internal usage only
for internal usage only