Home | Trees | Indices | Help |
|
---|
|
object --+ | threading._Verbose --+ | threading.Thread --+ | Backend
Abstract class defining the behavior of all Chart GUI backends.
Each backend is a 'daemon' that runs in a new thread and handles all GUI requests from any Chart instance. A backend service must behave as a singleton - only one service of a given kind may exist at a given point in time. Chart clients will request GUI operations on specific figures, the Backend therefore must keep track of all windows opened, as well as the figure-to-window mapping.
Nested Classes | |
__metaclass__ Metaclass for defining Abstract Base Classes (ABCs). |
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
Static Methods | |||
Backend |
|
||
bool |
|
Class Variables | |
__abstractmethods__ =
|
Properties | |
bool |
running True if the service had been started and is currently running |
bool |
started True if the service had been started |
Inherited from Inherited from |
Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
Fired when a client is being deleted. Will stop the service if no active clients are remaining. |
Destroy existing figure. If |
Backend factory, ensures one instance per subclass. |
|
Main service method, automatically called by
|
Start the Backend service. This method can be called only once.
|
Stop the Backend service. The Backend object can be safely disposed afterwards. |
Class Variable Details |
__abstractmethods__
|
Property Details |
runningTrue if the service had been started and is currently running
|
startedTrue if the service had been started
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Jan 18 14:12:19 2014 | http://epydoc.sourceforge.net |