# This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.12
#
# 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
if _swig_python_version_info >= (2, 7, 0):
    def swig_import_helper():
        import importlib
        pkg = __name__.rpartition('.')[0]
        mname = '.'.join((pkg, '_iqbalance_swig')).lstrip('.')
        try:
            return importlib.import_module(mname)
        except ImportError:
            return importlib.import_module('_iqbalance_swig')
    _iqbalance_swig = swig_import_helper()
    del swig_import_helper
elif _swig_python_version_info >= (2, 6, 0):
    def swig_import_helper():
        from os.path import dirname
        import imp
        fp = None
        try:
            fp, pathname, description = imp.find_module('_iqbalance_swig', [dirname(__file__)])
        except ImportError:
            import _iqbalance_swig
            return _iqbalance_swig
        try:
            _mod = imp.load_module('_iqbalance_swig', fp, pathname, description)
        finally:
            if fp is not None:
                fp.close()
        return _mod
    _iqbalance_swig = swig_import_helper()
    del swig_import_helper
else:
    import _iqbalance_swig
del _swig_python_version_info

try:
    _swig_property = property
except NameError:
    pass  # Python < 2.2 doesn't have 'property'.

try:
    import builtins as __builtin__
except ImportError:
    import __builtin__

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__ == 'SwigPyObject':
            self.__dict__[name] = value
            return
    method = class_type.__swig_setmethods__.get(name, None)
    if method:
        return method(self, value)
    if (not static):
        object.__setattr__(self, 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("'%s' object has no attribute '%s'" % (class_type.__name__, name))


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_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



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

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

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

def high_res_timer_epoch():
    """high_res_timer_epoch() -> gr::high_res_timer_type"""
    return _iqbalance_swig.high_res_timer_epoch()
class fix_cc(object):
    """Proxy of C++ gr::iqbalance::fix_cc class."""

    thisown = _swig_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

    def make(mag=0.0, phase=0.0):
        """make(float mag=0.0, float phase=0.0) -> fix_cc_sptr"""
        return _iqbalance_swig.fix_cc_make(mag, phase)

    make = staticmethod(make)
    __swig_destroy__ = _iqbalance_swig.delete_fix_cc
    __del__ = lambda self: None

    def set_mag(self, mag):
        """set_mag(fix_cc self, float mag)"""
        return _iqbalance_swig.fix_cc_set_mag(self, mag)


    def set_phase(self, phase):
        """set_phase(fix_cc self, float phase)"""
        return _iqbalance_swig.fix_cc_set_phase(self, phase)


    def mag(self):
        """mag(fix_cc self) -> float"""
        return _iqbalance_swig.fix_cc_mag(self)


    def phase(self):
        """phase(fix_cc self) -> float"""
        return _iqbalance_swig.fix_cc_phase(self)


    def apply_new_corrections(self, msg):
        """apply_new_corrections(fix_cc self, swig_int_ptr msg)"""
        return _iqbalance_swig.fix_cc_apply_new_corrections(self, msg)


    def work(self, noutput_items, input_items, output_items):
        """work(fix_cc self, int noutput_items, gr_vector_const_void_star & input_items, gr_vector_void_star & output_items) -> int"""
        return _iqbalance_swig.fix_cc_work(self, noutput_items, input_items, output_items)

fix_cc_swigregister = _iqbalance_swig.fix_cc_swigregister
fix_cc_swigregister(fix_cc)

def fix_cc_make(mag=0.0, phase=0.0):
    """fix_cc_make(float mag=0.0, float phase=0.0) -> fix_cc_sptr"""
    return _iqbalance_swig.fix_cc_make(mag, phase)

class fix_cc_sptr(object):
    """Proxy of C++ boost::shared_ptr<(gr::iqbalance::fix_cc)> 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__(boost::shared_ptr<(gr::iqbalance::fix_cc)> self) -> fix_cc_sptr
        __init__(boost::shared_ptr<(gr::iqbalance::fix_cc)> self, fix_cc p) -> fix_cc_sptr
        """
        this = _iqbalance_swig.new_fix_cc_sptr(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    def __deref__(self):
        """__deref__(fix_cc_sptr self) -> fix_cc"""
        return _iqbalance_swig.fix_cc_sptr___deref__(self)

    __swig_destroy__ = _iqbalance_swig.delete_fix_cc_sptr
    __del__ = lambda self: None

    def make(self, mag=0.0, phase=0.0):
        """make(fix_cc_sptr self, float mag=0.0, float phase=0.0) -> fix_cc_sptr"""
        return _iqbalance_swig.fix_cc_sptr_make(self, mag, phase)


    def set_mag(self, mag):
        """set_mag(fix_cc_sptr self, float mag)"""
        return _iqbalance_swig.fix_cc_sptr_set_mag(self, mag)


    def set_phase(self, phase):
        """set_phase(fix_cc_sptr self, float phase)"""
        return _iqbalance_swig.fix_cc_sptr_set_phase(self, phase)


    def mag(self):
        """mag(fix_cc_sptr self) -> float"""
        return _iqbalance_swig.fix_cc_sptr_mag(self)


    def phase(self):
        """phase(fix_cc_sptr self) -> float"""
        return _iqbalance_swig.fix_cc_sptr_phase(self)


    def apply_new_corrections(self, msg):
        """apply_new_corrections(fix_cc_sptr self, swig_int_ptr msg)"""
        return _iqbalance_swig.fix_cc_sptr_apply_new_corrections(self, msg)


    def work(self, noutput_items, input_items, output_items):
        """work(fix_cc_sptr self, int noutput_items, gr_vector_const_void_star & input_items, gr_vector_void_star & output_items) -> int"""
        return _iqbalance_swig.fix_cc_sptr_work(self, noutput_items, input_items, output_items)


    def history(self):
        """history(fix_cc_sptr self) -> unsigned int"""
        return _iqbalance_swig.fix_cc_sptr_history(self)


    def declare_sample_delay(self, *args):
        """
        declare_sample_delay(fix_cc_sptr self, int which, int delay)
        declare_sample_delay(fix_cc_sptr self, unsigned int delay)
        """
        return _iqbalance_swig.fix_cc_sptr_declare_sample_delay(self, *args)


    def sample_delay(self, which):
        """sample_delay(fix_cc_sptr self, int which) -> unsigned int"""
        return _iqbalance_swig.fix_cc_sptr_sample_delay(self, which)


    def output_multiple(self):
        """output_multiple(fix_cc_sptr self) -> int"""
        return _iqbalance_swig.fix_cc_sptr_output_multiple(self)


    def relative_rate(self):
        """relative_rate(fix_cc_sptr self) -> double"""
        return _iqbalance_swig.fix_cc_sptr_relative_rate(self)


    def start(self):
        """start(fix_cc_sptr self) -> bool"""
        return _iqbalance_swig.fix_cc_sptr_start(self)


    def stop(self):
        """stop(fix_cc_sptr self) -> bool"""
        return _iqbalance_swig.fix_cc_sptr_stop(self)


    def nitems_read(self, which_input):
        """nitems_read(fix_cc_sptr self, unsigned int which_input) -> uint64_t"""
        return _iqbalance_swig.fix_cc_sptr_nitems_read(self, which_input)


    def nitems_written(self, which_output):
        """nitems_written(fix_cc_sptr self, unsigned int which_output) -> uint64_t"""
        return _iqbalance_swig.fix_cc_sptr_nitems_written(self, which_output)


    def max_noutput_items(self):
        """max_noutput_items(fix_cc_sptr self) -> int"""
        return _iqbalance_swig.fix_cc_sptr_max_noutput_items(self)


    def set_max_noutput_items(self, m):
        """set_max_noutput_items(fix_cc_sptr self, int m)"""
        return _iqbalance_swig.fix_cc_sptr_set_max_noutput_items(self, m)


    def unset_max_noutput_items(self):
        """unset_max_noutput_items(fix_cc_sptr self)"""
        return _iqbalance_swig.fix_cc_sptr_unset_max_noutput_items(self)


    def is_set_max_noutput_items(self):
        """is_set_max_noutput_items(fix_cc_sptr self) -> bool"""
        return _iqbalance_swig.fix_cc_sptr_is_set_max_noutput_items(self)


    def set_min_noutput_items(self, m):
        """set_min_noutput_items(fix_cc_sptr self, int m)"""
        return _iqbalance_swig.fix_cc_sptr_set_min_noutput_items(self, m)


    def min_noutput_items(self):
        """min_noutput_items(fix_cc_sptr self) -> int"""
        return _iqbalance_swig.fix_cc_sptr_min_noutput_items(self)


    def max_output_buffer(self, i):
        """max_output_buffer(fix_cc_sptr self, int i) -> long"""
        return _iqbalance_swig.fix_cc_sptr_max_output_buffer(self, i)


    def set_max_output_buffer(self, *args):
        """
        set_max_output_buffer(fix_cc_sptr self, long max_output_buffer)
        set_max_output_buffer(fix_cc_sptr self, int port, long max_output_buffer)
        """
        return _iqbalance_swig.fix_cc_sptr_set_max_output_buffer(self, *args)


    def min_output_buffer(self, i):
        """min_output_buffer(fix_cc_sptr self, int i) -> long"""
        return _iqbalance_swig.fix_cc_sptr_min_output_buffer(self, i)


    def set_min_output_buffer(self, *args):
        """
        set_min_output_buffer(fix_cc_sptr self, long min_output_buffer)
        set_min_output_buffer(fix_cc_sptr self, int port, long min_output_buffer)
        """
        return _iqbalance_swig.fix_cc_sptr_set_min_output_buffer(self, *args)


    def pc_noutput_items(self):
        """pc_noutput_items(fix_cc_sptr self) -> float"""
        return _iqbalance_swig.fix_cc_sptr_pc_noutput_items(self)


    def pc_noutput_items_avg(self):
        """pc_noutput_items_avg(fix_cc_sptr self) -> float"""
        return _iqbalance_swig.fix_cc_sptr_pc_noutput_items_avg(self)


    def pc_noutput_items_var(self):
        """pc_noutput_items_var(fix_cc_sptr self) -> float"""
        return _iqbalance_swig.fix_cc_sptr_pc_noutput_items_var(self)


    def pc_nproduced(self):
        """pc_nproduced(fix_cc_sptr self) -> float"""
        return _iqbalance_swig.fix_cc_sptr_pc_nproduced(self)


    def pc_nproduced_avg(self):
        """pc_nproduced_avg(fix_cc_sptr self) -> float"""
        return _iqbalance_swig.fix_cc_sptr_pc_nproduced_avg(self)


    def pc_nproduced_var(self):
        """pc_nproduced_var(fix_cc_sptr self) -> float"""
        return _iqbalance_swig.fix_cc_sptr_pc_nproduced_var(self)


    def pc_input_buffers_full(self, *args):
        """
        pc_input_buffers_full(fix_cc_sptr self, int which) -> float
        pc_input_buffers_full(fix_cc_sptr self) -> pmt_vector_float
        """
        return _iqbalance_swig.fix_cc_sptr_pc_input_buffers_full(self, *args)


    def pc_input_buffers_full_avg(self, *args):
        """
        pc_input_buffers_full_avg(fix_cc_sptr self, int which) -> float
        pc_input_buffers_full_avg(fix_cc_sptr self) -> pmt_vector_float
        """
        return _iqbalance_swig.fix_cc_sptr_pc_input_buffers_full_avg(self, *args)


    def pc_input_buffers_full_var(self, *args):
        """
        pc_input_buffers_full_var(fix_cc_sptr self, int which) -> float
        pc_input_buffers_full_var(fix_cc_sptr self) -> pmt_vector_float
        """
        return _iqbalance_swig.fix_cc_sptr_pc_input_buffers_full_var(self, *args)


    def pc_output_buffers_full(self, *args):
        """
        pc_output_buffers_full(fix_cc_sptr self, int which) -> float
        pc_output_buffers_full(fix_cc_sptr self) -> pmt_vector_float
        """
        return _iqbalance_swig.fix_cc_sptr_pc_output_buffers_full(self, *args)


    def pc_output_buffers_full_avg(self, *args):
        """
        pc_output_buffers_full_avg(fix_cc_sptr self, int which) -> float
        pc_output_buffers_full_avg(fix_cc_sptr self) -> pmt_vector_float
        """
        return _iqbalance_swig.fix_cc_sptr_pc_output_buffers_full_avg(self, *args)


    def pc_output_buffers_full_var(self, *args):
        """
        pc_output_buffers_full_var(fix_cc_sptr self, int which) -> float
        pc_output_buffers_full_var(fix_cc_sptr self) -> pmt_vector_float
        """
        return _iqbalance_swig.fix_cc_sptr_pc_output_buffers_full_var(self, *args)


    def pc_work_time(self):
        """pc_work_time(fix_cc_sptr self) -> float"""
        return _iqbalance_swig.fix_cc_sptr_pc_work_time(self)


    def pc_work_time_avg(self):
        """pc_work_time_avg(fix_cc_sptr self) -> float"""
        return _iqbalance_swig.fix_cc_sptr_pc_work_time_avg(self)


    def pc_work_time_var(self):
        """pc_work_time_var(fix_cc_sptr self) -> float"""
        return _iqbalance_swig.fix_cc_sptr_pc_work_time_var(self)


    def pc_work_time_total(self):
        """pc_work_time_total(fix_cc_sptr self) -> float"""
        return _iqbalance_swig.fix_cc_sptr_pc_work_time_total(self)


    def pc_throughput_avg(self):
        """pc_throughput_avg(fix_cc_sptr self) -> float"""
        return _iqbalance_swig.fix_cc_sptr_pc_throughput_avg(self)


    def set_processor_affinity(self, mask):
        """set_processor_affinity(fix_cc_sptr self, std::vector< int,std::allocator< int > > const & mask)"""
        return _iqbalance_swig.fix_cc_sptr_set_processor_affinity(self, mask)


    def unset_processor_affinity(self):
        """unset_processor_affinity(fix_cc_sptr self)"""
        return _iqbalance_swig.fix_cc_sptr_unset_processor_affinity(self)


    def processor_affinity(self):
        """processor_affinity(fix_cc_sptr self) -> std::vector< int,std::allocator< int > >"""
        return _iqbalance_swig.fix_cc_sptr_processor_affinity(self)


    def active_thread_priority(self):
        """active_thread_priority(fix_cc_sptr self) -> int"""
        return _iqbalance_swig.fix_cc_sptr_active_thread_priority(self)


    def thread_priority(self):
        """thread_priority(fix_cc_sptr self) -> int"""
        return _iqbalance_swig.fix_cc_sptr_thread_priority(self)


    def set_thread_priority(self, priority):
        """set_thread_priority(fix_cc_sptr self, int priority) -> int"""
        return _iqbalance_swig.fix_cc_sptr_set_thread_priority(self, priority)


    def name(self):
        """name(fix_cc_sptr self) -> std::string"""
        return _iqbalance_swig.fix_cc_sptr_name(self)


    def symbol_name(self):
        """symbol_name(fix_cc_sptr self) -> std::string"""
        return _iqbalance_swig.fix_cc_sptr_symbol_name(self)


    def input_signature(self):
        """input_signature(fix_cc_sptr self) -> io_signature_sptr"""
        return _iqbalance_swig.fix_cc_sptr_input_signature(self)


    def output_signature(self):
        """output_signature(fix_cc_sptr self) -> io_signature_sptr"""
        return _iqbalance_swig.fix_cc_sptr_output_signature(self)


    def unique_id(self):
        """unique_id(fix_cc_sptr self) -> long"""
        return _iqbalance_swig.fix_cc_sptr_unique_id(self)


    def to_basic_block(self):
        """to_basic_block(fix_cc_sptr self) -> basic_block_sptr"""
        return _iqbalance_swig.fix_cc_sptr_to_basic_block(self)


    def check_topology(self, ninputs, noutputs):
        """check_topology(fix_cc_sptr self, int ninputs, int noutputs) -> bool"""
        return _iqbalance_swig.fix_cc_sptr_check_topology(self, ninputs, noutputs)


    def alias(self):
        """alias(fix_cc_sptr self) -> std::string"""
        return _iqbalance_swig.fix_cc_sptr_alias(self)


    def set_block_alias(self, name):
        """set_block_alias(fix_cc_sptr self, std::string name)"""
        return _iqbalance_swig.fix_cc_sptr_set_block_alias(self, name)


    def _post(self, which_port, msg):
        """_post(fix_cc_sptr self, swig_int_ptr which_port, swig_int_ptr msg)"""
        return _iqbalance_swig.fix_cc_sptr__post(self, which_port, msg)


    def message_ports_in(self):
        """message_ports_in(fix_cc_sptr self) -> swig_int_ptr"""
        return _iqbalance_swig.fix_cc_sptr_message_ports_in(self)


    def message_ports_out(self):
        """message_ports_out(fix_cc_sptr self) -> swig_int_ptr"""
        return _iqbalance_swig.fix_cc_sptr_message_ports_out(self)


    def message_subscribers(self, which_port):
        """message_subscribers(fix_cc_sptr self, swig_int_ptr which_port) -> swig_int_ptr"""
        return _iqbalance_swig.fix_cc_sptr_message_subscribers(self, which_port)

fix_cc_sptr_swigregister = _iqbalance_swig.fix_cc_sptr_swigregister
fix_cc_sptr_swigregister(fix_cc_sptr)


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

class optimize_c(object):
    """Proxy of C++ gr::iqbalance::optimize_c class."""

    thisown = _swig_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

    def make(period=0):
        """make(int period=0) -> optimize_c_sptr"""
        return _iqbalance_swig.optimize_c_make(period)

    make = staticmethod(make)
    __swig_destroy__ = _iqbalance_swig.delete_optimize_c
    __del__ = lambda self: None

    def set_period(self, period):
        """set_period(optimize_c self, int period)"""
        return _iqbalance_swig.optimize_c_set_period(self, period)


    def period(self):
        """period(optimize_c self) -> int"""
        return _iqbalance_swig.optimize_c_period(self)


    def mag(self):
        """mag(optimize_c self) -> float"""
        return _iqbalance_swig.optimize_c_mag(self)


    def phase(self):
        """phase(optimize_c self) -> float"""
        return _iqbalance_swig.optimize_c_phase(self)


    def reset(self):
        """reset(optimize_c self)"""
        return _iqbalance_swig.optimize_c_reset(self)


    def forecast(self, noutput_items, ninput_items_required):
        """forecast(optimize_c self, int noutput_items, gr_vector_int & ninput_items_required)"""
        return _iqbalance_swig.optimize_c_forecast(self, noutput_items, ninput_items_required)


    def work(self, noutput_items, input_items, output_items):
        """work(optimize_c self, int noutput_items, gr_vector_const_void_star & input_items, gr_vector_void_star & output_items) -> int"""
        return _iqbalance_swig.optimize_c_work(self, noutput_items, input_items, output_items)

optimize_c_swigregister = _iqbalance_swig.optimize_c_swigregister
optimize_c_swigregister(optimize_c)

def optimize_c_make(period=0):
    """optimize_c_make(int period=0) -> optimize_c_sptr"""
    return _iqbalance_swig.optimize_c_make(period)

class optimize_c_sptr(object):
    """Proxy of C++ boost::shared_ptr<(gr::iqbalance::optimize_c)> 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__(boost::shared_ptr<(gr::iqbalance::optimize_c)> self) -> optimize_c_sptr
        __init__(boost::shared_ptr<(gr::iqbalance::optimize_c)> self, optimize_c p) -> optimize_c_sptr
        """
        this = _iqbalance_swig.new_optimize_c_sptr(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    def __deref__(self):
        """__deref__(optimize_c_sptr self) -> optimize_c"""
        return _iqbalance_swig.optimize_c_sptr___deref__(self)

    __swig_destroy__ = _iqbalance_swig.delete_optimize_c_sptr
    __del__ = lambda self: None

    def make(self, period=0):
        """make(optimize_c_sptr self, int period=0) -> optimize_c_sptr"""
        return _iqbalance_swig.optimize_c_sptr_make(self, period)


    def set_period(self, period):
        """set_period(optimize_c_sptr self, int period)"""
        return _iqbalance_swig.optimize_c_sptr_set_period(self, period)


    def period(self):
        """period(optimize_c_sptr self) -> int"""
        return _iqbalance_swig.optimize_c_sptr_period(self)


    def mag(self):
        """mag(optimize_c_sptr self) -> float"""
        return _iqbalance_swig.optimize_c_sptr_mag(self)


    def phase(self):
        """phase(optimize_c_sptr self) -> float"""
        return _iqbalance_swig.optimize_c_sptr_phase(self)


    def reset(self):
        """reset(optimize_c_sptr self)"""
        return _iqbalance_swig.optimize_c_sptr_reset(self)


    def forecast(self, noutput_items, ninput_items_required):
        """forecast(optimize_c_sptr self, int noutput_items, gr_vector_int & ninput_items_required)"""
        return _iqbalance_swig.optimize_c_sptr_forecast(self, noutput_items, ninput_items_required)


    def work(self, noutput_items, input_items, output_items):
        """work(optimize_c_sptr self, int noutput_items, gr_vector_const_void_star & input_items, gr_vector_void_star & output_items) -> int"""
        return _iqbalance_swig.optimize_c_sptr_work(self, noutput_items, input_items, output_items)


    def history(self):
        """history(optimize_c_sptr self) -> unsigned int"""
        return _iqbalance_swig.optimize_c_sptr_history(self)


    def declare_sample_delay(self, *args):
        """
        declare_sample_delay(optimize_c_sptr self, int which, int delay)
        declare_sample_delay(optimize_c_sptr self, unsigned int delay)
        """
        return _iqbalance_swig.optimize_c_sptr_declare_sample_delay(self, *args)


    def sample_delay(self, which):
        """sample_delay(optimize_c_sptr self, int which) -> unsigned int"""
        return _iqbalance_swig.optimize_c_sptr_sample_delay(self, which)


    def output_multiple(self):
        """output_multiple(optimize_c_sptr self) -> int"""
        return _iqbalance_swig.optimize_c_sptr_output_multiple(self)


    def relative_rate(self):
        """relative_rate(optimize_c_sptr self) -> double"""
        return _iqbalance_swig.optimize_c_sptr_relative_rate(self)


    def start(self):
        """start(optimize_c_sptr self) -> bool"""
        return _iqbalance_swig.optimize_c_sptr_start(self)


    def stop(self):
        """stop(optimize_c_sptr self) -> bool"""
        return _iqbalance_swig.optimize_c_sptr_stop(self)


    def nitems_read(self, which_input):
        """nitems_read(optimize_c_sptr self, unsigned int which_input) -> uint64_t"""
        return _iqbalance_swig.optimize_c_sptr_nitems_read(self, which_input)


    def nitems_written(self, which_output):
        """nitems_written(optimize_c_sptr self, unsigned int which_output) -> uint64_t"""
        return _iqbalance_swig.optimize_c_sptr_nitems_written(self, which_output)


    def max_noutput_items(self):
        """max_noutput_items(optimize_c_sptr self) -> int"""
        return _iqbalance_swig.optimize_c_sptr_max_noutput_items(self)


    def set_max_noutput_items(self, m):
        """set_max_noutput_items(optimize_c_sptr self, int m)"""
        return _iqbalance_swig.optimize_c_sptr_set_max_noutput_items(self, m)


    def unset_max_noutput_items(self):
        """unset_max_noutput_items(optimize_c_sptr self)"""
        return _iqbalance_swig.optimize_c_sptr_unset_max_noutput_items(self)


    def is_set_max_noutput_items(self):
        """is_set_max_noutput_items(optimize_c_sptr self) -> bool"""
        return _iqbalance_swig.optimize_c_sptr_is_set_max_noutput_items(self)


    def set_min_noutput_items(self, m):
        """set_min_noutput_items(optimize_c_sptr self, int m)"""
        return _iqbalance_swig.optimize_c_sptr_set_min_noutput_items(self, m)


    def min_noutput_items(self):
        """min_noutput_items(optimize_c_sptr self) -> int"""
        return _iqbalance_swig.optimize_c_sptr_min_noutput_items(self)


    def max_output_buffer(self, i):
        """max_output_buffer(optimize_c_sptr self, int i) -> long"""
        return _iqbalance_swig.optimize_c_sptr_max_output_buffer(self, i)


    def set_max_output_buffer(self, *args):
        """
        set_max_output_buffer(optimize_c_sptr self, long max_output_buffer)
        set_max_output_buffer(optimize_c_sptr self, int port, long max_output_buffer)
        """
        return _iqbalance_swig.optimize_c_sptr_set_max_output_buffer(self, *args)


    def min_output_buffer(self, i):
        """min_output_buffer(optimize_c_sptr self, int i) -> long"""
        return _iqbalance_swig.optimize_c_sptr_min_output_buffer(self, i)


    def set_min_output_buffer(self, *args):
        """
        set_min_output_buffer(optimize_c_sptr self, long min_output_buffer)
        set_min_output_buffer(optimize_c_sptr self, int port, long min_output_buffer)
        """
        return _iqbalance_swig.optimize_c_sptr_set_min_output_buffer(self, *args)


    def pc_noutput_items(self):
        """pc_noutput_items(optimize_c_sptr self) -> float"""
        return _iqbalance_swig.optimize_c_sptr_pc_noutput_items(self)


    def pc_noutput_items_avg(self):
        """pc_noutput_items_avg(optimize_c_sptr self) -> float"""
        return _iqbalance_swig.optimize_c_sptr_pc_noutput_items_avg(self)


    def pc_noutput_items_var(self):
        """pc_noutput_items_var(optimize_c_sptr self) -> float"""
        return _iqbalance_swig.optimize_c_sptr_pc_noutput_items_var(self)


    def pc_nproduced(self):
        """pc_nproduced(optimize_c_sptr self) -> float"""
        return _iqbalance_swig.optimize_c_sptr_pc_nproduced(self)


    def pc_nproduced_avg(self):
        """pc_nproduced_avg(optimize_c_sptr self) -> float"""
        return _iqbalance_swig.optimize_c_sptr_pc_nproduced_avg(self)


    def pc_nproduced_var(self):
        """pc_nproduced_var(optimize_c_sptr self) -> float"""
        return _iqbalance_swig.optimize_c_sptr_pc_nproduced_var(self)


    def pc_input_buffers_full(self, *args):
        """
        pc_input_buffers_full(optimize_c_sptr self, int which) -> float
        pc_input_buffers_full(optimize_c_sptr self) -> pmt_vector_float
        """
        return _iqbalance_swig.optimize_c_sptr_pc_input_buffers_full(self, *args)


    def pc_input_buffers_full_avg(self, *args):
        """
        pc_input_buffers_full_avg(optimize_c_sptr self, int which) -> float
        pc_input_buffers_full_avg(optimize_c_sptr self) -> pmt_vector_float
        """
        return _iqbalance_swig.optimize_c_sptr_pc_input_buffers_full_avg(self, *args)


    def pc_input_buffers_full_var(self, *args):
        """
        pc_input_buffers_full_var(optimize_c_sptr self, int which) -> float
        pc_input_buffers_full_var(optimize_c_sptr self) -> pmt_vector_float
        """
        return _iqbalance_swig.optimize_c_sptr_pc_input_buffers_full_var(self, *args)


    def pc_output_buffers_full(self, *args):
        """
        pc_output_buffers_full(optimize_c_sptr self, int which) -> float
        pc_output_buffers_full(optimize_c_sptr self) -> pmt_vector_float
        """
        return _iqbalance_swig.optimize_c_sptr_pc_output_buffers_full(self, *args)


    def pc_output_buffers_full_avg(self, *args):
        """
        pc_output_buffers_full_avg(optimize_c_sptr self, int which) -> float
        pc_output_buffers_full_avg(optimize_c_sptr self) -> pmt_vector_float
        """
        return _iqbalance_swig.optimize_c_sptr_pc_output_buffers_full_avg(self, *args)


    def pc_output_buffers_full_var(self, *args):
        """
        pc_output_buffers_full_var(optimize_c_sptr self, int which) -> float
        pc_output_buffers_full_var(optimize_c_sptr self) -> pmt_vector_float
        """
        return _iqbalance_swig.optimize_c_sptr_pc_output_buffers_full_var(self, *args)


    def pc_work_time(self):
        """pc_work_time(optimize_c_sptr self) -> float"""
        return _iqbalance_swig.optimize_c_sptr_pc_work_time(self)


    def pc_work_time_avg(self):
        """pc_work_time_avg(optimize_c_sptr self) -> float"""
        return _iqbalance_swig.optimize_c_sptr_pc_work_time_avg(self)


    def pc_work_time_var(self):
        """pc_work_time_var(optimize_c_sptr self) -> float"""
        return _iqbalance_swig.optimize_c_sptr_pc_work_time_var(self)


    def pc_work_time_total(self):
        """pc_work_time_total(optimize_c_sptr self) -> float"""
        return _iqbalance_swig.optimize_c_sptr_pc_work_time_total(self)


    def pc_throughput_avg(self):
        """pc_throughput_avg(optimize_c_sptr self) -> float"""
        return _iqbalance_swig.optimize_c_sptr_pc_throughput_avg(self)


    def set_processor_affinity(self, mask):
        """set_processor_affinity(optimize_c_sptr self, std::vector< int,std::allocator< int > > const & mask)"""
        return _iqbalance_swig.optimize_c_sptr_set_processor_affinity(self, mask)


    def unset_processor_affinity(self):
        """unset_processor_affinity(optimize_c_sptr self)"""
        return _iqbalance_swig.optimize_c_sptr_unset_processor_affinity(self)


    def processor_affinity(self):
        """processor_affinity(optimize_c_sptr self) -> std::vector< int,std::allocator< int > >"""
        return _iqbalance_swig.optimize_c_sptr_processor_affinity(self)


    def active_thread_priority(self):
        """active_thread_priority(optimize_c_sptr self) -> int"""
        return _iqbalance_swig.optimize_c_sptr_active_thread_priority(self)


    def thread_priority(self):
        """thread_priority(optimize_c_sptr self) -> int"""
        return _iqbalance_swig.optimize_c_sptr_thread_priority(self)


    def set_thread_priority(self, priority):
        """set_thread_priority(optimize_c_sptr self, int priority) -> int"""
        return _iqbalance_swig.optimize_c_sptr_set_thread_priority(self, priority)


    def name(self):
        """name(optimize_c_sptr self) -> std::string"""
        return _iqbalance_swig.optimize_c_sptr_name(self)


    def symbol_name(self):
        """symbol_name(optimize_c_sptr self) -> std::string"""
        return _iqbalance_swig.optimize_c_sptr_symbol_name(self)


    def input_signature(self):
        """input_signature(optimize_c_sptr self) -> io_signature_sptr"""
        return _iqbalance_swig.optimize_c_sptr_input_signature(self)


    def output_signature(self):
        """output_signature(optimize_c_sptr self) -> io_signature_sptr"""
        return _iqbalance_swig.optimize_c_sptr_output_signature(self)


    def unique_id(self):
        """unique_id(optimize_c_sptr self) -> long"""
        return _iqbalance_swig.optimize_c_sptr_unique_id(self)


    def to_basic_block(self):
        """to_basic_block(optimize_c_sptr self) -> basic_block_sptr"""
        return _iqbalance_swig.optimize_c_sptr_to_basic_block(self)


    def check_topology(self, ninputs, noutputs):
        """check_topology(optimize_c_sptr self, int ninputs, int noutputs) -> bool"""
        return _iqbalance_swig.optimize_c_sptr_check_topology(self, ninputs, noutputs)


    def alias(self):
        """alias(optimize_c_sptr self) -> std::string"""
        return _iqbalance_swig.optimize_c_sptr_alias(self)


    def set_block_alias(self, name):
        """set_block_alias(optimize_c_sptr self, std::string name)"""
        return _iqbalance_swig.optimize_c_sptr_set_block_alias(self, name)


    def _post(self, which_port, msg):
        """_post(optimize_c_sptr self, swig_int_ptr which_port, swig_int_ptr msg)"""
        return _iqbalance_swig.optimize_c_sptr__post(self, which_port, msg)


    def message_ports_in(self):
        """message_ports_in(optimize_c_sptr self) -> swig_int_ptr"""
        return _iqbalance_swig.optimize_c_sptr_message_ports_in(self)


    def message_ports_out(self):
        """message_ports_out(optimize_c_sptr self) -> swig_int_ptr"""
        return _iqbalance_swig.optimize_c_sptr_message_ports_out(self)


    def message_subscribers(self, which_port):
        """message_subscribers(optimize_c_sptr self, swig_int_ptr which_port) -> swig_int_ptr"""
        return _iqbalance_swig.optimize_c_sptr_message_subscribers(self, which_port)

optimize_c_sptr_swigregister = _iqbalance_swig.optimize_c_sptr_swigregister
optimize_c_sptr_swigregister(optimize_c_sptr)


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



