|
ENLIGHTEN
Cross-platform desktop GUI for Wasatch Photonics spectrometers
|
This is sort of an "extension class" to Controller, or a "partial class" in C# terms. More...
Public Member Functions | |
| __init__ (self, ctl) | |
| clear (self) | |
| Ensures objects can check for other's instantiation during start-up. | |
| create_first (self) | |
| These are things needed early in the Controller's constructor initialization, i.e. | |
| create_rest (self) | |
| Create the remaining business objects which allow us to encapsulate coherent sets of application functionality outside the Controller. | |
| destroy (self) | |
| header (self, msg) | |
Public Attributes | |
| ctl = ctl | |
This is sort of an "extension class" to Controller, or a "partial class" in C# terms.
It's not really a separate object, so much as a place to encapsulate one huge set of related functionality out of Controller.py, to make that already-huge class more navigable and maintainable.
Consider having this maintain a list of all business objects, so Controller could call update_visibility() etc on all of them.
| enlighten.BusinessObjects.BusinessObjects.__init__ | ( | self, | |
| ctl ) |
| enlighten.BusinessObjects.BusinessObjects.clear | ( | self | ) |
Ensures objects can check for other's instantiation during start-up.
| enlighten.BusinessObjects.BusinessObjects.create_first | ( | self | ) |
These are things needed early in the Controller's constructor initialization, i.e.
before the placeholders are populated.
| enlighten.BusinessObjects.BusinessObjects.create_rest | ( | self | ) |
Create the remaining business objects which allow us to encapsulate coherent sets of application functionality outside the Controller.
This is called by Controller.__init__() after set_initial_state(), so you can assume that the GUI is configured and all widget placeholders have been populated. No spectrometers will have connected at this time.
| enlighten.BusinessObjects.BusinessObjects.destroy | ( | self | ) |
| enlighten.BusinessObjects.BusinessObjects.header | ( | self, | |
| msg ) |
| enlighten.BusinessObjects.BusinessObjects.ctl = ctl |