1 # This file was automatically generated by SWIG (http://www.swig.org).
4 # Don't modify this file, modify the SWIG interface instead.
8 new_instancemethod = new.instancemethod
10 _swig_property = property
12 pass # Python < 2.2 doesn't have 'property'.
13 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
14 if (name == "thisown"): return self.this.own(value)
16 if type(value).__name__ == 'PySwigObject':
17 self.__dict__[name] = value
19 method = class_type.__swig_setmethods__.get(name,None)
20 if method: return method(self,value)
21 if (not static) or hasattr(self,name):
22 self.__dict__[name] = value
24 raise AttributeError("You cannot add attributes to %s" % self)
26 def _swig_setattr(self,class_type,name,value):
27 return _swig_setattr_nondynamic(self,class_type,name,value,0)
29 def _swig_getattr(self,class_type,name):
30 if (name == "thisown"): return self.this.own()
31 method = class_type.__swig_getmethods__.get(name,None)
32 if method: return method(self)
33 raise AttributeError,name
36 try: strthis = "proxy of " + self.this.__repr__()
38 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
42 _object = types.ObjectType
44 except AttributeError:
50 def _swig_setattr_nondynamic_method(set):
51 def set_attr(self,name,value):
52 if (name == "thisown"): return self.this.own(value)
53 if hasattr(self,name) or (name == "this"):
56 raise AttributeError("You cannot add attributes to %s" % self)
60 class PySwigIterator(object):
61 """Proxy of C++ PySwigIterator class"""
62 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
63 def __init__(self, *args, **kwargs): raise AttributeError, "No constructor defined"
65 __swig_destroy__ = _howto.delete_PySwigIterator
66 __del__ = lambda self : None;
67 def value(*args, **kwargs):
68 """value(self) -> PyObject"""
69 return _howto.PySwigIterator_value(*args, **kwargs)
71 def incr(*args, **kwargs):
72 """incr(self, size_t n=1) -> PySwigIterator"""
73 return _howto.PySwigIterator_incr(*args, **kwargs)
75 def decr(*args, **kwargs):
76 """decr(self, size_t n=1) -> PySwigIterator"""
77 return _howto.PySwigIterator_decr(*args, **kwargs)
79 def distance(*args, **kwargs):
80 """distance(self, PySwigIterator x) -> ptrdiff_t"""
81 return _howto.PySwigIterator_distance(*args, **kwargs)
83 def equal(*args, **kwargs):
84 """equal(self, PySwigIterator x) -> bool"""
85 return _howto.PySwigIterator_equal(*args, **kwargs)
87 def copy(*args, **kwargs):
88 """copy(self) -> PySwigIterator"""
89 return _howto.PySwigIterator_copy(*args, **kwargs)
91 def next(*args, **kwargs):
92 """next(self) -> PyObject"""
93 return _howto.PySwigIterator_next(*args, **kwargs)
95 def previous(*args, **kwargs):
96 """previous(self) -> PyObject"""
97 return _howto.PySwigIterator_previous(*args, **kwargs)
99 def advance(*args, **kwargs):
100 """advance(self, ptrdiff_t n) -> PySwigIterator"""
101 return _howto.PySwigIterator_advance(*args, **kwargs)
103 def __eq__(*args, **kwargs):
104 """__eq__(self, PySwigIterator x) -> bool"""
105 return _howto.PySwigIterator___eq__(*args, **kwargs)
107 def __ne__(*args, **kwargs):
108 """__ne__(self, PySwigIterator x) -> bool"""
109 return _howto.PySwigIterator___ne__(*args, **kwargs)
111 def __iadd__(*args, **kwargs):
112 """__iadd__(self, ptrdiff_t n) -> PySwigIterator"""
113 return _howto.PySwigIterator___iadd__(*args, **kwargs)
115 def __isub__(*args, **kwargs):
116 """__isub__(self, ptrdiff_t n) -> PySwigIterator"""
117 return _howto.PySwigIterator___isub__(*args, **kwargs)
119 def __add__(*args, **kwargs):
120 """__add__(self, ptrdiff_t n) -> PySwigIterator"""
121 return _howto.PySwigIterator___add__(*args, **kwargs)
125 __sub__(self, ptrdiff_t n) -> PySwigIterator
126 __sub__(self, PySwigIterator x) -> ptrdiff_t
128 return _howto.PySwigIterator___sub__(*args)
130 def __iter__(self): return self
131 PySwigIterator_swigregister = _howto.PySwigIterator_swigregister
132 PySwigIterator_swigregister(PySwigIterator)
134 sizeof_char = _howto.sizeof_char
135 sizeof_short = _howto.sizeof_short
136 sizeof_int = _howto.sizeof_int
137 sizeof_float = _howto.sizeof_float
138 sizeof_double = _howto.sizeof_double
139 sizeof_gr_complex = _howto.sizeof_gr_complex
140 class howto_square_ff_sptr(object):
141 """Proxy of C++ howto_square_ff_sptr class"""
142 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
143 __repr__ = _swig_repr
144 def __init__(self, *args):
146 __init__(self) -> howto_square_ff_sptr
147 __init__(self, p) -> howto_square_ff_sptr
149 this = _howto.new_howto_square_ff_sptr(*args)
150 try: self.this.append(this)
151 except: self.this = this
152 def __deref__(*args, **kwargs):
153 """__deref__(self)"""
154 return _howto.howto_square_ff_sptr___deref__(*args, **kwargs)
156 __swig_destroy__ = _howto.delete_howto_square_ff_sptr
157 __del__ = lambda self : None;
158 def history(*args, **kwargs):
159 """history(self) -> unsigned int"""
160 return _howto.howto_square_ff_sptr_history(*args, **kwargs)
162 def output_multiple(*args, **kwargs):
163 """output_multiple(self) -> int"""
164 return _howto.howto_square_ff_sptr_output_multiple(*args, **kwargs)
166 def relative_rate(*args, **kwargs):
167 """relative_rate(self) -> double"""
168 return _howto.howto_square_ff_sptr_relative_rate(*args, **kwargs)
170 def start(*args, **kwargs):
171 """start(self) -> bool"""
172 return _howto.howto_square_ff_sptr_start(*args, **kwargs)
174 def stop(*args, **kwargs):
175 """stop(self) -> bool"""
176 return _howto.howto_square_ff_sptr_stop(*args, **kwargs)
178 def detail(*args, **kwargs):
179 """detail(self) -> gr_block_detail_sptr"""
180 return _howto.howto_square_ff_sptr_detail(*args, **kwargs)
182 def set_detail(*args, **kwargs):
183 """set_detail(self, gr_block_detail_sptr detail)"""
184 return _howto.howto_square_ff_sptr_set_detail(*args, **kwargs)
186 def name(*args, **kwargs):
187 """name(self) -> string"""
188 return _howto.howto_square_ff_sptr_name(*args, **kwargs)
190 def input_signature(*args, **kwargs):
191 """input_signature(self) -> gr_io_signature_sptr"""
192 return _howto.howto_square_ff_sptr_input_signature(*args, **kwargs)
194 def output_signature(*args, **kwargs):
195 """output_signature(self) -> gr_io_signature_sptr"""
196 return _howto.howto_square_ff_sptr_output_signature(*args, **kwargs)
198 def unique_id(*args, **kwargs):
199 """unique_id(self) -> long"""
200 return _howto.howto_square_ff_sptr_unique_id(*args, **kwargs)
202 def basic_block(*args, **kwargs):
203 """basic_block(self) -> gr_basic_block_sptr"""
204 return _howto.howto_square_ff_sptr_basic_block(*args, **kwargs)
206 def check_topology(*args, **kwargs):
207 """check_topology(self, int ninputs, int noutputs) -> bool"""
208 return _howto.howto_square_ff_sptr_check_topology(*args, **kwargs)
210 howto_square_ff_sptr_swigregister = _howto.howto_square_ff_sptr_swigregister
211 howto_square_ff_sptr_swigregister(howto_square_ff_sptr)
213 howto_square_ff_sptr.block = lambda self: howto_square_ff_block (self)
214 howto_square_ff_sptr.__repr__ = lambda self: "<gr_block %s (%d)>" % (self.name(), self.unique_id ())
217 def square_ff(*args):
218 """square_ff() -> howto_square_ff_sptr"""
219 return _howto.square_ff(*args)
220 class howto_square2_ff_sptr(object):
221 """Proxy of C++ howto_square2_ff_sptr class"""
222 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
223 __repr__ = _swig_repr
224 def __init__(self, *args):
226 __init__(self) -> howto_square2_ff_sptr
227 __init__(self, p) -> howto_square2_ff_sptr
229 this = _howto.new_howto_square2_ff_sptr(*args)
230 try: self.this.append(this)
231 except: self.this = this
232 def __deref__(*args, **kwargs):
233 """__deref__(self)"""
234 return _howto.howto_square2_ff_sptr___deref__(*args, **kwargs)
236 __swig_destroy__ = _howto.delete_howto_square2_ff_sptr
237 __del__ = lambda self : None;
238 def history(*args, **kwargs):
239 """history(self) -> unsigned int"""
240 return _howto.howto_square2_ff_sptr_history(*args, **kwargs)
242 def output_multiple(*args, **kwargs):
243 """output_multiple(self) -> int"""
244 return _howto.howto_square2_ff_sptr_output_multiple(*args, **kwargs)
246 def relative_rate(*args, **kwargs):
247 """relative_rate(self) -> double"""
248 return _howto.howto_square2_ff_sptr_relative_rate(*args, **kwargs)
250 def start(*args, **kwargs):
251 """start(self) -> bool"""
252 return _howto.howto_square2_ff_sptr_start(*args, **kwargs)
254 def stop(*args, **kwargs):
255 """stop(self) -> bool"""
256 return _howto.howto_square2_ff_sptr_stop(*args, **kwargs)
258 def detail(*args, **kwargs):
259 """detail(self) -> gr_block_detail_sptr"""
260 return _howto.howto_square2_ff_sptr_detail(*args, **kwargs)
262 def set_detail(*args, **kwargs):
263 """set_detail(self, gr_block_detail_sptr detail)"""
264 return _howto.howto_square2_ff_sptr_set_detail(*args, **kwargs)
266 def name(*args, **kwargs):
267 """name(self) -> string"""
268 return _howto.howto_square2_ff_sptr_name(*args, **kwargs)
270 def input_signature(*args, **kwargs):
271 """input_signature(self) -> gr_io_signature_sptr"""
272 return _howto.howto_square2_ff_sptr_input_signature(*args, **kwargs)
274 def output_signature(*args, **kwargs):
275 """output_signature(self) -> gr_io_signature_sptr"""
276 return _howto.howto_square2_ff_sptr_output_signature(*args, **kwargs)
278 def unique_id(*args, **kwargs):
279 """unique_id(self) -> long"""
280 return _howto.howto_square2_ff_sptr_unique_id(*args, **kwargs)
282 def basic_block(*args, **kwargs):
283 """basic_block(self) -> gr_basic_block_sptr"""
284 return _howto.howto_square2_ff_sptr_basic_block(*args, **kwargs)
286 def check_topology(*args, **kwargs):
287 """check_topology(self, int ninputs, int noutputs) -> bool"""
288 return _howto.howto_square2_ff_sptr_check_topology(*args, **kwargs)
290 howto_square2_ff_sptr_swigregister = _howto.howto_square2_ff_sptr_swigregister
291 howto_square2_ff_sptr_swigregister(howto_square2_ff_sptr)
293 howto_square2_ff_sptr.block = lambda self: howto_square2_ff_block (self)
294 howto_square2_ff_sptr.__repr__ = lambda self: "<gr_block %s (%d)>" % (self.name(), self.unique_id ())
297 def square2_ff(*args):
298 """square2_ff() -> howto_square2_ff_sptr"""
299 return _howto.square2_ff(*args)