# This file was automatically generated by SWIG (http://www.swig.org).
# Version 4.0.2
#
# 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):
    raise RuntimeError("Python 2.7 or later required")

# Import the low-level C/C++ module
if __package__ or "." in __name__:
    from . import _pyupm_interfaces
else:
    import _pyupm_interfaces

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 == "thisown":
            self.this.own(value)
        elif name == "this":
            set(self, name, 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__)


class iAcceleration(object):
    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
    __swig_destroy__ = _pyupm_interfaces.delete_iAcceleration

    def getAcceleration(self):
        return _pyupm_interfaces.iAcceleration_getAcceleration(self)

# Register iAcceleration in _pyupm_interfaces:
_pyupm_interfaces.iAcceleration_swigregister(iAcceleration)

class iAngle(object):
    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
    __swig_destroy__ = _pyupm_interfaces.delete_iAngle

    def getAngle(self):
        return _pyupm_interfaces.iAngle_getAngle(self)

# Register iAngle in _pyupm_interfaces:
_pyupm_interfaces.iAngle_swigregister(iAngle)

class iButton(object):
    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
    __swig_destroy__ = _pyupm_interfaces.delete_iButton

    def isPressed(self):
        return _pyupm_interfaces.iButton_isPressed(self)

# Register iButton in _pyupm_interfaces:
_pyupm_interfaces.iButton_swigregister(iButton)

class iClock(object):
    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
    __swig_destroy__ = _pyupm_interfaces.delete_iClock

    def getTime(self):
        return _pyupm_interfaces.iClock_getTime(self)

# Register iClock in _pyupm_interfaces:
_pyupm_interfaces.iClock_swigregister(iClock)

class iCollision(object):
    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
    __swig_destroy__ = _pyupm_interfaces.delete_iCollision

    def isColliding(self):
        return _pyupm_interfaces.iCollision_isColliding(self)

# Register iCollision in _pyupm_interfaces:
_pyupm_interfaces.iCollision_swigregister(iCollision)

DistanceUnit_CM = _pyupm_interfaces.DistanceUnit_CM
DistanceUnit_INCH = _pyupm_interfaces.DistanceUnit_INCH
class iDistance(object):
    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
    __swig_destroy__ = _pyupm_interfaces.delete_iDistance

    def getDistance(self):
        return _pyupm_interfaces.iDistance_getDistance(self)

    @staticmethod
    def convertCmTo(cmValue, unit):
        return _pyupm_interfaces.iDistance_convertCmTo(cmValue, unit)

# Register iDistance in _pyupm_interfaces:
_pyupm_interfaces.iDistance_swigregister(iDistance)

def iDistance_convertCmTo(cmValue, unit):
    return _pyupm_interfaces.iDistance_convertCmTo(cmValue, unit)

class iDistanceInterrupter(object):
    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
    __swig_destroy__ = _pyupm_interfaces.delete_iDistanceInterrupter

    def objectDetected(self):
        return _pyupm_interfaces.iDistanceInterrupter_objectDetected(self)

# Register iDistanceInterrupter in _pyupm_interfaces:
_pyupm_interfaces.iDistanceInterrupter_swigregister(iDistanceInterrupter)

class iEC(object):
    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
    __swig_destroy__ = _pyupm_interfaces.delete_iEC

    def getECValue(self):
        return _pyupm_interfaces.iEC_getECValue(self)

# Register iEC in _pyupm_interfaces:
_pyupm_interfaces.iEC_swigregister(iEC)

class iElectromagnet(object):
    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
    __swig_destroy__ = _pyupm_interfaces.delete_iElectromagnet

    def on(self):
        return _pyupm_interfaces.iElectromagnet_on(self)

    def off(self):
        return _pyupm_interfaces.iElectromagnet_off(self)

# Register iElectromagnet in _pyupm_interfaces:
_pyupm_interfaces.iElectromagnet_swigregister(iElectromagnet)

class iEmg(object):
    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
    __swig_destroy__ = _pyupm_interfaces.delete_iEmg

    def getVolts(self):
        return _pyupm_interfaces.iEmg_getVolts(self)

# Register iEmg in _pyupm_interfaces:
_pyupm_interfaces.iEmg_swigregister(iEmg)

class iGas(object):
    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
    __swig_destroy__ = _pyupm_interfaces.delete_iGas

    def getConcentration(self):
        return _pyupm_interfaces.iGas_getConcentration(self)

# Register iGas in _pyupm_interfaces:
_pyupm_interfaces.iGas_swigregister(iGas)

class iGps(object):
    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
    __swig_destroy__ = _pyupm_interfaces.delete_iGps

    def enable(self, enable):
        return _pyupm_interfaces.iGps_enable(self, enable)

# Register iGps in _pyupm_interfaces:
_pyupm_interfaces.iGps_swigregister(iGps)

class iGyroscope(object):
    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
    __swig_destroy__ = _pyupm_interfaces.delete_iGyroscope

    def getGyroscope(self):
        return _pyupm_interfaces.iGyroscope_getGyroscope(self)

# Register iGyroscope in _pyupm_interfaces:
_pyupm_interfaces.iGyroscope_swigregister(iGyroscope)

class iHallEffect(object):
    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
    __swig_destroy__ = _pyupm_interfaces.delete_iHallEffect

    def magnetDetected(self):
        return _pyupm_interfaces.iHallEffect_magnetDetected(self)

# Register iHallEffect in _pyupm_interfaces:
_pyupm_interfaces.iHallEffect_swigregister(iHallEffect)

class iHeartRate(object):
    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
    __swig_destroy__ = _pyupm_interfaces.delete_iHeartRate

    def getHeartRate(self):
        return _pyupm_interfaces.iHeartRate_getHeartRate(self)

