BioImager  4.9.0
A .NET microscopy imaging application based on Bio library. Supports various microscopes by using imported libraries & GUI automation. Supports XInput game controllers to move stage, take images, run ImageJ macros on images or Bio C# scripts.
Loading...
Searching...
No Matches
microscope.simulators.SimulatedController Class Reference
Inheritance diagram for microscope.simulators.SimulatedController:
microscope.abc.Controller microscope.abc.Device

Public Member Functions

None __init__ (self, typing.Mapping[str, microscope.abc.Device] devices)
 
typing.Mapping[str, microscope.abc.Devicedevices (self)
 
- Public Member Functions inherited from microscope.abc.Controller
- Public Member Functions inherited from microscope.abc.Device
None __del__ (self)
 
bool get_is_enabled (self)
 
None disable (self)
 
None enable (self)
 
None initialize (self)
 
None shutdown (self)
 
None add_setting (self, name, dtype, get_func, set_func, values, typing.Optional[typing.Callable[[], bool]] readonly=None)
 
 get_setting (self, str name)
 
 get_all_settings (self)
 
None set_setting (self, str name, value)
 
 describe_setting (self, str name)
 
 describe_settings (self)
 
 update_settings (self, incoming, bool init=False)
 

Protected Attributes

typing.Mapping[str, microscope.abc.Device_devices = devices.copy()
 
- Protected Attributes inherited from microscope.abc.Device
dict _settings = {}
 

Additional Inherited Members

- Public Attributes inherited from microscope.abc.Device
bool enabled = False
 
- Protected Member Functions inherited from microscope.abc.Controller
None _do_shutdown (self)
 
- Protected Member Functions inherited from microscope.abc.Device
 _do_disable (self)
 
 _do_enable (self)
 

Detailed Description

Definition at line 312 of file __init__.py.

Constructor & Destructor Documentation

◆ __init__()

None microscope.simulators.SimulatedController.__init__ ( self,
typing.Mapping[str, microscope.abc.Device] devices )

Reimplemented from microscope.abc.Device.

Definition at line 313 of file __init__.py.

315 ) -> None:
316 self._devices = devices.copy()
317

Member Function Documentation

◆ devices()

typing.Mapping[str, microscope.abc.Device] microscope.simulators.SimulatedController.devices ( self)
Map of names to the controlled devices.

Reimplemented from microscope.abc.Controller.

Definition at line 319 of file __init__.py.

319 def devices(self) -> typing.Mapping[str, microscope.abc.Device]:
320 return self._devices
321
322

Member Data Documentation

◆ _devices

typing.Mapping[str, microscope.abc.Device] microscope.simulators.SimulatedController._devices = devices.copy()
protected

Definition at line 316 of file __init__.py.


The documentation for this class was generated from the following file: