Utility Classes
- class pymodaq_utils.utils.ThreadCommand(command, attribute=None, attributes=None, args=(), kwargs=None)[source]
Generic object to pass info (command) and data (attribute) between thread or objects using signals
- Parameters:
command (
str) – The command to be analysed for further actionattribute (
any type) – the attribute related to the command. The actual type and value depend on the command and the situationattributes (
deprecated,attribute should be used instead)
- attribute
the attribute related to the command. The actual type and value depend on the command and the situation
- Type:
any type
- args
- Type:
some variables in a list
- kwargs
- Type:
some variables in a dict