Imported Upstream version 3.2.2
[debian/gnuradio] / grc / blocks / variable.xml
1 <?xml version="1.0"?>
2 <!--
3 ###################################################
4 ##Variable block: a grc variable with key, value
5 ###################################################
6  -->
7 <block>
8         <name>Variable</name>
9         <key>variable</key>
10         <var_make>self.$(id) = $(id) = $value</var_make>
11         <make></make>
12         <callback>self.set_$(id)($value)</callback>
13         <param>
14                 <name>Value</name>
15                 <key>value</key>
16                 <value>0</value>
17                 <type>raw</type>
18         </param>
19         <doc>
20 This block maps a value to a unique variable. \
21 This variable block has no graphical representation.
22         </doc>
23 </block>