# This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.8
#
# 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('_iguanaIR', [dirname(__file__)])
        except ImportError:
            import _iguanaIR
            return _iguanaIR
        if fp is not None:
            try:
                _mod = imp.load_module('_iguanaIR', fp, pathname, description)
            finally:
                fp.close()
            return _mod
    _iguanaIR = swig_import_helper()
    del swig_import_helper
else:
    import _iguanaIR
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):
        if _newclass:
            object.__setattr__(self, name, value)
        else:
            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_nondynamic(self, class_type, name, static=1):
    if (name == "thisown"):
        return self.this.own()
    method = class_type.__swig_getmethods__.get(name, None)
    if method:
        return method(self)
    if (not static):
        return object.__getattr__(self, name)
    else:
        raise AttributeError(name)

def _swig_getattr(self, class_type, name):
    return _swig_getattr_nondynamic(self, class_type, name, 0)


def _swig_repr(self):
    try:
        strthis = "proxy of " + self.this.__repr__()
    except Exception:
        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 readResponse(connection, timeout):
    return _iguanaIR.readResponse(connection, timeout)
readResponse = _iguanaIR.readResponse

def connect(name):
    return _iguanaIR.connect(name)
connect = _iguanaIR.connect

_iguanaIR.IG_PROTOCOL_VERSION_swigconstant(_iguanaIR)
IG_PROTOCOL_VERSION = _iguanaIR.IG_PROTOCOL_VERSION

_iguanaIR.INVALID_PIPE_swigconstant(_iguanaIR)
INVALID_PIPE = _iguanaIR.INVALID_PIPE

_iguanaIR.IGSOCK_NAME_swigconstant(_iguanaIR)
IGSOCK_NAME = _iguanaIR.IGSOCK_NAME

_iguanaIR.IG_EXCH_VERSIONS_swigconstant(_iguanaIR)
IG_EXCH_VERSIONS = _iguanaIR.IG_EXCH_VERSIONS

_iguanaIR.IG_DEV_ERROR_swigconstant(_iguanaIR)
IG_DEV_ERROR = _iguanaIR.IG_DEV_ERROR

_iguanaIR.IG_DEV_GETVERSION_swigconstant(_iguanaIR)
IG_DEV_GETVERSION = _iguanaIR.IG_DEV_GETVERSION

_iguanaIR.IG_DEV_WRITEBLOCK_swigconstant(_iguanaIR)
IG_DEV_WRITEBLOCK = _iguanaIR.IG_DEV_WRITEBLOCK

_iguanaIR.IG_DEV_CHECKSUM_swigconstant(_iguanaIR)
IG_DEV_CHECKSUM = _iguanaIR.IG_DEV_CHECKSUM

_iguanaIR.IG_DEV_INVALID_ARG_swigconstant(_iguanaIR)
IG_DEV_INVALID_ARG = _iguanaIR.IG_DEV_INVALID_ARG

_iguanaIR.IG_DEV_BAD_CHKSUM_swigconstant(_iguanaIR)
IG_DEV_BAD_CHKSUM = _iguanaIR.IG_DEV_BAD_CHKSUM

_iguanaIR.IG_DEV_NOUSB_swigconstant(_iguanaIR)
IG_DEV_NOUSB = _iguanaIR.IG_DEV_NOUSB

_iguanaIR.IG_DEV_RESET_swigconstant(_iguanaIR)
IG_DEV_RESET = _iguanaIR.IG_DEV_RESET

_iguanaIR.IG_DEV_GETFEATURES_swigconstant(_iguanaIR)
IG_DEV_GETFEATURES = _iguanaIR.IG_DEV_GETFEATURES

_iguanaIR.IG_DEV_GETBUFSIZE_swigconstant(_iguanaIR)
IG_DEV_GETBUFSIZE = _iguanaIR.IG_DEV_GETBUFSIZE

_iguanaIR.IG_DEV_RECVON_swigconstant(_iguanaIR)
IG_DEV_RECVON = _iguanaIR.IG_DEV_RECVON

_iguanaIR.IG_DEV_RAWRECVON_swigconstant(_iguanaIR)
IG_DEV_RAWRECVON = _iguanaIR.IG_DEV_RAWRECVON

_iguanaIR.IG_DEV_RECVOFF_swigconstant(_iguanaIR)
IG_DEV_RECVOFF = _iguanaIR.IG_DEV_RECVOFF

_iguanaIR.IG_DEV_SEND_swigconstant(_iguanaIR)
IG_DEV_SEND = _iguanaIR.IG_DEV_SEND

