# This file was automatically generated by SWIG (http://www.swig.org).
# Version 1.3.39
#
# 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', [dirname(__file__)])
        except ImportError:
            import _video_sdl
            return _video_sdl
        if fp is not None:
            try:
                _mod = imp.load_module('_video_sdl', fp, pathname, description)
            finally:
                fp.close()
                return _mod
    _video_sdl = swig_import_helper()
    del swig_import_helper
else:
    import _video_sdl
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) or hasattr(self,name):
        self.__dict__[name] = value
    else:
        raise AttributeError("You cannot add attributes to %s" % self)

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

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

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

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 video_sdl_sink_uc_sptr(object):
    """Proxy of C++ boost::shared_ptr<(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__(self) -> video_sdl_sink_uc_sptr
        __init__(self,  p) -> video_sdl_sink_uc_sptr
        """
        this = _video_sdl.new_video_sdl_sink_uc_sptr(*args)
        try: self.this.append(this)
        except: self.this = this
    def __deref__(self):
        """__deref__(self)"""
        return _video_sdl.video_sdl_sink_uc_sptr___deref__(self)

    __swig_destroy__ = _video_sdl.delete_video_sdl_sink_uc_sptr
    __del__ = lambda self : None;
    def history(self):
        """history(self) -> unsigned int"""
        return _video_sdl.video_sdl_sink_uc_sptr_history(self)

    def output_multiple(self):
        """output_multiple(self) -> int"""
        return _video_sdl.video_sdl_sink_uc_sptr_output_multiple(self)

    def relative_rate(self):
        """relative_rate(self) -> double"""
        return _video_sdl.video_sdl_sink_uc_sptr_relative_rate(self)

    def start(self):
        """start(self) -> bool"""
        return _video_sdl.video_sdl_sink_uc_sptr_start(self)

    def stop(self):
        """stop(self) -> bool"""
        return _video_sdl.video_sdl_sink_uc_sptr_stop(self)

    def detail(self):
        """detail(self) -> gr_block_detail_sptr"""
        return _video_sdl.video_sdl_sink_uc_sptr_detail(self)

    def set_detail(self, *args):
        """set_detail(self, gr_block_detail_sptr detail)"""
        return _video_sdl.video_sdl_sink_uc_sptr_set_detail(self, *args)

    def name(self):
        """name(self) -> string"""
        return _video_sdl.video_sdl_sink_uc_sptr_name(self)

    def input_signature(self):
        """input_signature(self) -> gr_io_signature_sptr"""
        return _video_sdl.video_sdl_sink_uc_sptr_input_signature(self)

    def output_signature(self):
        """output_signature(self) -> gr_io_signature_sptr"""
        return _video_sdl.video_sdl_sink_uc_sptr_output_signature(self)

    def unique_id(self):
        """unique_id(self) -> long"""
        return _video_sdl.video_sdl_sink_uc_sptr_unique_id(self)

    def basic_block(self):
        """basic_block(self) -> gr_basic_block_sptr"""
        return _video_sdl.video_sdl_sink_uc_sptr_basic_block(self)

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

video_sdl_sink_uc_sptr_swigregister = _video_sdl.video_sdl_sink_uc_sptr_swigregister
video_sdl_sink_uc_sptr_swigregister(video_sdl_sink_uc_sptr)


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

class video_sdl_sink_s_sptr(object):
    """Proxy of C++ boost::shared_ptr<(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__(self) -> video_sdl_sink_s_sptr
        __init__(self,  p) -> video_sdl_sink_s_sptr
        """
        this = _video_sdl.new_video_sdl_sink_s_sptr(*args)
        try: self.this.append(this)
        except: self.this = this
    def __deref__(self):
        """__deref__(self)"""
        return _video_sdl.video_sdl_sink_s_sptr___deref__(self)

    __swig_destroy__ = _video_sdl.delete_video_sdl_sink_s_sptr
    __del__ = lambda self : None;
    def history(self):
        """history(self) -> unsigned int"""
        return _video_sdl.video_sdl_sink_s_sptr_history(self)

    def output_multiple(self):
        """output_multiple(self) -> int"""
        return _video_sdl.video_sdl_sink_s_sptr_output_multiple(self)

    def relative_rate(self):
        """relative_rate(self) -> double"""
        return _video_sdl.video_sdl_sink_s_sptr_relative_rate(self)

    def start(self):
        """start(self) -> bool"""
        return _video_sdl.video_sdl_sink_s_sptr_start(self)

    def stop(self):
        """stop(self) -> bool"""
        return _video_sdl.video_sdl_sink_s_sptr_stop(self)

    def detail(self):
        """detail(self) -> gr_block_detail_sptr"""
        return _video_sdl.video_sdl_sink_s_sptr_detail(self)

    def set_detail(self, *args):
        """set_detail(self, gr_block_detail_sptr detail)"""
        return _video_sdl.video_sdl_sink_s_sptr_set_detail(self, *args)

    def name(self):
        """name(self) -> string"""
        return _video_sdl.video_sdl_sink_s_sptr_name(self)

    def input_signature(self):
        """input_signature(self) -> gr_io_signature_sptr"""
        return _video_sdl.video_sdl_sink_s_sptr_input_signature(self)

    def output_signature(self):
        """output_signature(self) -> gr_io_signature_sptr"""
        return _video_sdl.video_sdl_sink_s_sptr_output_signature(self)

    def unique_id(self):
        """unique_id(self) -> long"""
        return _video_sdl.video_sdl_sink_s_sptr_unique_id(self)

    def basic_block(self):
        """basic_block(self) -> gr_basic_block_sptr"""
        return _video_sdl.video_sdl_sink_s_sptr_basic_block(self)

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

video_sdl_sink_s_sptr_swigregister = _video_sdl.video_sdl_sink_s_sptr_swigregister
video_sdl_sink_s_sptr_swigregister(video_sdl_sink_s_sptr)

def sink_uc(*args):
  """
    sink_uc(double framerate, int width = 640, int height = 480, 
        unsigned int format = 0, int dst_width = -1, 
        int dst_height = -1) -> video_sdl_sink_uc_sptr
    sink_uc(double framerate, int width = 640, int height = 480, 
        unsigned int format = 0, int dst_width = -1) -> video_sdl_sink_uc_sptr
    sink_uc(double framerate, int width = 640, int height = 480, 
        unsigned int format = 0) -> video_sdl_sink_uc_sptr
    sink_uc(double framerate, int width = 640, int height = 480) -> video_sdl_sink_uc_sptr
    sink_uc(double framerate, int width = 640) -> video_sdl_sink_uc_sptr
    sink_uc(double framerate) -> video_sdl_sink_uc_sptr
    """
  return _video_sdl.sink_uc(*args)


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



def sink_s(*args):
  """
    sink_s(double framerate, int width = 640, int height = 480, 
        unsigned int format = 0, int dst_width = -1, 
        int dst_height = -1) -> video_sdl_sink_s_sptr
    sink_s(double framerate, int width = 640, int height = 480, 
        unsigned int format = 0, int dst_width = -1) -> video_sdl_sink_s_sptr
    sink_s(double framerate, int width = 640, int height = 480, 
        unsigned int format = 0) -> video_sdl_sink_s_sptr
    sink_s(double framerate, int width = 640, int height = 480) -> video_sdl_sink_s_sptr
    sink_s(double framerate, int width = 640) -> video_sdl_sink_s_sptr
    sink_s(double framerate) -> video_sdl_sink_s_sptr
    """
  return _video_sdl.sink_s(*args)

