Module indiclient :: Class indilightvector
[show private | hide private]
[frames | no frames]

Class indilightvector

 indiobject --+        
              |        
indinamedobject --+    
                  |    
         indivector --+
                      |
                     indilightvector


A vector of lights
Method Summary
  __init__(self, attrs, tag)
  update(self, attrs)
    Inherited from indivector
indielement get_element(self, elementname)
Returns an element on this vector matching a given name.
indielement get_first_element(self)
Returns the first element on this vector.
indilight get_light(self)
Returns the indilight of the vector
indimessage get_message(self)
Return the indimessage associated with the vector, if there is any, None otherwise
indipermissions get_permissions(self)
Returns the read/write permission of the vector
StringType get_xml(self, transfertype)
Returns an XML representation of the object
NoneType tell(self)
" Prints the most important parameters of the vector and its elements.
NoneType wait_for_ok(self)
Wait until its state is Ok.
NoneType wait_for_ok_timeout(self, timeout)
Return None
BooleanType _get_changed(self)
Return True if the objects XML data was changed since the last _get_changed was called, False otherwise.
NoneType _wait_for_ok_general(self, checkinterval, timeout)
Wait until its state is Ok.
    Inherited from indiobject
BooleanType is_valid(self)
Checks whether the object is valid.
NoneType _check_writeable(self)
Raises an exception if the object is not writable

Instance Variable Summary
    Inherited from indivector
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.
indilight _light: The StatusLED of the vector
indimessage _message: The indimessage associated with the vector or None if not present
indipermissions _perm: The users read/write permissions for the vector
    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)
(Constructor)

Parameters:
attrs - The attributes of the XML version of the INDI vector.
           (type=DictType)
tag - The XML tag of the vector (see indixmltag).
           (type=indixmltag)
Overrides:
indiclient.indivector.__init__ (inherited documentation)

Generated by Epydoc 2.1 on Sat Sep 10 10:26:06 2005 http://epydoc.sf.net