levylabpitt / AFM-Lithography

BSD 3-Clause "New" or "Revised" License
7 stars 0 forks source link

Asylum refactor #26

Closed Monkeymerlot closed 4 years ago

Monkeymerlot commented 4 years ago

The newly refactored driver is using an Event-Based messaging scheme, which helps to decouple the Driver from the rest of the program. I have thought ahead and made modifications to the old driver to allow it to use this new interface just in case the refactored driver does not work correctly. I have functionality to handle the events creation etc, so they are really easy to use.

To manage this API and the starting and stopping of the drivers, I have written a class which handles loading all of the drivers, intializing events for each one, and also inserting and removing them from subpanels. The class is called AFM_Driver_Manager.