# This file was automatically generated by SWIG (https://www.swig.org).
# Version 4.4.1
#
# Do not make changes to this file unless you know what you are doing - modify
# the SWIG interface file instead.

from sys import version_info as _swig_python_version_info
# Import the low-level C/C++ module
if getattr(globals().get("__spec__"), "parent", None) or __package__ or "." in __name__:
    from . import _rds_swig
else:
    import _rds_swig

try:
    import builtins as __builtin__
except ImportError:
    import __builtin__

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


def _swig_setattr_nondynamic_instance_variable(set):
    def set_instance_attr(self, name, value):
        if name == "this":
            set(self, name, value)
        elif name == "thisown":
            self.this.own(value)
        elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
            set(self, name, value)
        else:
            raise AttributeError("You cannot add instance attributes to %s" % self)
    return set_instance_attr


def _swig_setattr_nondynamic_class_variable(set):
    def set_class_attr(cls, name, value):
        if hasattr(cls, name) and not isinstance(getattr(cls, name), property):
            set(cls, name, value)
        else:
            raise AttributeError("You cannot add class attributes to %s" % cls)
    return set_class_attr


def _swig_add_metaclass(metaclass):
    """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
    def wrapper(cls):
        return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
    return wrapper


class _SwigNonDynamicMeta(type):
    """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
    __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)



def high_res_timer_now() -> "gr::high_res_timer_type":
    r"""high_res_timer_now() -> gr::high_res_timer_type"""
    return _rds_swig.high_res_timer_now()

def high_res_timer_now_perfmon() -> "gr::high_res_timer_type":
    r"""high_res_timer_now_perfmon() -> gr::high_res_timer_type"""
    return _rds_swig.high_res_timer_now_perfmon()

def high_res_timer_tps() -> "gr::high_res_timer_type":
    r"""high_res_timer_tps() -> gr::high_res_timer_type"""
    return _rds_swig.high_res_timer_tps()

def high_res_timer_epoch() -> "gr::high_res_timer_type":
    r"""high_res_timer_epoch() -> gr::high_res_timer_type"""
    return _rds_swig.high_res_timer_epoch()
class decoder(object):
    r"""Proxy of C++ gr::rds::decoder class."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined")
    __repr__ = _swig_repr

    @staticmethod
    def make(log: "bool", debug: "bool") -> "gr::rds::decoder::sptr":
        r"""make(bool log, bool debug) -> decoder_sptr"""
        return _rds_swig.decoder_make(log, debug)
    __swig_destroy__ = _rds_swig.delete_decoder

# Register decoder in _rds_swig:
_rds_swig.decoder_swigregister(decoder)
class encoder(object):
    r"""Proxy of C++ gr::rds::encoder class."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    @staticmethod
    def make(pty_locale: "unsigned char", pty: "int", ms: "bool", ps: "std::string", af1: "double", tp: "bool", ta: "bool", pi_country_code: "int", pi_coverage_area: "int", pi_reference_number: "int", radiotext: "std::string") -> "gr::rds::encoder::sptr":
        r"""make(unsigned char pty_locale, int pty, bool ms, std::string ps, double af1, bool tp, bool ta, int pi_country_code, int pi_coverage_area, int pi_reference_number, std::string radiotext) -> encoder_sptr"""
        return _rds_swig.encoder_make(pty_locale, pty, ms, ps, af1, tp, ta, pi_country_code, pi_coverage_area, pi_reference_number, radiotext)

    def set_ps(self, ps: "std::string") -> "void":
        r"""set_ps(encoder self, std::string ps)"""
        return _rds_swig.encoder_set_ps(self, ps)
    __swig_destroy__ = _rds_swig.delete_encoder

