parameter_value.py
Go to the documentation of this file.
1 #!/usr/bin/env python
2 
3 
6 
7 """ Contains a class that holds diagram informations
8 .. module:: node
9 """
10 
11 import converter.node as node
12 
13 
15  """ Stores the curent value of the parameter associated to
16  the given ID
17  """
18 
19  def __init__(self, attrs):
20  super(ParameterValue, self).__init__("ParameterValue")
21 
22  # Attributes
23  self.id = attrs.getValue("id")
24  self.value = attrs.getValue("value")
25 
26  def beacon(self):
27  return "ParameterValue"
converter.node.Node.id
id
Definition: xarconverter/converter/node/__init__.py:17
converter.node.parameter_value.ParameterValue
Definition: parameter_value.py:14
converter.node
Definition: xarconverter/converter/node/__init__.py:1
converter.node.parameter_value.ParameterValue.value
value
Definition: parameter_value.py:24
converter.node.parameter_value.ParameterValue.beacon
def beacon(self)
Definition: parameter_value.py:26
converter.node.Node
Definition: xarconverter/converter/node/__init__.py:12
converter.node.parameter_value.ParameterValue.__init__
def __init__(self, attrs)
Definition: parameter_value.py:19


naoqi_libqicore
Author(s): Aldebaran
autogenerated on Wed Sep 14 2022 02:22:41