| 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 |
This constructor should always be called with keyword arguments. Arguments are: *group* should be None; reserved for future extension when a ThreadGroup class is implemented. *target* is the callable object to be invoked by the run() method. Defaults to None, meaning nothing is called. *name* is the thread name. By default, a unique name is constructed of the form "Thread-N" where N is a small decimal number. *args* is the argument tuple for the target invocation. Defaults to (). *kwargs* is a dictionary of keyword arguments for the target invocation. Defaults to {}. If a subclass overrides the constructor, it must make sure to invoke the base class constructor (Thread.__init__()) before doing anything else to the thread.
|
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 Tue Jul 4 20:19:06 2017 | http://epydoc.sourceforge.net |