mxcubeweb.core.adapter.data_publisher_adapter#

Classes

class mxcubeweb.core.adapter.data_publisher_adapter.DataPublisherAdapter(ho, *args)[source]#

Bases: AdapterBase

state()[source]#

Retrieve the state of the underlying hardware object as a JavaScript string.

Retrieves the state of the underlying hardware object and converts it to a str that can be used by the javascript front end.

Returns:

The state

Return type:

(str)