Struct tango_client::dbase::DatabaseProxy [−][src]
pub struct DatabaseProxy { /* fields omitted */ }
Expand description
A client to the Tango database.
Implementations
Connect to the database.
Note: this always uses the database referenced by the TANGO_HOST
environment variable.
Return a list of exported devices, filtered by the given name,
which can include *
as wildcard.
The return value will be a DbDatum
containing either
PropertyValue::Empty
or PropertyValue::StringArray
with the
device names.
Return a list of exported devices, for the given class.
The return value will be a DbDatum
containing either
PropertyValue::Empty
or PropertyValue::StringArray
with the
device names.
Return a list of objects for which free properties are defined,
considering the given name filter, which can include *
as a wildcard.
The return value will be a DbDatum
containing either
PropertyValue::Empty
or PropertyValue::StringArray
with the object
names.
pub fn get_object_property_list(
&self,
obj_name: &str,
name_filter: &str
) -> TangoResult<DbDatum>
pub fn get_object_property_list(
&self,
obj_name: &str,
name_filter: &str
) -> TangoResult<DbDatum>
Return a list of free properties for the given object, considering the
given name filter, which can include *
as a wildcard.
The return value will be a DbDatum
containing either
PropertyValue::Empty
or PropertyValue::StringArray
with the property
names.
pub fn get_property(
&self,
obj_name: &str,
prop_list: Vec<DbDatum>
) -> TangoResult<Vec<DbDatum>>
pub fn get_property(
&self,
obj_name: &str,
prop_list: Vec<DbDatum>
) -> TangoResult<Vec<DbDatum>>
Query the database for one or more free properties of the named object.
The value of the input DbDatum
s is ignored; in the output they contain
the property values.
Update one or more free properties of the named object.
Delete one or more free properties of the named object.