| Trees | Index | Help |
|
|---|
| Module indiclient :: Class indivector |
|
indiobject--+ |indinamedobject--+ | indivector
indiblobvector,
indilightvector,
indinumbervector,
indiswitchvector,
inditextvector| Method Summary | |
|---|---|
| |
indielement
|
Returns an element on this vector matching a given name. |
indielement
|
Returns the first element on this vector. |
indilight
|
Returns the indilight of the vector |
indimessage
|
Return the indimessage associated with the vector, if
there is any, None otherwise |
indipermissions
|
Returns the read/write permission of the vector |
| StringType |
Returns an XML representation of the object |
| NoneType |
" Prints the most important parameters of the vector and its elements. |
| NoneType |
Update this element with data received form the XML Parser. |
| NoneType |
Wait until its state is Ok. |
| NoneType |
Return None |
| Inherited from indiobject | |
| BooleanType |
Checks whether the object is valid. |
| Instance Variable Summary | |
|---|---|
| StringType | device: The INDI device the vector belongs to |
list of indielement |
elements: The list of indielement objects contained in the
vector |
| StringType | group: The INDI group the vector belongs to |
| StringType | host: The hostname of the server that send the vector |
| IntType | port: The port on which the server send the vector |
| StringType | timeout: The timeout value. |
| StringType | timestamp: The time when the vector was send out by the INDI server. |
| Inherited from indinamedobject | |
| StringType | label: label of the INDI object as given in the "label" XML
attribute |
| StringType | name: name of the INDI object as given in the "name" XML
attribute |
| Inherited from indiobject | |
indixmltag |
tag: The XML tag of the INDI object (see indixmltag). |
| Method Details |
|---|
__init__(self,
attrs,
tag)
|
get_element(self, elementname)Returns an element on this vector matching a given name.
|
get_first_element(self)Returns the first element on this vector.
|
get_light(self)Returns theindilight of the vector
|
get_message(self)
|
get_permissions(self)Returns the read/write permission of the vector
|
get_xml(self, transfertype)Returns an XML representation of the object
|
tell(self)" Prints the most important parameters of the vector and its elements.
|
update(self, attrs, tag)Update this element with data received form the XML Parser.
|
wait_for_ok(self)Wait until its state isOk. Usually this means to wait
until the server has finished the operation requested by sending this
vector.
|
wait_for_ok_timeout(self, timeout)
|
| Instance Variable Details |
|---|
deviceThe INDI device the vector belongs to
|
elementsThe list ofindielement objects contained in the
vector
|
groupThe INDI group the vector belongs to
|
hostThe hostname of the server that send the vector
|
portThe port on which the server send the vector
|
timestampThe time when the vector was send out by the INDI server.
|
| Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Sat Sep 10 10:26:05 2005 | http://epydoc.sf.net |