# This file was automatically generated by SWIG (https://www.swig.org). # Version 4.4.1 # # 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 # Import the low-level C/C++ module if getattr(globals().get("__spec__"), "parent", None) or __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 == "this": set(self, name, value) elif name == "thisown": self.this.own(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) 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) 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) 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)