# Register encoder in _rds_swig:
_rds_swig.encoder_swigregister(encoder)
class parser(object):
    r"""Proxy of C++ gr::rds::parser class."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr

    @staticmethod
    def make(log: "bool", debug: "bool", pty_locale: "unsigned char") -> "gr::rds::parser::sptr":
        r"""make(bool log, bool debug, unsigned char pty_locale) -> parser_sptr"""
        return _rds_swig.parser_make(log, debug, pty_locale)

    def reset(self) -> "void":
        r"""reset(parser self)"""
        return _rds_swig.parser_reset(self)
    __swig_destroy__ = _rds_swig.delete_parser

# Register parser in _rds_swig:
_rds_swig.parser_swigregister(parser)
class decoder_sptr(object):
    r"""Proxy of C++ boost::shared_ptr< gr::rds::decoder > class."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        __init__(decoder_sptr self) -> decoder_sptr
        __init__(decoder_sptr self, decoder p) -> decoder_sptr
        """
        _rds_swig.decoder_sptr_swiginit(self, _rds_swig.new_decoder_sptr(*args))

    def __deref__(self) -> "gr::rds::decoder *":
        r"""__deref__(decoder_sptr self) -> decoder"""
        return _rds_swig.decoder_sptr___deref__(self)
    __swig_destroy__ = _rds_swig.delete_decoder_sptr

    def make(self, log: "bool", debug: "bool") -> "gr::rds::decoder::sptr":
        r"""make(decoder_sptr self, bool log, bool debug) -> decoder_sptr"""
        return _rds_swig.decoder_sptr_make(self, log, debug)

    def history(self) -> "unsigned int":
        r"""history(decoder_sptr self) -> unsigned int"""
        return _rds_swig.decoder_sptr_history(self)

    def declare_sample_delay(self, *args) -> "void":
        r"""
        declare_sample_delay(decoder_sptr self, int which, int delay)
        declare_sample_delay(decoder_sptr self, unsigned int delay)
        """
        return _rds_swig.decoder_sptr_declare_sample_delay(self, *args)

    def sample_delay(self, which: "int") -> "unsigned int":
        r"""sample_delay(decoder_sptr self, int which) -> unsigned int"""
        return _rds_swig.decoder_sptr_sample_delay(self, which)

    def set_output_multiple(self, multiple: "int") -> "void":
        r"""set_output_multiple(decoder_sptr self, int multiple)"""
        return _rds_swig.decoder_sptr_set_output_multiple(self, multiple)

    def output_multiple(self) -> "int":
        r"""output_multiple(decoder_sptr self) -> int"""
        return _rds_swig.decoder_sptr_output_multiple(self)

    def relative_rate(self) -> "double":
        r"""relative_rate(decoder_sptr self) -> double"""
        return _rds_swig.decoder_sptr_relative_rate(self)

    def relative_rate_i(self) -> "uint64_t":
        r"""relative_rate_i(decoder_sptr self) -> uint64_t"""
        return _rds_swig.decoder_sptr_relative_rate_i(self)

    def relative_rate_d(self) -> "uint64_t":
        r"""relative_rate_d(decoder_sptr self) -> uint64_t"""
        return _rds_swig.decoder_sptr_relative_rate_d(self)

    def start(self) -> "bool":
        r"""start(decoder_sptr self) -> bool"""
        return _rds_swig.decoder_sptr_start(self)

    def stop(self) -> "bool":
        r"""stop(decoder_sptr self) -> bool"""
        return _rds_swig.decoder_sptr_stop(self)

    def nitems_read(self, which_input: "unsigned int") -> "uint64_t":
        r"""nitems_read(decoder_sptr self, unsigned int which_input) -> uint64_t"""
        return _rds_swig.decoder_sptr_nitems_read(self, which_input)

    def nitems_written(self, which_output: "unsigned int") -> "uint64_t":
        r"""nitems_written(decoder_sptr self, unsigned int which_output) -> uint64_t"""
        return _rds_swig.decoder_sptr_nitems_written(self, which_output)

    def set_log_level(self, level: "std::string") -> "void":
        r"""set_log_level(decoder_sptr self, std::string level)"""
        return _rds_swig.decoder_sptr_set_log_level(self, level)

    def log_level(self) -> "std::string":
        r"""log_level(decoder_sptr self) -> std::string"""
        return _rds_swig.decoder_sptr_log_level(self)

    def max_noutput_items(self) -> "int":
        r"""max_noutput_items(decoder_sptr self) -> int"""
        return _rds_swig.decoder_sptr_max_noutput_items(self)

    def set_max_noutput_items(self, m: "int") -> "void":
        r"""set_max_noutput_items(decoder_sptr self, int m)"""
        return _rds_swig.decoder_sptr_set_max_noutput_items(self, m)

    def unset_max_noutput_items(self) -> "void":
        r"""unset_max_noutput_items(decoder_sptr self)"""
        return _rds_swig.decoder_sptr_unset_max_noutput_items(self)

    def is_set_max_noutput_items(self) -> "bool":
        r"""is_set_max_noutput_items(decoder_sptr self) -> bool"""
        return _rds_swig.decoder_sptr_is_set_max_noutput_items(self)

    def set_min_noutput_items(self, m: "int") -> "void":
        r"""set_min_noutput_items(decoder_sptr self, int m)"""
        return _rds_swig.decoder_sptr_set_min_noutput_items(self, m)

    def min_noutput_items(self) -> "int":
        r"""min_noutput_items(decoder_sptr self) -> int"""
        return _rds_swig.decoder_sptr_min_noutput_items(self)

    def max_output_buffer(self, i: "int") -> "long":
        r"""max_output_buffer(decoder_sptr self, int i) -> long"""
        return _rds_swig.decoder_sptr_max_output_buffer(self, i)

    def set_max_output_buffer(self, *args) -> "void":
        r"""
        set_max_output_buffer(decoder_sptr self, long max_output_buffer)
        set_max_output_buffer(decoder_sptr self, int port, long max_output_buffer)
        """
        return _rds_swig.decoder_sptr_set_max_output_buffer(self, *args)

    def min_output_buffer(self, i: "int") -> "long":
        r"""min_output_buffer(decoder_sptr self, int i) -> long"""
        return _rds_swig.decoder_sptr_min_output_buffer(self, i)

    def set_min_output_buffer(self, *args) -> "void":
        r"""
        set_min_output_buffer(decoder_sptr self, long min_output_buffer)
        set_min_output_buffer(decoder_sptr self, int port, long min_output_buffer)
        """
        return _rds_swig.decoder_sptr_set_min_output_buffer(self, *args)

    def pc_noutput_items(self) -> "float":
        r"""pc_noutput_items(decoder_sptr self) -> float"""
        return _rds_swig.decoder_sptr_pc_noutput_items(self)

    def pc_noutput_items_avg(self) -> "float":
        r"""pc_noutput_items_avg(decoder_sptr self) -> float"""
        return _rds_swig.decoder_sptr_pc_noutput_items_avg(self)

    def pc_noutput_items_var(self) -> "float":
        r"""pc_noutput_items_var(decoder_sptr self) -> float"""
        return _rds_swig.decoder_sptr_pc_noutput_items_var(self)

    def pc_nproduced(self) -> "float":
        r"""pc_nproduced(decoder_sptr self) -> float"""
        return _rds_swig.decoder_sptr_pc_nproduced(self)

    def pc_nproduced_avg(self) -> "float":
        r"""pc_nproduced_avg(decoder_sptr self) -> float"""
        return _rds_swig.decoder_sptr_pc_nproduced_avg(self)

    def pc_nproduced_var(self) -> "float":
        r"""pc_nproduced_var(decoder_sptr self) -> float"""
        return _rds_swig.decoder_sptr_pc_nproduced_var(self)

    def pc_input_buffers_full(self, *args) -> "std::vector< float,std::allocator< float > >":
        r"""
        pc_input_buffers_full(decoder_sptr self, int which) -> float
        pc_input_buffers_full(decoder_sptr self) -> pmt_vector_float
        """
        return _rds_swig.decoder_sptr_pc_input_buffers_full(self, *args)

    def pc_input_buffers_full_avg(self, *args) -> "std::vector< float,std::allocator< float > >":
        r"""
        pc_input_buffers_full_avg(decoder_sptr self, int which) -> float
        pc_input_buffers_full_avg(decoder_sptr self) -> pmt_vector_float
        """
        return _rds_swig.decoder_sptr_pc_input_buffers_full_avg(self, *args)

    def pc_input_buffers_full_var(self, *args) -> "std::vector< float,std::allocator< float > >":
        r"""
        pc_input_buffers_full_var(decoder_sptr self, int which) -> float
        pc_input_buffers_full_var(decoder_sptr self) -> pmt_vector_float
        """
        return _rds_swig.decoder_sptr_pc_input_buffers_full_var(self, *args)

    def pc_output_buffers_full(self, *args) -> "std::vector< float,std::allocator< float > >":
        r"""
        pc_output_buffers_full(decoder_sptr self, int which) -> float
        pc_output_buffers_full(decoder_sptr self) -> pmt_vector_float
        """
        return _rds_swig.decoder_sptr_pc_output_buffers_full(self, *args)

    def pc_output_buffers_full_avg(self, *args) -> "std::vector< float,std::allocator< float > >":
        r"""
        pc_output_buffers_full_avg(decoder_sptr self, int which) -> float
        pc_output_buffers_full_avg(decoder_sptr self) -> pmt_vector_float
        """
        return _rds_swig.decoder_sptr_pc_output_buffers_full_avg(self, *args)

    def pc_output_buffers_full_var(self, *args) -> "std::vector< float,std::allocator< float > >":
        r"""
        pc_output_buffers_full_var(decoder_sptr self, int which) -> float
        pc_output_buffers_full_var(decoder_sptr self) -> pmt_vector_float
        """
        return _rds_swig.decoder_sptr_pc_output_buffers_full_var(self, *args)

    def pc_work_time(self) -> "float":
        r"""pc_work_time(decoder_sptr self) -> float"""
        return _rds_swig.decoder_sptr_pc_work_time(self)

    def pc_work_time_avg(self) -> "float":
        r"""pc_work_time_avg(decoder_sptr self) -> float"""
        return _rds_swig.decoder_sptr_pc_work_time_avg(self)

    def pc_work_time_var(self) -> "float":
        r"""pc_work_time_var(decoder_sptr self) -> float"""
        return _rds_swig.decoder_sptr_pc_work_time_var(self)

    def pc_work_time_total(self) -> "float":
        r"""pc_work_time_total(decoder_sptr self) -> float"""
        return _rds_swig.decoder_sptr_pc_work_time_total(self)

    def pc_throughput_avg(self) -> "float":
        r"""pc_throughput_avg(decoder_sptr self) -> float"""
        return _rds_swig.decoder_sptr_pc_throughput_avg(self)

    def set_processor_affinity(self, mask: "std::vector< int,std::allocator< int > > const &") -> "void":
        r"""set_processor_affinity(decoder_sptr self, std::vector< int,std::allocator< int > > const & mask)"""
        return _rds_swig.decoder_sptr_set_processor_affinity(self, mask)

    def unset_processor_affinity(self) -> "void":
        r"""unset_processor_affinity(decoder_sptr self)"""
        return _rds_swig.decoder_sptr_unset_processor_affinity(self)

    def processor_affinity(self) -> "std::vector< int,std::allocator< int > >":
        r"""processor_affinity(decoder_sptr self) -> std::vector< int,std::allocator< int > >"""
        return _rds_swig.decoder_sptr_processor_affinity(self)

    def active_thread_priority(self) -> "int":
        r"""active_thread_priority(decoder_sptr self) -> int"""
        return _rds_swig.decoder_sptr_active_thread_priority(self)

    def thread_priority(self) -> "int":
        r"""thread_priority(decoder_sptr self) -> int"""
        return _rds_swig.decoder_sptr_thread_priority(self)

    def set_thread_priority(self, priority: "int") -> "int":
        r"""set_thread_priority(decoder_sptr self, int priority) -> int"""
        return _rds_swig.decoder_sptr_set_thread_priority(self, priority)

    def name(self) -> "std::string":
        r"""name(decoder_sptr self) -> std::string"""
        return _rds_swig.decoder_sptr_name(self)

    def symbol_name(self) -> "std::string":
        r"""symbol_name(decoder_sptr self) -> std::string"""
        return _rds_swig.decoder_sptr_symbol_name(self)

    def input_signature(self) -> "gr::io_signature::sptr":
        r"""input_signature(decoder_sptr self) -> io_signature_sptr"""
        return _rds_swig.decoder_sptr_input_signature(self)

    def output_signature(self) -> "gr::io_signature::sptr":
        r"""output_signature(decoder_sptr self) -> io_signature_sptr"""
        return _rds_swig.decoder_sptr_output_signature(self)

    def unique_id(self) -> "long":
        r"""unique_id(decoder_sptr self) -> long"""
        return _rds_swig.decoder_sptr_unique_id(self)

    def to_basic_block(self) -> "gr::basic_block_sptr":
        r"""to_basic_block(decoder_sptr self) -> basic_block_sptr"""
        return _rds_swig.decoder_sptr_to_basic_block(self)

    def check_topology(self, ninputs: "int", noutputs: "int") -> "bool":
        r"""check_topology(decoder_sptr self, int ninputs, int noutputs) -> bool"""
        return _rds_swig.decoder_sptr_check_topology(self, ninputs, noutputs)

    def alias(self) -> "std::string":
        r"""alias(decoder_sptr self) -> std::string"""
        return _rds_swig.decoder_sptr_alias(self)

    def set_block_alias(self, name: "std::string") -> "void":
        r"""set_block_alias(decoder_sptr self, std::string name)"""
        return _rds_swig.decoder_sptr_set_block_alias(self, name)

    def _post(self, which_port: "swig_pmt_ptr", msg: "swig_pmt_ptr") -> "void":
        r"""_post(decoder_sptr self, swig_pmt_ptr which_port, swig_pmt_ptr msg)"""
        return _rds_swig.decoder_sptr__post(self, which_port, msg)

    def message_ports_in(self) -> "pmt::pmt_t":
        r"""message_ports_in(decoder_sptr self) -> swig_pmt_ptr"""
        return _rds_swig.decoder_sptr_message_ports_in(self)

    def message_ports_out(self) -> "pmt::pmt_t":
        r"""message_ports_out(decoder_sptr self) -> swig_pmt_ptr"""
        return _rds_swig.decoder_sptr_message_ports_out(self)

    def message_subscribers(self, which_port: "swig_pmt_ptr") -> "pmt::pmt_t":
        r"""message_subscribers(decoder_sptr self, swig_pmt_ptr which_port) -> swig_pmt_ptr"""
        return _rds_swig.decoder_sptr_message_subscribers(self, which_port)

# Register decoder_sptr in _rds_swig:
_rds_swig.decoder_sptr_swigregister(decoder_sptr)

decoder_sptr.__repr__ = lambda self: "<gr_block %s (%d)>" % (self.name(), self.unique_id())
decoder = decoder.make;

class encoder_sptr(object):
    r"""Proxy of C++ boost::shared_ptr< gr::rds::encoder > class."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        __init__(encoder_sptr self) -> encoder_sptr
        __init__(encoder_sptr self, encoder p) -> encoder_sptr
        """
        _rds_swig.encoder_sptr_swiginit(self, _rds_swig.new_encoder_sptr(*args))

    def __deref__(self) -> "gr::rds::encoder *":
        r"""__deref__(encoder_sptr self) -> encoder"""
        return _rds_swig.encoder_sptr___deref__(self)
    __swig_destroy__ = _rds_swig.delete_encoder_sptr

    def make(self, pty_locale: "unsigned char", pty: "int", ms: "bool", ps: "std::string", af1: "double", tp: "bool", ta: "bool", pi_country_code: "int", pi_coverage_area: "int", pi_reference_number: "int", radiotext: "std::string") -> "gr::rds::encoder::sptr":
        r"""make(encoder_sptr self, unsigned char pty_locale, int pty, bool ms, std::string ps, double af1, bool tp, bool ta, int pi_country_code, int pi_coverage_area, int pi_reference_number, std::string radiotext) -> encoder_sptr"""
        return _rds_swig.encoder_sptr_make(self, pty_locale, pty, ms, ps, af1, tp, ta, pi_country_code, pi_coverage_area, pi_reference_number, radiotext)

    def set_ps(self, ps: "std::string") -> "void":
        r"""set_ps(encoder_sptr self, std::string ps)"""
        return _rds_swig.encoder_sptr_set_ps(self, ps)

    def history(self) -> "unsigned int":
        r"""history(encoder_sptr self) -> unsigned int"""
        return _rds_swig.encoder_sptr_history(self)

    def declare_sample_delay(self, *args) -> "void":
        r"""
        declare_sample_delay(encoder_sptr self, int which, int delay)
        declare_sample_delay(encoder_sptr self, unsigned int delay)
        """
        return _rds_swig.encoder_sptr_declare_sample_delay(self, *args)

    def sample_delay(self, which: "int") -> "unsigned int":
        r"""sample_delay(encoder_sptr self, int which) -> unsigned int"""
        return _rds_swig.encoder_sptr_sample_delay(self, which)

    def set_output_multiple(self, multiple: "int") -> "void":
        r"""set_output_multiple(encoder_sptr self, int multiple)"""
        return _rds_swig.encoder_sptr_set_output_multiple(self, multiple)

    def output_multiple(self) -> "int":
        r"""output_multiple(encoder_sptr self) -> int"""
        return _rds_swig.encoder_sptr_output_multiple(self)

    def relative_rate(self) -> "double":
        r"""relative_rate(encoder_sptr self) -> double"""
        return _rds_swig.encoder_sptr_relative_rate(self)

    def relative_rate_i(self) -> "uint64_t":
        r"""relative_rate_i(encoder_sptr self) -> uint64_t"""
        return _rds_swig.encoder_sptr_relative_rate_i(self)

    def relative_rate_d(self) -> "uint64_t":
        r"""relative_rate_d(encoder_sptr self) -> uint64_t"""
        return _rds_swig.encoder_sptr_relative_rate_d(self)

    def start(self) -> "bool":
        r"""start(encoder_sptr self) -> bool"""
        return _rds_swig.encoder_sptr_start(self)

    def stop(self) -> "bool":
        r"""stop(encoder_sptr self) -> bool"""
        return _rds_swig.encoder_sptr_stop(self)

    def nitems_read(self, which_input: "unsigned int") -> "uint64_t":
        r"""nitems_read(encoder_sptr self, unsigned int which_input) -> uint64_t"""
        return _rds_swig.encoder_sptr_nitems_read(self, which_input)

    def nitems_written(self, which_output: "unsigned int") -> "uint64_t":
        r"""nitems_written(encoder_sptr self, unsigned int which_output) -> uint64_t"""
        return _rds_swig.encoder_sptr_nitems_written(self, which_output)

    def set_log_level(self, level: "std::string") -> "void":
        r"""set_log_level(encoder_sptr self, std::string level)"""
        return _rds_swig.encoder_sptr_set_log_level(self, level)

    def log_level(self) -> "std::string":
        r"""log_level(encoder_sptr self) -> std::string"""
        return _rds_swig.encoder_sptr_log_level(self)

    def max_noutput_items(self) -> "int":
        r"""max_noutput_items(encoder_sptr self) -> int"""
        return _rds_swig.encoder_sptr_max_noutput_items(self)

    def set_max_noutput_items(self, m: "int") -> "void":
        r"""set_max_noutput_items(encoder_sptr self, int m)"""
        return _rds_swig.encoder_sptr_set_max_noutput_items(self, m)

    def unset_max_noutput_items(self) -> "void":
        r"""unset_max_noutput_items(encoder_sptr self)"""
        return _rds_swig.encoder_sptr_unset_max_noutput_items(self)

    def is_set_max_noutput_items(self) -> "bool":
        r"""is_set_max_noutput_items(encoder_sptr self) -> bool"""
        return _rds_swig.encoder_sptr_is_set_max_noutput_items(self)

    def set_min_noutput_items(self, m: "int") -> "void":
        r"""set_min_noutput_items(encoder_sptr self, int m)"""
        return _rds_swig.encoder_sptr_set_min_noutput_items(self, m)

    def min_noutput_items(self) -> "int":
        r"""min_noutput_items(encoder_sptr self) -> int"""
        return _rds_swig.encoder_sptr_min_noutput_items(self)

    def max_output_buffer(self, i: "int") -> "long":
        r"""max_output_buffer(encoder_sptr self, int i) -> long"""
        return _rds_swig.encoder_sptr_max_output_buffer(self, i)

    def set_max_output_buffer(self, *args) -> "void":
        r"""
        set_max_output_buffer(encoder_sptr self, long max_output_buffer)
        set_max_output_buffer(encoder_sptr self, int port, long max_output_buffer)
        """
        return _rds_swig.encoder_sptr_set_max_output_buffer(self, *args)

    def min_output_buffer(self, i: "int") -> "long":
        r"""min_output_buffer(encoder_sptr self, int i) -> long"""
        return _rds_swig.encoder_sptr_min_output_buffer(self, i)

    def set_min_output_buffer(self, *args) -> "void":
        r"""
        set_min_output_buffer(encoder_sptr self, long min_output_buffer)
        set_min_output_buffer(encoder_sptr self, int port, long min_output_buffer)
        """
        return _rds_swig.encoder_sptr_set_min_output_buffer(self, *args)

    def pc_noutput_items(self) -> "float":
        r"""pc_noutput_items(encoder_sptr self) -> float"""
        return _rds_swig.encoder_sptr_pc_noutput_items(self)

    def pc_noutput_items_avg(self) -> "float":
        r"""pc_noutput_items_avg(encoder_sptr self) -> float"""
        return _rds_swig.encoder_sptr_pc_noutput_items_avg(self)

    def pc_noutput_items_var(self) -> "float":
        r"""pc_noutput_items_var(encoder_sptr self) -> float"""
        return _rds_swig.encoder_sptr_pc_noutput_items_var(self)

    def pc_nproduced(self) -> "float":
        r"""pc_nproduced(encoder_sptr self) -> float"""
        return _rds_swig.encoder_sptr_pc_nproduced(self)

    def pc_nproduced_avg(self) -> "float":
        r"""pc_nproduced_avg(encoder_sptr self) -> float"""
        return _rds_swig.encoder_sptr_pc_nproduced_avg(self)

    def pc_nproduced_var(self) -> "float":
        r"""pc_nproduced_var(encoder_sptr self) -> float"""
        return _rds_swig.encoder_sptr_pc_nproduced_var(self)

    def pc_input_buffers_full(self, *args) -> "std::vector< float,std::allocator< float > >":
        r"""
        pc_input_buffers_full(encoder_sptr self, int which) -> float
        pc_input_buffers_full(encoder_sptr self) -> pmt_vector_float
        """
        return _rds_swig.encoder_sptr_pc_input_buffers_full(self, *args)

    def pc_input_buffers_full_avg(self, *args) -> "std::vector< float,std::allocator< float > >":
        r"""
        pc_input_buffers_full_avg(encoder_sptr self, int which) -> float
        pc_input_buffers_full_avg(encoder_sptr self) -> pmt_vector_float
        """
        return _rds_swig.encoder_sptr_pc_input_buffers_full_avg(self, *args)

    def pc_input_buffers_full_var(self, *args) -> "std::vector< float,std::allocator< float > >":
        r"""
        pc_input_buffers_full_var(encoder_sptr self, int which) -> float
        pc_input_buffers_full_var(encoder_sptr self) -> pmt_vector_float
        """
        return _rds_swig.encoder_sptr_pc_input_buffers_full_var(self, *args)

    def pc_output_buffers_full(self, *args) -> "std::vector< float,std::allocator< float > >":
        r"""
        pc_output_buffers_full(encoder_sptr self, int which) -> float
        pc_output_buffers_full(encoder_sptr self) -> pmt_vector_float
        """
        return _rds_swig.encoder_sptr_pc_output_buffers_full(self, *args)

    def pc_output_buffers_full_avg(self, *args) -> "std::vector< float,std::allocator< float > >":
        r"""
        pc_output_buffers_full_avg(encoder_sptr self, int which) -> float
        pc_output_buffers_full_avg(encoder_sptr self) -> pmt_vector_float
        """
        return _rds_swig.encoder_sptr_pc_output_buffers_full_avg(self, *args)

    def pc_output_buffers_full_var(self, *args) -> "std::vector< float,std::allocator< float > >":
        r"""
        pc_output_buffers_full_var(encoder_sptr self, int which) -> float
        pc_output_buffers_full_var(encoder_sptr self) -> pmt_vector_float
        """
        return _rds_swig.encoder_sptr_pc_output_buffers_full_var(self, *args)

    def pc_work_time(self) -> "float":
        r"""pc_work_time(encoder_sptr self) -> float"""
        return _rds_swig.encoder_sptr_pc_work_time(self)

    def pc_work_time_avg(self) -> "float":
        r"""pc_work_time_avg(encoder_sptr self) -> float"""
        return _rds_swig.encoder_sptr_pc_work_time_avg(self)

    def pc_work_time_var(self) -> "float":
        r"""pc_work_time_var(encoder_sptr self) -> float"""
        return _rds_swig.encoder_sptr_pc_work_time_var(self)

    def pc_work_time_total(self) -> "float":
        r"""pc_work_time_total(encoder_sptr self) -> float"""
        return _rds_swig.encoder_sptr_pc_work_time_total(self)

    def pc_throughput_avg(self) -> "float":
        r"""pc_throughput_avg(encoder_sptr self) -> float"""
        return _rds_swig.encoder_sptr_pc_throughput_avg(self)

    def set_processor_affinity(self, mask: "std::vector< int,std::allocator< int > > const &") -> "void":
        r"""set_processor_affinity(encoder_sptr self, std::vector< int,std::allocator< int > > const & mask)"""
        return _rds_swig.encoder_sptr_set_processor_affinity(self, mask)

    def unset_processor_affinity(self) -> "void":
        r"""unset_processor_affinity(encoder_sptr self)"""
        return _rds_swig.encoder_sptr_unset_processor_affinity(self)

    def processor_affinity(self) -> "std::vector< int,std::allocator< int > >":
        r"""processor_affinity(encoder_sptr self) -> std::vector< int,std::allocator< int > >"""
        return _rds_swig.encoder_sptr_processor_affinity(self)

    def active_thread_priority(self) -> "int":
        r"""active_thread_priority(encoder_sptr self) -> int"""
        return _rds_swig.encoder_sptr_active_thread_priority(self)

    def thread_priority(self) -> "int":
        r"""thread_priority(encoder_sptr self) -> int"""
        return _rds_swig.encoder_sptr_thread_priority(self)

    def set_thread_priority(self, priority: "int") -> "int":
        r"""set_thread_priority(encoder_sptr self, int priority) -> int"""
        return _rds_swig.encoder_sptr_set_thread_priority(self, priority)

    def name(self) -> "std::string":
        r"""name(encoder_sptr self) -> std::string"""
        return _rds_swig.encoder_sptr_name(self)

    def symbol_name(self) -> "std::string":
        r"""symbol_name(encoder_sptr self) -> std::string"""
        return _rds_swig.encoder_sptr_symbol_name(self)

    def input_signature(self) -> "gr::io_signature::sptr":
        r"""input_signature(encoder_sptr self) -> io_signature_sptr"""
        return _rds_swig.encoder_sptr_input_signature(self)

    def output_signature(self) -> "gr::io_signature::sptr":
        r"""output_signature(encoder_sptr self) -> io_signature_sptr"""
        return _rds_swig.encoder_sptr_output_signature(self)

    def unique_id(self) -> "long":
        r"""unique_id(encoder_sptr self) -> long"""
        return _rds_swig.encoder_sptr_unique_id(self)

    def to_basic_block(self) -> "gr::basic_block_sptr":
        r"""to_basic_block(encoder_sptr self) -> basic_block_sptr"""
        return _rds_swig.encoder_sptr_to_basic_block(self)

    def check_topology(self, ninputs: "int", noutputs: "int") -> "bool":
        r"""check_topology(encoder_sptr self, int ninputs, int noutputs) -> bool"""
        return _rds_swig.encoder_sptr_check_topology(self, ninputs, noutputs)

    def alias(self) -> "std::string":
        r"""alias(encoder_sptr self) -> std::string"""
        return _rds_swig.encoder_sptr_alias(self)

    def set_block_alias(self, name: "std::string") -> "void":
        r"""set_block_alias(encoder_sptr self, std::string name)"""
        return _rds_swig.encoder_sptr_set_block_alias(self, name)

    def _post(self, which_port: "swig_pmt_ptr", msg: "swig_pmt_ptr") -> "void":
        r"""_post(encoder_sptr self, swig_pmt_ptr which_port, swig_pmt_ptr msg)"""
        return _rds_swig.encoder_sptr__post(self, which_port, msg)

    def message_ports_in(self) -> "pmt::pmt_t":
        r"""message_ports_in(encoder_sptr self) -> swig_pmt_ptr"""
        return _rds_swig.encoder_sptr_message_ports_in(self)

    def message_ports_out(self) -> "pmt::pmt_t":
        r"""message_ports_out(encoder_sptr self) -> swig_pmt_ptr"""
        return _rds_swig.encoder_sptr_message_ports_out(self)

    def message_subscribers(self, which_port: "swig_pmt_ptr") -> "pmt::pmt_t":
        r"""message_subscribers(encoder_sptr self, swig_pmt_ptr which_port) -> swig_pmt_ptr"""
        return _rds_swig.encoder_sptr_message_subscribers(self, which_port)

# Register encoder_sptr in _rds_swig:
_rds_swig.encoder_sptr_swigregister(encoder_sptr)

encoder_sptr.__repr__ = lambda self: "<gr_block %s (%d)>" % (self.name(), self.unique_id())
encoder = encoder.make;

class parser_sptr(object):
    r"""Proxy of C++ boost::shared_ptr< gr::rds::parser > class."""

    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def __init__(self, *args):
        r"""
        __init__(parser_sptr self) -> parser_sptr
        __init__(parser_sptr self, parser p) -> parser_sptr
        """
        _rds_swig.parser_sptr_swiginit(self, _rds_swig.new_parser_sptr(*args))

    def __deref__(self) -> "gr::rds::parser *":
        r"""__deref__(parser_sptr self) -> parser"""
        return _rds_swig.parser_sptr___deref__(self)
    __swig_destroy__ = _rds_swig.delete_parser_sptr

    def make(self, log: "bool", debug: "bool", pty_locale: "unsigned char") -> "gr::rds::parser::sptr":
        r"""make(parser_sptr self, bool log, bool debug, unsigned char pty_locale) -> parser_sptr"""
        return _rds_swig.parser_sptr_make(self, log, debug, pty_locale)

    def reset(self) -> "void":
        r"""reset(parser_sptr self)"""
        return _rds_swig.parser_sptr_reset(self)

    def history(self) -> "unsigned int":
        r"""history(parser_sptr self) -> unsigned int"""
        return _rds_swig.parser_sptr_history(self)

    def declare_sample_delay(self, *args) -> "void":
        r"""
        declare_sample_delay(parser_sptr self, int which, int delay)
        declare_sample_delay(parser_sptr self, unsigned int delay)
        """
        return _rds_swig.parser_sptr_declare_sample_delay(self, *args)

    def sample_delay(self, which: "int") -> "unsigned int":
        r"""sample_delay(parser_sptr self, int which) -> unsigned int"""
        return _rds_swig.parser_sptr_sample_delay(self, which)

    def set_output_multiple(self, multiple: "int") -> "void":
        r"""set_output_multiple(parser_sptr self, int multiple)"""
        return _rds_swig.parser_sptr_set_output_multiple(self, multiple)

    def output_multiple(self) -> "int":
        r"""output_multiple(parser_sptr self) -> int"""
        return _rds_swig.parser_sptr_output_multiple(self)

    def relative_rate(self) -> "double":
        r"""relative_rate(parser_sptr self) -> double"""
        return _rds_swig.parser_sptr_relative_rate(self)

    def relative_rate_i(self) -> "uint64_t":
        r"""relative_rate_i(parser_sptr self) -> uint64_t"""
        return _rds_swig.parser_sptr_relative_rate_i(self)

    def relative_rate_d(self) -> "uint64_t":
        r"""relative_rate_d(parser_sptr self) -> uint64_t"""
        return _rds_swig.parser_sptr_relative_rate_d(self)

    def start(self) -> "bool":
        r"""start(parser_sptr self) -> bool"""
        return _rds_swig.parser_sptr_start(self)

    def stop(self) -> "bool":
        r"""stop(parser_sptr self) -> bool"""
        return _rds_swig.parser_sptr_stop(self)

    def nitems_read(self, which_input: "unsigned int") -> "uint64_t":
        r"""nitems_read(parser_sptr self, unsigned int which_input) -> uint64_t"""
        return _rds_swig.parser_sptr_nitems_read(self, which_input)

    def nitems_written(self, which_output: "unsigned int") -> "uint64_t":
        r"""nitems_written(parser_sptr self, unsigned int which_output) -> uint64_t"""
        return _rds_swig.parser_sptr_nitems_written(self, which_output)

    def set_log_level(self, level: "std::string") -> "void":
        r"""set_log_level(parser_sptr self, std::string level)"""
        return _rds_swig.parser_sptr_set_log_level(self, level)

    def log_level(self) -> "std::string":
        r"""log_level(parser_sptr self) -> std::string"""
        return _rds_swig.parser_sptr_log_level(self)

    def max_noutput_items(self) -> "int":
        r"""max_noutput_items(parser_sptr self) -> int"""
        return _rds_swig.parser_sptr_max_noutput_items(self)

    def set_max_noutput_items(self, m: "int") -> "void":
        r"""set_max_noutput_items(parser_sptr self, int m)"""
        return _rds_swig.parser_sptr_set_max_noutput_items(self, m)

    def unset_max_noutput_items(self) -> "void":
        r"""unset_max_noutput_items(parser_sptr self)"""
        return _rds_swig.parser_sptr_unset_max_noutput_items(self)

    def is_set_max_noutput_items(self) -> "bool":
        r"""is_set_max_noutput_items(parser_sptr self) -> bool"""
        return _rds_swig.parser_sptr_is_set_max_noutput_items(self)

    def set_min_noutput_items(self, m: "int") -> "void":
        r"""set_min_noutput_items(parser_sptr self, int m)"""
        return _rds_swig.parser_sptr_set_min_noutput_items(self, m)

    def min_noutput_items(self) -> "int":
        r"""min_noutput_items(parser_sptr self) -> int"""
        return _rds_swig.parser_sptr_min_noutput_items(self)

    def max_output_buffer(self, i: "int") -> "long":
        r"""max_output_buffer(parser_sptr self, int i) -> long"""
        return _rds_swig.parser_sptr_max_output_buffer(self, i)

    def set_max_output_buffer(self, *args) -> "void":
        r"""
        set_max_output_buffer(parser_sptr self, long max_output_buffer)
        set_max_output_buffer(parser_sptr self, int port, long max_output_buffer)
        """
        return _rds_swig.parser_sptr_set_max_output_buffer(self, *args)

    def min_output_buffer(self, i: "int") -> "long":
        r"""min_output_buffer(parser_sptr self, int i) -> long"""
        return _rds_swig.parser_sptr_min_output_buffer(self, i)

    def set_min_output_buffer(self, *args) -> "void":
        r"""
        set_min_output_buffer(parser_sptr self, long min_output_buffer)
        set_min_output_buffer(parser_sptr self, int port, long min_output_buffer)
        """
        return _rds_swig.parser_sptr_set_min_output_buffer(self, *args)

    def pc_noutput_items(self) -> "float":
        r"""pc_noutput_items(parser_sptr self) -> float"""
        return _rds_swig.parser_sptr_pc_noutput_items(self)

    def pc_noutput_items_avg(self) -> "float":
        r"""pc_noutput_items_avg(parser_sptr self) -> float"""
        return _rds_swig.parser_sptr_pc_noutput_items_avg(self)

    def pc_noutput_items_var(self) -> "float":
        r"""pc_noutput_items_var(parser_sptr self) -> float"""
        return _rds_swig.parser_sptr_pc_noutput_items_var(self)

    def pc_nproduced(self) -> "float":
        r"""pc_nproduced(parser_sptr self) -> float"""
        return _rds_swig.parser_sptr_pc_nproduced(self)

    def pc_nproduced_avg(self) -> "float":
        r"""pc_nproduced_avg(parser_sptr self) -> float"""
        return _rds_swig.parser_sptr_pc_nproduced_avg(self)

    def pc_nproduced_var(self) -> "float":
        r"""pc_nproduced_var(parser_sptr self) -> float"""
        return _rds_swig.parser_sptr_pc_nproduced_var(self)

    def pc_input_buffers_full(self, *args) -> "std::vector< float,std::allocator< float > >":
        r"""
        pc_input_buffers_full(parser_sptr self, int which) -> float
        pc_input_buffers_full(parser_sptr self) -> pmt_vector_float
        """
        return _rds_swig.parser_sptr_pc_input_buffers_full(self, *args)

    def pc_input_buffers_full_avg(self, *args) -> "std::vector< float,std::allocator< float > >":
        r"""
        pc_input_buffers_full_avg(parser_sptr self, int which) -> float
        pc_input_buffers_full_avg(parser_sptr self) -> pmt_vector_float
        """
        return _rds_swig.parser_sptr_pc_input_buffers_full_avg(self, *args)

    def pc_input_buffers_full_var(self, *args) -> "std::vector< float,std::allocator< float > >":
        r"""
        pc_input_buffers_full_var(parser_sptr self, int which) -> float
        pc_input_buffers_full_var(parser_sptr self) -> pmt_vector_float
        """
        return _rds_swig.parser_sptr_pc_input_buffers_full_var(self, *args)

    def pc_output_buffers_full(self, *args) -> "std::vector< float,std::allocator< float > >":
        r"""
        pc_output_buffers_full(parser_sptr self, int which) -> float
        pc_output_buffers_full(parser_sptr self) -> pmt_vector_float
        """
        return _rds_swig.parser_sptr_pc_output_buffers_full(self, *args)

    def pc_output_buffers_full_avg(self, *args) -> "std::vector< float,std::allocator< float > >":
        r"""
        pc_output_buffers_full_avg(parser_sptr self, int which) -> float
        pc_output_buffers_full_avg(parser_sptr self) -> pmt_vector_float
        """
        return _rds_swig.parser_sptr_pc_output_buffers_full_avg(self, *args)

    def pc_output_buffers_full_var(self, *args) -> "std::vector< float,std::allocator< float > >":
        r"""
        pc_output_buffers_full_var(parser_sptr self, int which) -> float
        pc_output_buffers_full_var(parser_sptr self) -> pmt_vector_float
        """
        return _rds_swig.parser_sptr_pc_output_buffers_full_var(self, *args)

    def pc_work_time(self) -> "float":
        r"""pc_work_time(parser_sptr self) -> float"""
        return _rds_swig.parser_sptr_pc_work_time(self)

    def pc_work_time_avg(self) -> "float":
        r"""pc_work_time_avg(parser_sptr self) -> float"""
        return _rds_swig.parser_sptr_pc_work_time_avg(self)

    def pc_work_time_var(self) -> "float":
        r"""pc_work_time_var(parser_sptr self) -> float"""
        return _rds_swig.parser_sptr_pc_work_time_var(self)

    def pc_work_time_total(self) -> "float":
        r"""pc_work_time_total(parser_sptr self) -> float"""
        return _rds_swig.parser_sptr_pc_work_time_total(self)

    def pc_throughput_avg(self) -> "float":
        r"""pc_throughput_avg(parser_sptr self) -> float"""
        return _rds_swig.parser_sptr_pc_throughput_avg(self)

    def set_processor_affinity(self, mask: "std::vector< int,std::allocator< int > > const &") -> "void":
        r"""set_processor_affinity(parser_sptr self, std::vector< int,std::allocator< int > > const & mask)"""
        return _rds_swig.parser_sptr_set_processor_affinity(self, mask)

    def unset_processor_affinity(self) -> "void":
        r"""unset_processor_affinity(parser_sptr self)"""
        return _rds_swig.parser_sptr_unset_processor_affinity(self)

    def processor_affinity(self) -> "std::vector< int,std::allocator< int > >":
        r"""processor_affinity(parser_sptr self) -> std::vector< int,std::allocator< int > >"""
        return _rds_swig.parser_sptr_processor_affinity(self)

    def active_thread_priority(self) -> "int":
        r"""active_thread_priority(parser_sptr self) -> int"""
        return _rds_swig.parser_sptr_active_thread_priority(self)

    def thread_priority(self) -> "int":
        r"""thread_priority(parser_sptr self) -> int"""
        return _rds_swig.parser_sptr_thread_priority(self)

    def set_thread_priority(self, priority: "int") -> "int":
        r"""set_thread_priority(parser_sptr self, int priority) -> int"""
        return _rds_swig.parser_sptr_set_thread_priority(self, priority)

    def name(self) -> "std::string":
        r"""name(parser_sptr self) -> std::string"""
        return _rds_swig.parser_sptr_name(self)

    def symbol_name(self) -> "std::string":
        r"""symbol_name(parser_sptr self) -> std::string"""
        return _rds_swig.parser_sptr_symbol_name(self)

    def input_signature(self) -> "gr::io_signature::sptr":
        r"""input_signature(parser_sptr self) -> io_signature_sptr"""
        return _rds_swig.parser_sptr_input_signature(self)

    def output_signature(self) -> "gr::io_signature::sptr":
        r"""output_signature(parser_sptr self) -> io_signature_sptr"""
        return _rds_swig.parser_sptr_output_signature(self)

    def unique_id(self) -> "long":
        r"""unique_id(parser_sptr self) -> long"""
        return _rds_swig.parser_sptr_unique_id(self)

    def to_basic_block(self) -> "gr::basic_block_sptr":
        r"""to_basic_block(parser_sptr self) -> basic_block_sptr"""
        return _rds_swig.parser_sptr_to_basic_block(self)

    def check_topology(self, ninputs: "int", noutputs: "int") -> "bool":
        r"""check_topology(parser_sptr self, int ninputs, int noutputs) -> bool"""
        return _rds_swig.parser_sptr_check_topology(self, ninputs, noutputs)

    def alias(self) -> "std::string":
        r"""alias(parser_sptr self) -> std::string"""
        return _rds_swig.parser_sptr_alias(self)

    def set_block_alias(self, name: "std::string") -> "void":
        r"""set_block_alias(parser_sptr self, std::string name)"""
        return _rds_swig.parser_sptr_set_block_alias(self, name)

    def _post(self, which_port: "swig_pmt_ptr", msg: "swig_pmt_ptr") -> "void":
        r"""_post(parser_sptr self, swig_pmt_ptr which_port, swig_pmt_ptr msg)"""
        return _rds_swig.parser_sptr__post(self, which_port, msg)

    def message_ports_in(self) -> "pmt::pmt_t":
        r"""message_ports_in(parser_sptr self) -> swig_pmt_ptr"""
        return _rds_swig.parser_sptr_message_ports_in(self)

    def message_ports_out(self) -> "pmt::pmt_t":
        r"""message_ports_out(parser_sptr self) -> swig_pmt_ptr"""
        return _rds_swig.parser_sptr_message_ports_out(self)

    def message_subscribers(self, which_port: "swig_pmt_ptr") -> "pmt::pmt_t":
        r"""message_subscribers(parser_sptr self, swig_pmt_ptr which_port) -> swig_pmt_ptr"""
        return _rds_swig.parser_sptr_message_subscribers(self, which_port)

# Register parser_sptr in _rds_swig:
_rds_swig.parser_sptr_swigregister(parser_sptr)

parser_sptr.__repr__ = lambda self: "<gr_block %s (%d)>" % (self.name(), self.unique_id())
parser = parser.make;