# Register iHeartRate in _pyupm_interfaces:
_pyupm_interfaces.iHeartRate_swigregister(iHeartRate)

class iHumidity(object):
    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
    __swig_destroy__ = _pyupm_interfaces.delete_iHumidity

    def getHumidity(self):
        return _pyupm_interfaces.iHumidity_getHumidity(self)

# Register iHumidity in _pyupm_interfaces:
_pyupm_interfaces.iHumidity_swigregister(iHumidity)

class iLight(object):
    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
    __swig_destroy__ = _pyupm_interfaces.delete_iLight

    def getLuminance(self):
        return _pyupm_interfaces.iLight_getLuminance(self)

# Register iLight in _pyupm_interfaces:
_pyupm_interfaces.iLight_swigregister(iLight)

class iLineFinder(object):
    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
    __swig_destroy__ = _pyupm_interfaces.delete_iLineFinder

    def whiteDetected(self):
        return _pyupm_interfaces.iLineFinder_whiteDetected(self)

    def blackDetected(self):
        return _pyupm_interfaces.iLineFinder_blackDetected(self)

# Register iLineFinder in _pyupm_interfaces:
_pyupm_interfaces.iLineFinder_swigregister(iLineFinder)

class iMagnetometer(object):
    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
    __swig_destroy__ = _pyupm_interfaces.delete_iMagnetometer

    def getMagnetometer(self):
        return _pyupm_interfaces.iMagnetometer_getMagnetometer(self)

# Register iMagnetometer in _pyupm_interfaces:
_pyupm_interfaces.iMagnetometer_swigregister(iMagnetometer)

class iMoisture(object):
    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
    __swig_destroy__ = _pyupm_interfaces.delete_iMoisture

    def getMoisture(self):
        return _pyupm_interfaces.iMoisture_getMoisture(self)

# Register iMoisture in _pyupm_interfaces:
_pyupm_interfaces.iMoisture_swigregister(iMoisture)

class iMotion(object):
    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
    __swig_destroy__ = _pyupm_interfaces.delete_iMotion

    def motionDetected(self):
        return _pyupm_interfaces.iMotion_motionDetected(self)

# Register iMotion in _pyupm_interfaces:
_pyupm_interfaces.iMotion_swigregister(iMotion)

class iOrp(object):
    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
    __swig_destroy__ = _pyupm_interfaces.delete_iOrp

    def getORPValue(self):
        return _pyupm_interfaces.iOrp_getORPValue(self)

# Register iOrp in _pyupm_interfaces:
_pyupm_interfaces.iOrp_swigregister(iOrp)

class iPH(object):
    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
    __swig_destroy__ = _pyupm_interfaces.delete_iPH

    def getPH(self):
        return _pyupm_interfaces.iPH_getPH(self)

# Register iPH in _pyupm_interfaces:
_pyupm_interfaces.iPH_swigregister(iPH)

PressureUnit_PA = _pyupm_interfaces.PressureUnit_PA
PressureUnit_BAR = _pyupm_interfaces.PressureUnit_BAR
PressureUnit_ATM = _pyupm_interfaces.PressureUnit_ATM
PressureUnit_TORR = _pyupm_interfaces.PressureUnit_TORR
PressureUnit_PSI = _pyupm_interfaces.PressureUnit_PSI
class iPressure(object):
    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
    __swig_destroy__ = _pyupm_interfaces.delete_iPressure

    def getPressure(self):
        return _pyupm_interfaces.iPressure_getPressure(self)

    @staticmethod
    def convertPaTo(paValue, unit):
        return _pyupm_interfaces.iPressure_convertPaTo(paValue, unit)

# Register iPressure in _pyupm_interfaces:
_pyupm_interfaces.iPressure_swigregister(iPressure)

def iPressure_convertPaTo(paValue, unit):
    return _pyupm_interfaces.iPressure_convertPaTo(paValue, unit)

class iProximity(object):
    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
    __swig_destroy__ = _pyupm_interfaces.delete_iProximity

    def getValue(self):
        return _pyupm_interfaces.iProximity_getValue(self)

# Register iProximity in _pyupm_interfaces:
_pyupm_interfaces.iProximity_swigregister(iProximity)

TemperatureUnit_FAHRENHEIT = _pyupm_interfaces.TemperatureUnit_FAHRENHEIT
TemperatureUnit_KELVIN = _pyupm_interfaces.TemperatureUnit_KELVIN
TemperatureUnit_CELSIUS = _pyupm_interfaces.TemperatureUnit_CELSIUS
class iTemperature(object):
    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
    __swig_destroy__ = _pyupm_interfaces.delete_iTemperature

    def getTemperature(self):
        return _pyupm_interfaces.iTemperature_getTemperature(self)

    @staticmethod
    def convertCelsiusTo(celsiusValue, unit):
        return _pyupm_interfaces.iTemperature_convertCelsiusTo(celsiusValue, unit)

# Register iTemperature in _pyupm_interfaces:
_pyupm_interfaces.iTemperature_swigregister(iTemperature)

def iTemperature_convertCelsiusTo(celsiusValue, unit):
    return _pyupm_interfaces.iTemperature_convertCelsiusTo(celsiusValue, unit)

class iVDiv(object):
    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
    __swig_destroy__ = _pyupm_interfaces.delete_iVDiv

    def getValue(self):
        return _pyupm_interfaces.iVDiv_getValue(self)

# Register iVDiv in _pyupm_interfaces:
_pyupm_interfaces.iVDiv_swigregister(iVDiv)

class iWater(object):
    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
    __swig_destroy__ = _pyupm_interfaces.delete_iWater

    def isWet(self):
        return _pyupm_interfaces.iWater_isWet(self)

# Register iWater in _pyupm_interfaces:
_pyupm_interfaces.iWater_swigregister(iWater)