_iguanaIR.IG_DEV_GETCHANNELS_swigconstant(_iguanaIR)
IG_DEV_GETCHANNELS = _iguanaIR.IG_DEV_GETCHANNELS

_iguanaIR.IG_DEV_SETCHANNELS_swigconstant(_iguanaIR)
IG_DEV_SETCHANNELS = _iguanaIR.IG_DEV_SETCHANNELS

_iguanaIR.IG_DEV_GETCARRIER_swigconstant(_iguanaIR)
IG_DEV_GETCARRIER = _iguanaIR.IG_DEV_GETCARRIER

_iguanaIR.IG_DEV_SETCARRIER_swigconstant(_iguanaIR)
IG_DEV_SETCARRIER = _iguanaIR.IG_DEV_SETCARRIER

_iguanaIR.IG_DEV_GETPINCONFIG_swigconstant(_iguanaIR)
IG_DEV_GETPINCONFIG = _iguanaIR.IG_DEV_GETPINCONFIG

_iguanaIR.IG_DEV_SETPINCONFIG_swigconstant(_iguanaIR)
IG_DEV_SETPINCONFIG = _iguanaIR.IG_DEV_SETPINCONFIG

_iguanaIR.IG_DEV_GETPINS_swigconstant(_iguanaIR)
IG_DEV_GETPINS = _iguanaIR.IG_DEV_GETPINS

_iguanaIR.IG_DEV_SETPINS_swigconstant(_iguanaIR)
IG_DEV_SETPINS = _iguanaIR.IG_DEV_SETPINS

_iguanaIR.IG_DEV_PINBURST_swigconstant(_iguanaIR)
IG_DEV_PINBURST = _iguanaIR.IG_DEV_PINBURST

_iguanaIR.IG_DEV_EXECUTE_swigconstant(_iguanaIR)
IG_DEV_EXECUTE = _iguanaIR.IG_DEV_EXECUTE

_iguanaIR.IG_DEV_GETID_swigconstant(_iguanaIR)
IG_DEV_GETID = _iguanaIR.IG_DEV_GETID

_iguanaIR.IG_DEV_SETID_swigconstant(_iguanaIR)
IG_DEV_SETID = _iguanaIR.IG_DEV_SETID

_iguanaIR.IG_DEV_IDSOFF_swigconstant(_iguanaIR)
IG_DEV_IDSOFF = _iguanaIR.IG_DEV_IDSOFF

_iguanaIR.IG_DEV_IDSON_swigconstant(_iguanaIR)
IG_DEV_IDSON = _iguanaIR.IG_DEV_IDSON

_iguanaIR.IG_DEV_IDSTATE_swigconstant(_iguanaIR)
IG_DEV_IDSTATE = _iguanaIR.IG_DEV_IDSTATE

_iguanaIR.IG_DEV_REPEATER_swigconstant(_iguanaIR)
IG_DEV_REPEATER = _iguanaIR.IG_DEV_REPEATER

_iguanaIR.IG_DEV_GETLOCATION_swigconstant(_iguanaIR)
IG_DEV_GETLOCATION = _iguanaIR.IG_DEV_GETLOCATION

_iguanaIR.IG_DEV_RESEND_swigconstant(_iguanaIR)
IG_DEV_RESEND = _iguanaIR.IG_DEV_RESEND

_iguanaIR.IG_DEV_SENDSIZE_swigconstant(_iguanaIR)
IG_DEV_SENDSIZE = _iguanaIR.IG_DEV_SENDSIZE

_iguanaIR.IG_DEV_RECV_swigconstant(_iguanaIR)
IG_DEV_RECV = _iguanaIR.IG_DEV_RECV

_iguanaIR.IG_DEV_OVERRECV_swigconstant(_iguanaIR)
IG_DEV_OVERRECV = _iguanaIR.IG_DEV_OVERRECV

_iguanaIR.IG_DEV_OVERSEND_swigconstant(_iguanaIR)
IG_DEV_OVERSEND = _iguanaIR.IG_DEV_OVERSEND

_iguanaIR.IG_PULSE_BIT_swigconstant(_iguanaIR)
IG_PULSE_BIT = _iguanaIR.IG_PULSE_BIT

_iguanaIR.IG_PULSE_MASK_swigconstant(_iguanaIR)
IG_PULSE_MASK = _iguanaIR.IG_PULSE_MASK

_iguanaIR.IG_RAWSPACE_BIT_swigconstant(_iguanaIR)
IG_RAWSPACE_BIT = _iguanaIR.IG_RAWSPACE_BIT

