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

_Attr Class Reference

List of all members.

Public Member Functions

 __init__ (node, attr, egu)
 getName ()
 size ()
 id ()
 setRule (rule)
 getRule ()
 setConstraint (constraint)
 setEGU (egu)
 getEGU ()
 getConstraint ()
 flags ()
 isReadOnly ()
 isWriteOnly ()
 isReadWrite ()
 isNoDirectAccess ()
 isCommand ()
 isDeprecated ()
 getNode ()
 setTimeStamp (value)
 getTimeStamp ()

Detailed Description

Helper class for private use in this file only.

Definition at line 289 of file gAttr.py.


Member Function Documentation

getConstraint  ) 
 

Method that returns the gConstraint.Gconstraint class for this gAttr

Returns:
A Gconstraint object instance

getEGU  ) 
 

Method that returns the gEGU.GEGU class for this gAttr

Returns:
A Gegu object instance

getRule  ) 
 

Retrieve the rule associated with the gAttr.

getTimeStamp  ) 
 

Method that returns the timestamp at the moment when the register was accessed.

Returns:
Timestamp in seconds as a floating point value

isCommand  ) 
 

Returns a boolean value indicating if the attribute is a dataless command or not

Returns:
1=Dataless command, 0=Not a dataless command.

isDeprecated  ) 
 

Returns a boolean value indicating if the attribute is deprecated or not

Returns:
1=Deprecated, 0=Not deprecated.

isNoDirectAccess  ) 
 

Returns a boolean value indicating if the attribute is no direct access or not

Returns:
1=No Direct Access, 0=Not No Direct Access.

isReadOnly  ) 
 

Returns a boolean value indicating if the attribute is read only or not

Returns:
1=Read Only, 0=Not Read Only.

isReadWrite  ) 
 

Returns a boolean value indicating if the attribute is read write or not

Returns:
1=Read Write, 0=Not Read Write.

isWriteOnly  ) 
 

Returns a boolean value indicating if the attribute is write only or not

Returns:
1=Write Only, 0=Not Write Only.

setConstraint constraint   ) 
 

Method to attach a constraint to a gAttr after the gAttr has been constructed. This method will go away once constraints are loaded from a configuration file.

Parameters:
constraint A Gconstraint object instance

setEGU egu   ) 
 

Method to attach a EGU to a gAttr after the gAttr has been constructed.

Parameters:
egu A Gegu object instance

setRule rule   ) 
 

Method to attach a rule to a gAttr after the gAttr has been constructed.

Parameters:
rule A Grule object instance

size  ) 
 

Method for returning the size of the attribute

Returns:
Attribute size in bytes


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