Trees | Index | Help |
|
---|
Module indiclient :: Class _blocking_indi_object_handler |
|
gui_indi_object_handler
on_indiobject_changed
is executed. Its does
not define what shall be blocked or what blocking actually means. So for
itself it just does nothing with nothing. Classes inheriting from this
class use it to detect "GUI changed" signals that are caused by
indiclient derived classes changing the gui, (and could cause client
server loopbacks, or data losses if not treated properly).
Method Summary | |
---|---|
__init__(self)
| |
NoneType |
activates the block. |
BooleanType |
Return True if blocked , False otherwise |
NoneType |
releases the block. |
NoneType |
This method will be called at least once by indiclient . |
NoneType |
This method activates the block, calls the method on_indiobject_changed (It is called by bigindiclient.process_events each time an
INDI object has been received) |
NoneType |
While this function is called the block is active. |
Instance Variable Summary | |
---|---|
IntType | _blocked : A counter incremented each time the _block method is called and decremented by
_unblock , >0 means blocked, ==0 mean
unblocked |
Method Details |
---|
_block(self)activates the block.
|
_is_blocked(self)
|
_unblock(self)releases the block. You have to call it as many times as you called_block in order to release it, otherwise
it will stay blocked.
|
configure(self, *args)This method will be called at least once byindiclient . It will be called before on_indiobject_changed has been called for
the first time. It will be called with the same parameters as on_indiobject_changed . It can be
implemented to do some lengthy configuration of some object.
|
indi_object_change_notify(self, *args)This method activates the block, calls the methodon_indiobject_changed (It is called by bigindiclient.process_events each time an
INDI object has been received)
|
on_indiobject_changed(self, *args)While this function is called the block is active. Implement your custom hander here!! (by overloading this function)
|
Instance Variable Details |
---|
_blockedA counter incremented each time the_block method is called and decremented by
_unblock , >0 means blocked, ==0 mean
unblocked
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sat Sep 10 10:26:06 2005 | http://epydoc.sf.net |