Struct tango_client::proxy::DeviceProxy [−][src]
pub struct DeviceProxy { /* fields omitted */ }
Expand description
A proxy to a remote Tango device.
Implementations
Connect to the Tango device.
Address can either be in the form a/b/c
or the long form
tango://db_host:db_port/a/b/c
.
Return the communication timeout in ms.
Set the communication timeout in ms.
Return the source used by command/attribute queries.
Set the source used by command/attribute queries.
Lock the device for use by other clients.
Unlock the device.
Query if the device is locked.
Query if the device is locked by this client.
Return a human-readable description of the device’s lock status.
Query information about a single command.
Query information about all commands the device offers.
pub fn command_inout(
&mut self,
cmd_name: &str,
argin: CommandData
) -> TangoResult<CommandData>
pub fn command_inout(
&mut self,
cmd_name: &str,
argin: CommandData
) -> TangoResult<CommandData>
Execute a command on the device.
Query names of all attributes the device offers.
Query information about one or more attributes of the device.
Query information about all attributes of the device.
Read a single attribute of the device.
Write a single attribute of the device.
Read one or more attributes of the device.
Write one or more attributes of the device.
Return the value of one or more properties of the device.
The values in the input DbDatum
s are ignored.
Set one or more properties of the device.
Delete one or more properties of the device.