# This file was automatically generated by SWIG (http://www.swig.org).
# Version 2.0.11
#
# 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
if 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('_video_sdl_swig', [dirname(__file__)])
        except ImportError:
            import _video_sdl_swig
            return _video_sdl_swig
        if fp is not None:
            try:
                _mod = imp.load_module('_video_sdl_swig', fp, pathname, description)
            finally:
                fp.close()
            return _mod
    _video_sdl_swig = swig_import_helper()
    del swig_import_helper
else:
    import _video_sdl_swig
del version_info
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__ == 'SwigPyObject':
            self.__dict__[name] = value
            return
    method = class_type.__swig_setmethods__.get(name,None)
    if method: return method(self,value)
    if (not static):
        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,)

try:
    _object = object
    _newclass = 1
except AttributeError:
    class _object : pass
    _newclass = 0


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 sink_uc(object):
    """Proxy of C++ gr::video_sdl::sink_uc 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(*args, **kwargs):
        """make(double framerate, int width, int height, unsigned int format, int dst_width, int dst_height) -> sink_uc_sptr"""
        return _video_sdl_swig.sink_uc_make(*args, **kwargs)

    make = staticmethod(make)
    __swig_destroy__ = _video_sdl_swig.delete_sink_uc
    __del__ = lambda self : None;
sink_uc_swigregister = _video_sdl_swig.sink_uc_swigregister
sink_uc_swigregister(sink_uc)

def sink_uc_make(*args, **kwargs):
  """sink_uc_make(double framerate, int width, int height, unsigned int format, int dst_width, int dst_height) -> sink_uc_sptr"""
  return _video_sdl_swig.sink_uc_make(*args, **kwargs)

class sink_s(object):
    """Proxy of C++ gr::video_sdl::sink_s 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(*args, **kwargs):
        """make(double framerate, int width, int height, unsigned int format, int dst_width, int dst_height) -> sink_s_sptr"""
        return _video_sdl_swig.sink_s_make(*args, **kwargs)

    make = staticmethod(make)
    __swig_destroy__ = _video_sdl_swig.delete_sink_s
    __del__ = lambda self : None;
sink_s_swigregister = _video_sdl_swig.sink_s_swigregister
sink_s_swigregister(sink_s)

def sink_s_make(*args, **kwargs):
  """sink_s_make(double framerate, int width, int height, unsigned int format, int dst_width, int dst_height) -> sink_s_sptr"""
  return _video_sdl_swig.sink_s_make(*args, **kwargs)

