Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | Related Pages

GattrHsk Class Reference

Class which is instantiated for each housekeeping quantity. More...

Inheritance diagram for GattrHsk:

Inheritance graph
[legend]
Collaboration diagram for GattrHsk:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 __init__ (node, attr)
 getNode ()
 __init__ (name, id, rule=gAttr.Gattr.defaultRule, constraint=gAttr.Gattr.defaultConstraint, egu=gAttr.Gattr.defaultEgu)
 create (node)
 set (node, val, bypass=True)
 get (node, raw, bypass=False)

Detailed Description

Class which is instantiated for each housekeeping quantity.

Definition at line 12 of file gHdb.py.


Member Function Documentation

__init__ name  ,
id  ,
rule  = gAttr.Gattr.defaultRule,
constraint  = gAttr.Gattr.defaultConstraint,
egu  = gAttr.Gattr.defaultEgu
 

GattrHsk constructor

Parameters:
name The name of the attribute.
id Positional identifier.
rule Optional. Attribute rule.
constraint Optional. Attribute constraint.
egu Optional. Attribute EGU

get node  ,
raw  ,
bypass  = False
 

Method for getting the value of an attribute. If bypass=0 (the default), the value will be returned in EU. If bypass=1, the raw value will be returned.

set node  ,
val  ,
bypass  = True
 

Method for setting the value of an attribute. Calls the functions in the attribute's node for setting values.

Parameters:
val Register value to be set
bypass Optional. Flag for bypassing EGU conversion Default is to *not* convert to EGU.


The documentation for this class was generated from the following file:
Generated on Fri Jul 21 13:27:03 2006 for LATTE R04-12-00 by doxygen 1.4.3