Home | Trees | Indices | Help |
|
---|
|
Thread in which the model runs, all requests to the model should be posted to the the model thread.
This class ensures the gui thread doesn't block when the model needs time to complete tasks by providing asynchronous communication between the model thread and the gui thread
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
|
Process all responses that are generated by completed requests from the ModelThread. This method should be called from time to time from within the GUI thread. |
Post a request to the model thread, request should be a function that takes no arguments. The request function will be called within the model thread. When the request is finished, on first occasion, the response function will be called within the gui thread. The response function takes as arguments, the results of the request function.
|
Post a request tot the model thread, block until it is finished, and then return it results. This function only exists for testing purposes, it should never be used from within the gui thread |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Jan 31 18:50:00 2009 | http://epydoc.sourceforge.net |