Trees | Index | Help |
|
---|
Module indiclient :: Class indi_custom_element_handler |
|
_blocking_indi_object_handler
--+ |gui_indi_object_handler
--+ |indi_vector_identifier
--+ | | |indi_element_identifier
--+ | indi_custom_element_handler
mini_element_handler
on_indiobject_changed
method in order to
add a custom handler.
Method Summary | |
---|---|
| |
NoneType |
This hander method will be called only once. |
indielement
|
Returns the indielement this handler is associated
with. |
indivector
|
Returns the indivector this handler is associated
with. |
NoneType |
This hander method will be called each time the specified INDI element/vector is received. |
Inherited from gui_indi_object_handler | |
NoneType |
The method _blocking_on_gui_changed is called by the
GUI, in order to inform us, that a widget has changed. |
NoneType |
Important: Implement your GUI callback here but link you GUI callback signal to {_blocking_on_gui_changed} (see on_blocked if you want to know why) |
NoneType |
installs callbacks of the GUI that will call the function _blocking_on_gui_changed if the user
changes the the GUI object associated with this gui_indi_object_handler . |
NoneType |
uninstalls the GUI callback installed with set_bidirectional (see set_bidirectional for details) |
Instance Variable Summary | |
---|---|
StringType | devicename : The name of the device this handler is associated with |
StringType | elementname : The name of the indielement this handler is associated with |
indiclient |
indi : The indiclient instance calling this handler (will be set by
indiclient automatically) |
StringType | type : The type of the handler |
StringType | vectorname : The name of the indivector this handler is associated with |
Method Details |
---|
__init__(self,
devicename,
vectorname,
elementname)
|
configure(self, vector, element)This hander method will be called only once. It will be called before theon_indiobject_changed method is called
for the first time. It will be called as soon as vector has been
received for the first time. It can be used to do some lengthy
calculations in order to set up related data structures that need to be
done only once and require information from the associated indivector and indielement objects.
|
get_element(self)Returns theindielement this handler is associated
with.
|
get_vector(self)Returns theindivector this handler is associated
with.
|
on_indiobject_changed(self, vector, element)This hander method will be called each time the specified INDI element/vector is received. You have to write a class inheriting from this class and overload this function.
|
Instance Variable Details |
---|
devicenameThe name of the device this handler is associated with
|
elementnameThe name of the indielement this handler is associated with
|
indiThe indiclient instance calling this handler (will be set by indiclient automatically)
|
typeThe type of the handler
|
vectornameThe name of the indivector this handler is associated with
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sat Sep 10 10:26:06 2005 | http://epydoc.sf.net |