mxcubecore.Command.Mockup#

Classes

MockupChannel(name[, username, timeout])

MockupCommand(name, command_name[, ...])

class mxcubecore.Command.Mockup.MockupChannel(name, username=None, timeout=1000, **kwargs)[source]#

Bases: ChannelObject

get_value(force=False)[source]#

Get channel value.

Parameters:

force (bool, optional) – Force get value. Defaults to False.

Raises:

NotImplementedError – If method has not been implemented for this object.

is_connected()[source]#

Check if signal is connected.

Returns:

True if connected, else False.

Return type:

bool

class mxcubecore.Command.Mockup.MockupCommand(name, command_name, list_args=None, timeout=1000, **kwargs)[source]#

Bases: CommandObject

is_connected()[source]#

Check if signal is connected.

Returns:

True if connected, else False.

Return type:

bool