# This file was automatically generated by SWIG (http://www.swig.org).
# Version 1.3.31
#
# Don't modify this file, modify the SWIG interface instead.

import _gsm_full_rate
import new
new_instancemethod = new.instancemethod
try:
    _swig_property = property
except NameError:
    pass # Python < 2.2 doesn't have 'property'.
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
    if (name == "thisown"): return self.this.own(value)
    if (name == "this"):
        if type(value).__name__ == 'PySwigObject':
            self.__dict__[name] = value
            return
    method = class_type.__swig_setmethods__.get(name,None)
    if method: return method(self,value)
    if (not static) or hasattr(self,name):
        self.__dict__[name] = value
    else:
        raise AttributeError("You cannot add attributes to %s" % self)

def _swig_setattr(self,class_type,name,value):
    return _swig_setattr_nondynamic(self,class_type,name,value,0)

def _swig_getattr(self,class_type,name):
    if (name == "thisown"): return self.this.own()
    method = class_type.__swig_getmethods__.get(name,None)
    if method: return method(self)
    raise AttributeError,name

def _swig_repr(self):
    try: strthis = "proxy of " + self.this.__repr__()
    except: strthis = ""
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)

import types
try:
    _object = types.ObjectType
    _newclass = 1
except AttributeError:
    class _object : pass
    _newclass = 0
del types


def _swig_setattr_nondynamic_method(set):
    def set_attr(self,name,value):
        if (name == "thisown"): return self.this.own(value)
        if hasattr(self,name) or (name == "this"):
            set(self,name,value)
        else:
            raise AttributeError("You cannot add attributes to %s" % self)
    return set_attr