_iguanaIR.IG_RAWSPACE_MASK_swigconstant(_iguanaIR)
IG_RAWSPACE_MASK = _iguanaIR.IG_RAWSPACE_MASK

_iguanaIR.IG_HAS_LEDS_swigconstant(_iguanaIR)
IG_HAS_LEDS = _iguanaIR.IG_HAS_LEDS

_iguanaIR.IG_HAS_BOTH_swigconstant(_iguanaIR)
IG_HAS_BOTH = _iguanaIR.IG_HAS_BOTH

_iguanaIR.IG_HAS_SOCKETS_swigconstant(_iguanaIR)
IG_HAS_SOCKETS = _iguanaIR.IG_HAS_SOCKETS

_iguanaIR.IG_HAS_LCD_swigconstant(_iguanaIR)
IG_HAS_LCD = _iguanaIR.IG_HAS_LCD

_iguanaIR.IG_SLOT_DEV_swigconstant(_iguanaIR)
IG_SLOT_DEV = _iguanaIR.IG_SLOT_DEV

_iguanaIR.IG_DEV_GETCONFIG0_swigconstant(_iguanaIR)
IG_DEV_GETCONFIG0 = _iguanaIR.IG_DEV_GETCONFIG0

_iguanaIR.IG_DEV_SETCONFIG0_swigconstant(_iguanaIR)
IG_DEV_SETCONFIG0 = _iguanaIR.IG_DEV_SETCONFIG0

_iguanaIR.IG_DEV_GETCONFIG1_swigconstant(_iguanaIR)
IG_DEV_GETCONFIG1 = _iguanaIR.IG_DEV_GETCONFIG1

_iguanaIR.IG_DEV_SETCONFIG1_swigconstant(_iguanaIR)
IG_DEV_SETCONFIG1 = _iguanaIR.IG_DEV_SETCONFIG1

def close(connection):
    return _iguanaIR.close(connection)
close = _iguanaIR.close

def createRequest(*args):
    return _iguanaIR.createRequest(*args)
createRequest = _iguanaIR.createRequest

def removeData(pkt):
    return _iguanaIR.removeData(pkt)
removeData = _iguanaIR.removeData

def code(pkt):
    return _iguanaIR.code(pkt)
code = _iguanaIR.code

def iguanaFreePacket(pkt):
    return _iguanaIR.iguanaFreePacket(pkt)
iguanaFreePacket = _iguanaIR.iguanaFreePacket

def writeRequest(request, connection):
    return _iguanaIR.writeRequest(request, connection)
writeRequest = _iguanaIR.writeRequest

def responseIsError(response):
    return _iguanaIR.responseIsError(response)
responseIsError = _iguanaIR.responseIsError

def readPulseFile(filename):
    return _iguanaIR.readPulseFile(filename)
readPulseFile = _iguanaIR.readPulseFile

def iguanaReadBlockFile(filename, data):
    return _iguanaIR.iguanaReadBlockFile(filename, data)
iguanaReadBlockFile = _iguanaIR.iguanaReadBlockFile

def iguanaPinSpecToData(value, data, slotDev):
    return _iguanaIR.iguanaPinSpecToData(value, data, slotDev)
iguanaPinSpecToData = _iguanaIR.iguanaPinSpecToData

def iguanaDataToPinSpec(data, slotDev):
    return _iguanaIR.iguanaDataToPinSpec(data, slotDev)
iguanaDataToPinSpec = _iguanaIR.iguanaDataToPinSpec

_iguanaIR.IG_OUTPUT_swigconstant(_iguanaIR)
IG_OUTPUT = _iguanaIR.IG_OUTPUT

_iguanaIR.IG_PULLUP_swigconstant(_iguanaIR)
IG_PULLUP = _iguanaIR.IG_PULLUP

_iguanaIR.IG_OPEN_DRAIN_swigconstant(_iguanaIR)
IG_OPEN_DRAIN = _iguanaIR.IG_OPEN_DRAIN

_iguanaIR.IG_HIGH_SINK_swigconstant(_iguanaIR)
IG_HIGH_SINK = _iguanaIR.IG_HIGH_SINK

_iguanaIR.IG_THRESHOLD_swigconstant(_iguanaIR)
IG_THRESHOLD = _iguanaIR.IG_THRESHOLD

_iguanaIR.IG_PIN_COUNT_swigconstant(_iguanaIR)
IG_PIN_COUNT = _iguanaIR.IG_PIN_COUNT
# This file is compatible with both classic and new-style classes.