class sink_uc_sptr(object):
    """Proxy of C++ boost::shared_ptr<(gr::video_sdl::sink_uc)> 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::video_sdl::sink_uc)> self) -> sink_uc_sptr
        __init__(boost::shared_ptr<(gr::video_sdl::sink_uc)> self, sink_uc p) -> sink_uc_sptr
        """
        this = _video_sdl_swig.new_sink_uc_sptr(*args)
        try: self.this.append(this)
        except: self.this = this
    def __deref__(self):
        """__deref__(sink_uc_sptr self) -> sink_uc"""
        return _video_sdl_swig.sink_uc_sptr___deref__(self)

    __swig_destroy__ = _video_sdl_swig.delete_sink_uc_sptr
    __del__ = lambda self : None;
    def make(self, *args, **kwargs):
        """make(sink_uc_sptr self, double framerate, int width, int height, unsigned int format, int dst_width, int dst_height) -> sink_uc_sptr"""
        return _video_sdl_swig.sink_uc_sptr_make(self, *args, **kwargs)

    def history(self):
        """history(sink_uc_sptr self) -> unsigned int"""
        return _video_sdl_swig.sink_uc_sptr_history(self)

    def output_multiple(self):
        """output_multiple(sink_uc_sptr self) -> int"""
        return _video_sdl_swig.sink_uc_sptr_output_multiple(self)

    def relative_rate(self):
        """relative_rate(sink_uc_sptr self) -> double"""
        return _video_sdl_swig.sink_uc_sptr_relative_rate(self)

    def start(self):
        """start(sink_uc_sptr self) -> bool"""
        return _video_sdl_swig.sink_uc_sptr_start(self)

    def stop(self):
        """stop(sink_uc_sptr self) -> bool"""
        return _video_sdl_swig.sink_uc_sptr_stop(self)

    def nitems_read(self, *args, **kwargs):
        """nitems_read(sink_uc_sptr self, unsigned int which_input) -> uint64_t"""
        return _video_sdl_swig.sink_uc_sptr_nitems_read(self, *args, **kwargs)

    def nitems_written(self, *args, **kwargs):
        """nitems_written(sink_uc_sptr self, unsigned int which_output) -> uint64_t"""
        return _video_sdl_swig.sink_uc_sptr_nitems_written(self, *args, **kwargs)

    def max_noutput_items(self):
        """max_noutput_items(sink_uc_sptr self) -> int"""
        return _video_sdl_swig.sink_uc_sptr_max_noutput_items(self)

    def set_max_noutput_items(self, *args, **kwargs):
        """set_max_noutput_items(sink_uc_sptr self, int m)"""
        return _video_sdl_swig.sink_uc_sptr_set_max_noutput_items(self, *args, **kwargs)

    def unset_max_noutput_items(self):
        """unset_max_noutput_items(sink_uc_sptr self)"""
        return _video_sdl_swig.sink_uc_sptr_unset_max_noutput_items(self)

    def is_set_max_noutput_items(self):
        """is_set_max_noutput_items(sink_uc_sptr self) -> bool"""
        return _video_sdl_swig.sink_uc_sptr_is_set_max_noutput_items(self)

    def max_output_buffer(self, *args, **kwargs):
        """max_output_buffer(sink_uc_sptr self, int i) -> long"""
        return _video_sdl_swig.sink_uc_sptr_max_output_buffer(self, *args, **kwargs)

    def set_max_output_buffer(self, *args):
        """
        set_max_output_buffer(sink_uc_sptr self, long max_output_buffer)
        set_max_output_buffer(sink_uc_sptr self, int port, long max_output_buffer)
        """
        return _video_sdl_swig.sink_uc_sptr_set_max_output_buffer(self, *args)

    def min_output_buffer(self, *args, **kwargs):
        """min_output_buffer(sink_uc_sptr self, int i) -> long"""
        return _video_sdl_swig.sink_uc_sptr_min_output_buffer(self, *args, **kwargs)

    def set_min_output_buffer(self, *args):
        """
        set_min_output_buffer(sink_uc_sptr self, long min_output_buffer)
        set_min_output_buffer(sink_uc_sptr self, int port, long min_output_buffer)
        """
        return _video_sdl_swig.sink_uc_sptr_set_min_output_buffer(self, *args)

    def pc_noutput_items(self):
        """pc_noutput_items(sink_uc_sptr self) -> float"""
        return _video_sdl_swig.sink_uc_sptr_pc_noutput_items(self)

    def pc_noutput_items_var(self):
        """pc_noutput_items_var(sink_uc_sptr self) -> float"""
        return _video_sdl_swig.sink_uc_sptr_pc_noutput_items_var(self)

    def pc_nproduced(self):
        """pc_nproduced(sink_uc_sptr self) -> float"""
        return _video_sdl_swig.sink_uc_sptr_pc_nproduced(self)

    def pc_nproduced_var(self):
        """pc_nproduced_var(sink_uc_sptr self) -> float"""
        return _video_sdl_swig.sink_uc_sptr_pc_nproduced_var(self)

    def pc_input_buffers_full(self, *args):
        """
        pc_input_buffers_full(sink_uc_sptr self, int which) -> float
        pc_input_buffers_full(sink_uc_sptr self) -> pmt_vector_float
        """
        return _video_sdl_swig.sink_uc_sptr_pc_input_buffers_full(self, *args)

    def pc_input_buffers_full_var(self, *args):
        """
        pc_input_buffers_full_var(sink_uc_sptr self, int which) -> float
        pc_input_buffers_full_var(sink_uc_sptr self) -> pmt_vector_float
        """
        return _video_sdl_swig.sink_uc_sptr_pc_input_buffers_full_var(self, *args)

    def pc_output_buffers_full(self, *args):
        """
        pc_output_buffers_full(sink_uc_sptr self, int which) -> float
        pc_output_buffers_full(sink_uc_sptr self) -> pmt_vector_float
        """
        return _video_sdl_swig.sink_uc_sptr_pc_output_buffers_full(self, *args)

    def pc_output_buffers_full_var(self, *args):
        """
        pc_output_buffers_full_var(sink_uc_sptr self, int which) -> float
        pc_output_buffers_full_var(sink_uc_sptr self) -> pmt_vector_float
        """
        return _video_sdl_swig.sink_uc_sptr_pc_output_buffers_full_var(self, *args)

    def pc_work_time(self):
        """pc_work_time(sink_uc_sptr self) -> float"""
        return _video_sdl_swig.sink_uc_sptr_pc_work_time(self)

    def pc_work_time_var(self):
        """pc_work_time_var(sink_uc_sptr self) -> float"""
        return _video_sdl_swig.sink_uc_sptr_pc_work_time_var(self)

    def set_processor_affinity(self, *args, **kwargs):
        """set_processor_affinity(sink_uc_sptr self, std::vector< int,std::allocator< int > > const & mask)"""
        return _video_sdl_swig.sink_uc_sptr_set_processor_affinity(self, *args, **kwargs)

    def unset_processor_affinity(self):
        """unset_processor_affinity(sink_uc_sptr self)"""
        return _video_sdl_swig.sink_uc_sptr_unset_processor_affinity(self)

    def processor_affinity(self):
        """processor_affinity(sink_uc_sptr self) -> std::vector< int,std::allocator< int > >"""
        return _video_sdl_swig.sink_uc_sptr_processor_affinity(self)

    def active_thread_priority(self):
        """active_thread_priority(sink_uc_sptr self) -> int"""
        return _video_sdl_swig.sink_uc_sptr_active_thread_priority(self)

    def thread_priority(self):
        """thread_priority(sink_uc_sptr self) -> int"""
        return _video_sdl_swig.sink_uc_sptr_thread_priority(self)

    def set_thread_priority(self, *args, **kwargs):
        """set_thread_priority(sink_uc_sptr self, int priority) -> int"""
        return _video_sdl_swig.sink_uc_sptr_set_thread_priority(self, *args, **kwargs)

    def name(self):
        """name(sink_uc_sptr self) -> std::string"""
        return _video_sdl_swig.sink_uc_sptr_name(self)

    def symbol_name(self):
        """symbol_name(sink_uc_sptr self) -> std::string"""
        return _video_sdl_swig.sink_uc_sptr_symbol_name(self)

    def input_signature(self):
        """input_signature(sink_uc_sptr self) -> io_signature_sptr"""
        return _video_sdl_swig.sink_uc_sptr_input_signature(self)

    def output_signature(self):
        """output_signature(sink_uc_sptr self) -> io_signature_sptr"""
        return _video_sdl_swig.sink_uc_sptr_output_signature(self)

    def unique_id(self):
        """unique_id(sink_uc_sptr self) -> long"""
        return _video_sdl_swig.sink_uc_sptr_unique_id(self)

    def to_basic_block(self):
        """to_basic_block(sink_uc_sptr self) -> basic_block_sptr"""
        return _video_sdl_swig.sink_uc_sptr_to_basic_block(self)

    def check_topology(self, *args, **kwargs):
        """check_topology(sink_uc_sptr self, int ninputs, int noutputs) -> bool"""
        return _video_sdl_swig.sink_uc_sptr_check_topology(self, *args, **kwargs)

    def alias(self):
        """alias(sink_uc_sptr self) -> std::string"""
        return _video_sdl_swig.sink_uc_sptr_alias(self)

    def set_block_alias(self, *args, **kwargs):
        """set_block_alias(sink_uc_sptr self, std::string name)"""
        return _video_sdl_swig.sink_uc_sptr_set_block_alias(self, *args, **kwargs)

    def _post(self, *args, **kwargs):
        """_post(sink_uc_sptr self, swig_int_ptr which_port, swig_int_ptr msg)"""
        return _video_sdl_swig.sink_uc_sptr__post(self, *args, **kwargs)

    def message_ports_in(self):
        """message_ports_in(sink_uc_sptr self) -> swig_int_ptr"""
        return _video_sdl_swig.sink_uc_sptr_message_ports_in(self)

    def message_ports_out(self):
        """message_ports_out(sink_uc_sptr self) -> swig_int_ptr"""
        return _video_sdl_swig.sink_uc_sptr_message_ports_out(self)