class gsm_fr_encode_sp_sptr(object):
    """Proxy of C++ gsm_fr_encode_sp_sptr class"""
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self) -> gsm_fr_encode_sp_sptr
        __init__(self,  p) -> gsm_fr_encode_sp_sptr
        """
        this = _gsm_full_rate.new_gsm_fr_encode_sp_sptr(*args)
        try: self.this.append(this)
        except: self.this = this
    def __deref__(*args):
        """__deref__(self)"""
        return _gsm_full_rate.gsm_fr_encode_sp_sptr___deref__(*args)

    __swig_destroy__ = _gsm_full_rate.delete_gsm_fr_encode_sp_sptr
    __del__ = lambda self : None;
    def name(*args):
        """name(self) -> string"""
        return _gsm_full_rate.gsm_fr_encode_sp_sptr_name(*args)

    def input_signature(*args):
        """input_signature(self) -> gr_io_signature_sptr"""
        return _gsm_full_rate.gsm_fr_encode_sp_sptr_input_signature(*args)

    def output_signature(*args):
        """output_signature(self) -> gr_io_signature_sptr"""
        return _gsm_full_rate.gsm_fr_encode_sp_sptr_output_signature(*args)

    def unique_id(*args):
        """unique_id(self) -> long"""
        return _gsm_full_rate.gsm_fr_encode_sp_sptr_unique_id(*args)

    def history(*args):
        """history(self) -> unsigned int"""
        return _gsm_full_rate.gsm_fr_encode_sp_sptr_history(*args)

    def output_multiple(*args):
        """output_multiple(self) -> int"""
        return _gsm_full_rate.gsm_fr_encode_sp_sptr_output_multiple(*args)

    def relative_rate(*args):
        """relative_rate(self) -> double"""
        return _gsm_full_rate.gsm_fr_encode_sp_sptr_relative_rate(*args)

    def check_topology(*args):
        """check_topology(self, int ninputs, int noutputs) -> bool"""
        return _gsm_full_rate.gsm_fr_encode_sp_sptr_check_topology(*args)

    def start(*args):
        """start(self) -> bool"""
        return _gsm_full_rate.gsm_fr_encode_sp_sptr_start(*args)

    def stop(*args):
        """stop(self) -> bool"""
        return _gsm_full_rate.gsm_fr_encode_sp_sptr_stop(*args)

    def detail(*args):
        """detail(self) -> gr_block_detail_sptr"""
        return _gsm_full_rate.gsm_fr_encode_sp_sptr_detail(*args)

    def set_detail(*args):
        """set_detail(self, gr_block_detail_sptr detail)"""
        return _gsm_full_rate.gsm_fr_encode_sp_sptr_set_detail(*args)

gsm_fr_encode_sp_sptr_swigregister = _gsm_full_rate.gsm_fr_encode_sp_sptr_swigregister
gsm_fr_encode_sp_sptr_swigregister(gsm_fr_encode_sp_sptr)


def gsm_fr_encode_sp_block(*args):
  """gsm_fr_encode_sp_block(gsm_fr_encode_sp_sptr r) -> gr_block_sptr"""
  return _gsm_full_rate.gsm_fr_encode_sp_block(*args)
gsm_fr_encode_sp_sptr.block = lambda self: gsm_fr_encode_sp_block (self)
gsm_fr_encode_sp_sptr.__repr__ = lambda self: "<gr_block %s (%d)>" % (self.name(), self.unique_id ())


def encode_sp(*args):
  """encode_sp() -> gsm_fr_encode_sp_sptr"""
  return _gsm_full_rate.encode_sp(*args)
class gsm_fr_decode_ps_sptr(object):
    """Proxy of C++ gsm_fr_decode_ps_sptr class"""
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self) -> gsm_fr_decode_ps_sptr
        __init__(self,  p) -> gsm_fr_decode_ps_sptr
        """
        this = _gsm_full_rate.new_gsm_fr_decode_ps_sptr(*args)
        try: self.this.append(this)
        except: self.this = this
    def __deref__(*args):
        """__deref__(self)"""
        return _gsm_full_rate.gsm_fr_decode_ps_sptr___deref__(*args)

    __swig_destroy__ = _gsm_full_rate.delete_gsm_fr_decode_ps_sptr
    __del__ = lambda self : None;
    def name(*args):
        """name(self) -> string"""
        return _gsm_full_rate.gsm_fr_decode_ps_sptr_name(*args)

    def input_signature(*args):
        """input_signature(self) -> gr_io_signature_sptr"""
        return _gsm_full_rate.gsm_fr_decode_ps_sptr_input_signature(*args)

    def output_signature(*args):
        """output_signature(self) -> gr_io_signature_sptr"""
        return _gsm_full_rate.gsm_fr_decode_ps_sptr_output_signature(*args)

    def unique_id(*args):
        """unique_id(self) -> long"""
        return _gsm_full_rate.gsm_fr_decode_ps_sptr_unique_id(*args)

    def history(*args):
        """history(self) -> unsigned int"""
        return _gsm_full_rate.gsm_fr_decode_ps_sptr_history(*args)

    def output_multiple(*args):
        """output_multiple(self) -> int"""
        return _gsm_full_rate.gsm_fr_decode_ps_sptr_output_multiple(*args)

    def relative_rate(*args):
        """relative_rate(self) -> double"""
        return _gsm_full_rate.gsm_fr_decode_ps_sptr_relative_rate(*args)

    def check_topology(*args):
        """check_topology(self, int ninputs, int noutputs) -> bool"""
        return _gsm_full_rate.gsm_fr_decode_ps_sptr_check_topology(*args)

    def start(*args):
        """start(self) -> bool"""
        return _gsm_full_rate.gsm_fr_decode_ps_sptr_start(*args)

    def stop(*args):
        """stop(self) -> bool"""
        return _gsm_full_rate.gsm_fr_decode_ps_sptr_stop(*args)

    def detail(*args):
        """detail(self) -> gr_block_detail_sptr"""
        return _gsm_full_rate.gsm_fr_decode_ps_sptr_detail(*args)

    def set_detail(*args):
        """set_detail(self, gr_block_detail_sptr detail)"""
        return _gsm_full_rate.gsm_fr_decode_ps_sptr_set_detail(*args)

gsm_fr_decode_ps_sptr_swigregister = _gsm_full_rate.gsm_fr_decode_ps_sptr_swigregister
gsm_fr_decode_ps_sptr_swigregister(gsm_fr_decode_ps_sptr)


def gsm_fr_decode_ps_block(*args):
  """gsm_fr_decode_ps_block(gsm_fr_decode_ps_sptr r) -> gr_block_sptr"""
  return _gsm_full_rate.gsm_fr_decode_ps_block(*args)
gsm_fr_decode_ps_sptr.block = lambda self: gsm_fr_decode_ps_block (self)
gsm_fr_decode_ps_sptr.__repr__ = lambda self: "<gr_block %s (%d)>" % (self.name(), self.unique_id ())


def decode_ps(*args):
  """decode_ps() -> gsm_fr_decode_ps_sptr"""
  return _gsm_full_rate.decode_ps(*args)