sink_uc_sptr_swigregister = _video_sdl_swig.sink_uc_sptr_swigregister
sink_uc_sptr_swigregister(sink_uc_sptr)

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

class sink_s_sptr(object):
    """Proxy of C++ boost::shared_ptr<(gr::video_sdl::sink_s)> 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::video_sdl::sink_s)> self) -> sink_s_sptr
        __init__(boost::shared_ptr<(gr::video_sdl::sink_s)> self, sink_s p) -> sink_s_sptr
        """
        this = _video_sdl_swig.new_sink_s_sptr(*args)
        try: self.this.append(this)
        except: self.this = this
    def __deref__(self):
        """__deref__(sink_s_sptr self) -> sink_s"""
        return _video_sdl_swig.sink_s_sptr___deref__(self)

    __swig_destroy__ = _video_sdl_swig.delete_sink_s_sptr
    __del__ = lambda self : None;
    def make(self, *args, **kwargs):
        """make(sink_s_sptr self, double framerate, int width, int height, unsigned int format, int dst_width, int dst_height) -> sink_s_sptr"""
        return _video_sdl_swig.sink_s_sptr_make(self, *args, **kwargs)

    def history(self):
        """history(sink_s_sptr self) -> unsigned int"""
        return _video_sdl_swig.sink_s_sptr_history(self)

    def output_multiple(self):
        """output_multiple(sink_s_sptr self) -> int"""
        return _video_sdl_swig.sink_s_sptr_output_multiple(self)

    def relative_rate(self):
        """relative_rate(sink_s_sptr self) -> double"""
        return _video_sdl_swig.sink_s_sptr_relative_rate(self)

    def start(self):
        """start(sink_s_sptr self) -> bool"""
        return _video_sdl_swig.sink_s_sptr_start(self)

    def stop(self):
        """stop(sink_s_sptr self) -> bool"""
        return _video_sdl_swig.sink_s_sptr_stop(self)

    def nitems_read(self, *args, **kwargs):
        """nitems_read(sink_s_sptr self, unsigned int which_input) -> uint64_t"""
        return _video_sdl_swig.sink_s_sptr_nitems_read(self, *args, **kwargs)

    def nitems_written(self, *args, **kwargs):
        """nitems_written(sink_s_sptr self, unsigned int which_output) -> uint64_t"""
        return _video_sdl_swig.sink_s_sptr_nitems_written(self, *args, **kwargs)

    def max_noutput_items(self):
        """max_noutput_items(sink_s_sptr self) -> int"""
        return _video_sdl_swig.sink_s_sptr_max_noutput_items(self)

    def set_max_noutput_items(self, *args, **kwargs):
        """set_max_noutput_items(sink_s_sptr self, int m)"""
        return _video_sdl_swig.sink_s_sptr_set_max_noutput_items(self, *args, **kwargs)

    def unset_max_noutput_items(self):
        """unset_max_noutput_items(sink_s_sptr self)"""
        return _video_sdl_swig.sink_s_sptr_unset_max_noutput_items(self)

    def is_set_max_noutput_items(self):
        """is_set_max_noutput_items(sink_s_sptr self) -> bool"""
        return _video_sdl_swig.sink_s_sptr_is_set_max_noutput_items(self)

    def max_output_buffer(self, *args, **kwargs):
        """max_output_buffer(sink_s_sptr self, int i) -> long"""
        return _video_sdl_swig.sink_s_sptr_max_output_buffer(self, *args, **kwargs)

    def set_max_output_buffer(self, *args):
        """
        set_max_output_buffer(sink_s_sptr self, long max_output_buffer)
        set_max_output_buffer(sink_s_sptr self, int port, long max_output_buffer)
        """
        return _video_sdl_swig.sink_s_sptr_set_max_output_buffer(self, *args)

    def min_output_buffer(self, *args, **kwargs):
        """min_output_buffer(sink_s_sptr self, int i) -> long"""
        return _video_sdl_swig.sink_s_sptr_min_output_buffer(self, *args, **kwargs)

    def set_min_output_buffer(self, *args):
        """
        set_min_output_buffer(sink_s_sptr self, long min_output_buffer)
        set_min_output_buffer(sink_s_sptr self, int port, long min_output_buffer)
        """
        return _video_sdl_swig.sink_s_sptr_set_min_output_buffer(self, *args)

    def pc_noutput_items(self):
        """pc_noutput_items(sink_s_sptr self) -> float"""
        return _video_sdl_swig.sink_s_sptr_pc_noutput_items(self)

    def pc_noutput_items_var(self):
        """pc_noutput_items_var(sink_s_sptr self) -> float"""
        return _video_sdl_swig.sink_s_sptr_pc_noutput_items_var(self)

    def pc_nproduced(self):
        """pc_nproduced(sink_s_sptr self) -> float"""
        return _video_sdl_swig.sink_s_sptr_pc_nproduced(self)

    def pc_nproduced_var(self):
        """pc_nproduced_var(sink_s_sptr self) -> float"""
        return _video_sdl_swig.sink_s_sptr_pc_nproduced_var(self)

    def pc_input_buffers_full(self, *args):
        """
        pc_input_buffers_full(sink_s_sptr self, int which) -> float
        pc_input_buffers_full(sink_s_sptr self) -> pmt_vector_float
        """
        return _video_sdl_swig.sink_s_sptr_pc_input_buffers_full(self, *args)

    def pc_input_buffers_full_var(self, *args):
        """
        pc_input_buffers_full_var(sink_s_sptr self, int which) -> float
        pc_input_buffers_full_var(sink_s_sptr self) -> pmt_vector_float
        """
        return _video_sdl_swig.sink_s_sptr_pc_input_buffers_full_var(self, *args)

    def pc_output_buffers_full(self, *args):
        """
        pc_output_buffers_full(sink_s_sptr self, int which) -> float
        pc_output_buffers_full(sink_s_sptr self) -> pmt_vector_float
        """
        return _video_sdl_swig.sink_s_sptr_pc_output_buffers_full(self, *args)

    def pc_output_buffers_full_var(self, *args):
        """
        pc_output_buffers_full_var(sink_s_sptr self, int which) -> float
        pc_output_buffers_full_var(sink_s_sptr self) -> pmt_vector_float
        """
        return _video_sdl_swig.sink_s_sptr_pc_output_buffers_full_var(self, *args)

    def pc_work_time(self):
        """pc_work_time(sink_s_sptr self) -> float"""
        return _video_sdl_swig.sink_s_sptr_pc_work_time(self)

    def pc_work_time_var(self):
        """pc_work_time_var(sink_s_sptr self) -> float"""
        return _video_sdl_swig.sink_s_sptr_pc_work_time_var(self)

    def set_processor_affinity(self, *args, **kwargs):
        """set_processor_affinity(sink_s_sptr self, std::vector< int,std::allocator< int > > const & mask)"""
        return _video_sdl_swig.sink_s_sptr_set_processor_affinity(self, *args, **kwargs)

    def unset_processor_affinity(self):
        """unset_processor_affinity(sink_s_sptr self)"""
        return _video_sdl_swig.sink_s_sptr_unset_processor_affinity(self)

    def processor_affinity(self):
        """processor_affinity(sink_s_sptr self) -> std::vector< int,std::allocator< int > >"""
        return _video_sdl_swig.sink_s_sptr_processor_affinity(self)

    def active_thread_priority(self):
        """active_thread_priority(sink_s_sptr self) -> int"""
        return _video_sdl_swig.sink_s_sptr_active_thread_priority(self)

    def thread_priority(self):
        """thread_priority(sink_s_sptr self) -> int"""
        return _video_sdl_swig.sink_s_sptr_thread_priority(self)

    def set_thread_priority(self, *args, **kwargs):
        """set_thread_priority(sink_s_sptr self, int priority) -> int"""
        return _video_sdl_swig.sink_s_sptr_set_thread_priority(self, *args, **kwargs)

    def name(self):
        """name(sink_s_sptr self) -> std::string"""
        return _video_sdl_swig.sink_s_sptr_name(self)

    def symbol_name(self):
        """symbol_name(sink_s_sptr self) -> std::string"""
        return _video_sdl_swig.sink_s_sptr_symbol_name(self)

    def input_signature(self):
        """input_signature(sink_s_sptr self) -> io_signature_sptr"""
        return _video_sdl_swig.sink_s_sptr_input_signature(self)

    def output_signature(self):
        """output_signature(sink_s_sptr self) -> io_signature_sptr"""
        return _video_sdl_swig.sink_s_sptr_output_signature(self)

    def unique_id(self):
        """unique_id(sink_s_sptr self) -> long"""
        return _video_sdl_swig.sink_s_sptr_unique_id(self)

    def to_basic_block(self):
        """to_basic_block(sink_s_sptr self) -> basic_block_sptr"""
        return _video_sdl_swig.sink_s_sptr_to_basic_block(self)

    def check_topology(self, *args, **kwargs):
        """check_topology(sink_s_sptr self, int ninputs, int noutputs) -> bool"""
        return _video_sdl_swig.sink_s_sptr_check_topology(self, *args, **kwargs)

    def alias(self):
        """alias(sink_s_sptr self) -> std::string"""
        return _video_sdl_swig.sink_s_sptr_alias(self)

    def set_block_alias(self, *args, **kwargs):
        """set_block_alias(sink_s_sptr self, std::string name)"""
        return _video_sdl_swig.sink_s_sptr_set_block_alias(self, *args, **kwargs)

    def _post(self, *args, **kwargs):
        """_post(sink_s_sptr self, swig_int_ptr which_port, swig_int_ptr msg)"""
        return _video_sdl_swig.sink_s_sptr__post(self, *args, **kwargs)

    def message_ports_in(self):
        """message_ports_in(sink_s_sptr self) -> swig_int_ptr"""
        return _video_sdl_swig.sink_s_sptr_message_ports_in(self)

    def message_ports_out(self):
        """message_ports_out(sink_s_sptr self) -> swig_int_ptr"""
        return _video_sdl_swig.sink_s_sptr_message_ports_out(self)

sink_s_sptr_swigregister = _video_sdl_swig.sink_s_sptr_swigregister
sink_s_sptr_swigregister(sink_s_sptr)

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



