# This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.12
#
# 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):
    def swig_import_helper():
        import importlib
        pkg = __name__.rpartition('.')[0]
        mname = '.'.join((pkg, '_pyupm_nmea_gps')).lstrip('.')
        try:
            return importlib.import_module(mname)
        except ImportError:
            return importlib.import_module('_pyupm_nmea_gps')
    _pyupm_nmea_gps = swig_import_helper()
    del swig_import_helper
elif _swig_python_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('_pyupm_nmea_gps', [dirname(__file__)])
        except ImportError:
            import _pyupm_nmea_gps
            return _pyupm_nmea_gps
        try:
            _mod = imp.load_module('_pyupm_nmea_gps', fp, pathname, description)
        finally:
            if fp is not None:
                fp.close()
        return _mod
    _pyupm_nmea_gps = swig_import_helper()
    del swig_import_helper
else:
    import _pyupm_nmea_gps
del _swig_python_version_info

try:
    _swig_property = property
except NameError:
    pass  # Python < 2.2 doesn't have 'property'.

try:
    import builtins as __builtin__
except ImportError:
    import __builtin__

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(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("'%s' object has no attribute '%s'" % (class_type.__name__, name))


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,)

try:
    _object = object
    _newclass = 1
except __builtin__.Exception:
    class _object:
        pass
    _newclass = 0


def getVersion():
    return _pyupm_nmea_gps.getVersion()
getVersion = _pyupm_nmea_gps.getVersion
class SwigPyIterator(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, SwigPyIterator, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, SwigPyIterator, name)

    def __init__(self, *args, **kwargs):
        raise AttributeError("No constructor defined - class is abstract")
    __repr__ = _swig_repr
    __swig_destroy__ = _pyupm_nmea_gps.delete_SwigPyIterator
    __del__ = lambda self: None

    def value(self):
        return _pyupm_nmea_gps.SwigPyIterator_value(self)

    def incr(self, n=1):
        return _pyupm_nmea_gps.SwigPyIterator_incr(self, n)

    def decr(self, n=1):
        return _pyupm_nmea_gps.SwigPyIterator_decr(self, n)

    def distance(self, x):
        return _pyupm_nmea_gps.SwigPyIterator_distance(self, x)

    def equal(self, x):
        return _pyupm_nmea_gps.SwigPyIterator_equal(self, x)

    def copy(self):
        return _pyupm_nmea_gps.SwigPyIterator_copy(self)

    def next(self):
        return _pyupm_nmea_gps.SwigPyIterator_next(self)

    def __next__(self):
        return _pyupm_nmea_gps.SwigPyIterator___next__(self)

    def previous(self):
        return _pyupm_nmea_gps.SwigPyIterator_previous(self)

    def advance(self, n):
        return _pyupm_nmea_gps.SwigPyIterator_advance(self, n)

    def __eq__(self, x):
        return _pyupm_nmea_gps.SwigPyIterator___eq__(self, x)

    def __ne__(self, x):
        return _pyupm_nmea_gps.SwigPyIterator___ne__(self, x)

    def __iadd__(self, n):
        return _pyupm_nmea_gps.SwigPyIterator___iadd__(self, n)

    def __isub__(self, n):
        return _pyupm_nmea_gps.SwigPyIterator___isub__(self, n)

    def __add__(self, n):
        return _pyupm_nmea_gps.SwigPyIterator___add__(self, n)

    def __sub__(self, *args):
        return _pyupm_nmea_gps.SwigPyIterator___sub__(self, *args)
    def __iter__(self):
        return self
SwigPyIterator_swigregister = _pyupm_nmea_gps.SwigPyIterator_swigregister
SwigPyIterator_swigregister(SwigPyIterator)

class satellitevec(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, satellitevec, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, satellitevec, name)
    __repr__ = _swig_repr

    def iterator(self):
        return _pyupm_nmea_gps.satellitevec_iterator(self)
    def __iter__(self):
        return self.iterator()

    def __nonzero__(self):
        return _pyupm_nmea_gps.satellitevec___nonzero__(self)

    def __bool__(self):
        return _pyupm_nmea_gps.satellitevec___bool__(self)

    def __len__(self):
        return _pyupm_nmea_gps.satellitevec___len__(self)

    def __getslice__(self, i, j):
        return _pyupm_nmea_gps.satellitevec___getslice__(self, i, j)

    def __setslice__(self, *args):
        return _pyupm_nmea_gps.satellitevec___setslice__(self, *args)

    def __delslice__(self, i, j):
        return _pyupm_nmea_gps.satellitevec___delslice__(self, i, j)

    def __delitem__(self, *args):
        return _pyupm_nmea_gps.satellitevec___delitem__(self, *args)

    def __getitem__(self, *args):
        return _pyupm_nmea_gps.satellitevec___getitem__(self, *args)

    def __setitem__(self, *args):
        return _pyupm_nmea_gps.satellitevec___setitem__(self, *args)

    def pop(self):
        return _pyupm_nmea_gps.satellitevec_pop(self)

    def append(self, x):
        return _pyupm_nmea_gps.satellitevec_append(self, x)

    def empty(self):
        return _pyupm_nmea_gps.satellitevec_empty(self)

    def size(self):
        return _pyupm_nmea_gps.satellitevec_size(self)

    def swap(self, v):
        return _pyupm_nmea_gps.satellitevec_swap(self, v)

    def begin(self):
        return _pyupm_nmea_gps.satellitevec_begin(self)

    def end(self):
        return _pyupm_nmea_gps.satellitevec_end(self)

    def rbegin(self):
        return _pyupm_nmea_gps.satellitevec_rbegin(self)

    def rend(self):
        return _pyupm_nmea_gps.satellitevec_rend(self)

    def clear(self):
        return _pyupm_nmea_gps.satellitevec_clear(self)

    def get_allocator(self):
        return _pyupm_nmea_gps.satellitevec_get_allocator(self)

    def pop_back(self):
        return _pyupm_nmea_gps.satellitevec_pop_back(self)

    def erase(self, *args):
        return _pyupm_nmea_gps.satellitevec_erase(self, *args)

    def __init__(self, *args):
        this = _pyupm_nmea_gps.new_satellitevec(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    def push_back(self, x):
        return _pyupm_nmea_gps.satellitevec_push_back(self, x)

    def front(self):
        return _pyupm_nmea_gps.satellitevec_front(self)

    def back(self):
        return _pyupm_nmea_gps.satellitevec_back(self)

    def assign(self, n, x):
        return _pyupm_nmea_gps.satellitevec_assign(self, n, x)

    def resize(self, *args):
        return _pyupm_nmea_gps.satellitevec_resize(self, *args)

    def insert(self, *args):
        return _pyupm_nmea_gps.satellitevec_insert(self, *args)

    def reserve(self, n):
        return _pyupm_nmea_gps.satellitevec_reserve(self, n)

    def capacity(self):
        return _pyupm_nmea_gps.satellitevec_capacity(self)
    __swig_destroy__ = _pyupm_nmea_gps.delete_satellitevec
    __del__ = lambda self: None
satellitevec_swigregister = _pyupm_nmea_gps.satellitevec_swigregister
satellitevec_swigregister(satellitevec)

class coord_DD(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, coord_DD, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, coord_DD, name)
    __repr__ = _swig_repr
    __swig_setmethods__["latitude"] = _pyupm_nmea_gps.coord_DD_latitude_set
    __swig_getmethods__["latitude"] = _pyupm_nmea_gps.coord_DD_latitude_get
    if _newclass:
        latitude = _swig_property(_pyupm_nmea_gps.coord_DD_latitude_get, _pyupm_nmea_gps.coord_DD_latitude_set)
    __swig_setmethods__["longitude"] = _pyupm_nmea_gps.coord_DD_longitude_set
    __swig_getmethods__["longitude"] = _pyupm_nmea_gps.coord_DD_longitude_get
    if _newclass:
        longitude = _swig_property(_pyupm_nmea_gps.coord_DD_longitude_get, _pyupm_nmea_gps.coord_DD_longitude_set)

    def __str__(self):
        return _pyupm_nmea_gps.coord_DD___str__(self)

    def __init__(self):
        this = _pyupm_nmea_gps.new_coord_DD()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _pyupm_nmea_gps.delete_coord_DD
    __del__ = lambda self: None
coord_DD_swigregister = _pyupm_nmea_gps.coord_DD_swigregister
coord_DD_swigregister(coord_DD)

class satellite(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, satellite, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, satellite, name)
    __repr__ = _swig_repr
    __swig_setmethods__["prn"] = _pyupm_nmea_gps.satellite_prn_set
    __swig_getmethods__["prn"] = _pyupm_nmea_gps.satellite_prn_get
    if _newclass:
        prn = _swig_property(_pyupm_nmea_gps.satellite_prn_get, _pyupm_nmea_gps.satellite_prn_set)
    __swig_setmethods__["elevation_deg"] = _pyupm_nmea_gps.satellite_elevation_deg_set
    __swig_getmethods__["elevation_deg"] = _pyupm_nmea_gps.satellite_elevation_deg_get
    if _newclass:
        elevation_deg = _swig_property(_pyupm_nmea_gps.satellite_elevation_deg_get, _pyupm_nmea_gps.satellite_elevation_deg_set)
    __swig_setmethods__["azimuth_deg"] = _pyupm_nmea_gps.satellite_azimuth_deg_set
    __swig_getmethods__["azimuth_deg"] = _pyupm_nmea_gps.satellite_azimuth_deg_get
    if _newclass:
        azimuth_deg = _swig_property(_pyupm_nmea_gps.satellite_azimuth_deg_get, _pyupm_nmea_gps.satellite_azimuth_deg_set)
    __swig_setmethods__["snr"] = _pyupm_nmea_gps.satellite_snr_set
    __swig_getmethods__["snr"] = _pyupm_nmea_gps.satellite_snr_get
    if _newclass:
        snr = _swig_property(_pyupm_nmea_gps.satellite_snr_get, _pyupm_nmea_gps.satellite_snr_set)

    def __init__(self, *args):
        this = _pyupm_nmea_gps.new_satellite(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    def __str__(self):
        return _pyupm_nmea_gps.satellite___str__(self)
    __swig_destroy__ = _pyupm_nmea_gps.delete_satellite
    __del__ = lambda self: None
satellite_swigregister = _pyupm_nmea_gps.satellite_swigregister
satellite_swigregister(satellite)

class nmeatxt(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, nmeatxt, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, nmeatxt, name)
    __repr__ = _swig_repr
    __swig_setmethods__["severity"] = _pyupm_nmea_gps.nmeatxt_severity_set
    __swig_getmethods__["severity"] = _pyupm_nmea_gps.nmeatxt_severity_get
    if _newclass:
        severity = _swig_property(_pyupm_nmea_gps.nmeatxt_severity_get, _pyupm_nmea_gps.nmeatxt_severity_set)
    __swig_setmethods__["message"] = _pyupm_nmea_gps.nmeatxt_message_set
    __swig_getmethods__["message"] = _pyupm_nmea_gps.nmeatxt_message_get
    if _newclass:
        message = _swig_property(_pyupm_nmea_gps.nmeatxt_message_get, _pyupm_nmea_gps.nmeatxt_message_set)

    def __init__(self, *args):
        this = _pyupm_nmea_gps.new_nmeatxt(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    def __str__(self):
        return _pyupm_nmea_gps.nmeatxt___str__(self)
    __swig_destroy__ = _pyupm_nmea_gps.delete_nmeatxt
    __del__ = lambda self: None
nmeatxt_swigregister = _pyupm_nmea_gps.nmeatxt_swigregister
nmeatxt_swigregister(nmeatxt)

gps_fix_quality_no_fix = _pyupm_nmea_gps.gps_fix_quality_no_fix
gps_fix_quality_fix_sp = _pyupm_nmea_gps.gps_fix_quality_fix_sp
gps_fix_quality_fix_dp = _pyupm_nmea_gps.gps_fix_quality_fix_dp
gps_fix_quality_fix_pps = _pyupm_nmea_gps.gps_fix_quality_fix_pps
gps_fix_quality_fix_rtk = _pyupm_nmea_gps.gps_fix_quality_fix_rtk
gps_fix_quality_fix_frtk = _pyupm_nmea_gps.gps_fix_quality_fix_frtk
gps_fix_quality_fix_dr = _pyupm_nmea_gps.gps_fix_quality_fix_dr
gps_fix_quality_fix_manual = _pyupm_nmea_gps.gps_fix_quality_fix_manual
gps_fix_quality_fix_simulation = _pyupm_nmea_gps.gps_fix_quality_fix_simulation
class gps_fix(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, gps_fix, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, gps_fix, name)
    __repr__ = _swig_repr
    __swig_setmethods__["coordinates"] = _pyupm_nmea_gps.gps_fix_coordinates_set
    __swig_getmethods__["coordinates"] = _pyupm_nmea_gps.gps_fix_coordinates_get
    if _newclass:
        coordinates = _swig_property(_pyupm_nmea_gps.gps_fix_coordinates_get, _pyupm_nmea_gps.gps_fix_coordinates_set)
    __swig_setmethods__["time_utc"] = _pyupm_nmea_gps.gps_fix_time_utc_set
    __swig_getmethods__["time_utc"] = _pyupm_nmea_gps.gps_fix_time_utc_get
    if _newclass:
        time_utc = _swig_property(_pyupm_nmea_gps.gps_fix_time_utc_get, _pyupm_nmea_gps.gps_fix_time_utc_set)
    __swig_setmethods__["quality"] = _pyupm_nmea_gps.gps_fix_quality_set
    __swig_getmethods__["quality"] = _pyupm_nmea_gps.gps_fix_quality_get
    if _newclass:
        quality = _swig_property(_pyupm_nmea_gps.gps_fix_quality_get, _pyupm_nmea_gps.gps_fix_quality_set)
    __swig_setmethods__["satellites"] = _pyupm_nmea_gps.gps_fix_satellites_set
    __swig_getmethods__["satellites"] = _pyupm_nmea_gps.gps_fix_satellites_get
    if _newclass:
        satellites = _swig_property(_pyupm_nmea_gps.gps_fix_satellites_get, _pyupm_nmea_gps.gps_fix_satellites_set)
    __swig_setmethods__["hdop"] = _pyupm_nmea_gps.gps_fix_hdop_set
    __swig_getmethods__["hdop"] = _pyupm_nmea_gps.gps_fix_hdop_get
    if _newclass:
        hdop = _swig_property(_pyupm_nmea_gps.gps_fix_hdop_get, _pyupm_nmea_gps.gps_fix_hdop_set)
    __swig_setmethods__["altitude_meters"] = _pyupm_nmea_gps.gps_fix_altitude_meters_set
    __swig_getmethods__["altitude_meters"] = _pyupm_nmea_gps.gps_fix_altitude_meters_get
    if _newclass:
        altitude_meters = _swig_property(_pyupm_nmea_gps.gps_fix_altitude_meters_get, _pyupm_nmea_gps.gps_fix_altitude_meters_set)
    __swig_setmethods__["geoid_height_meters"] = _pyupm_nmea_gps.gps_fix_geoid_height_meters_set
    __swig_getmethods__["geoid_height_meters"] = _pyupm_nmea_gps.gps_fix_geoid_height_meters_get
    if _newclass:
        geoid_height_meters = _swig_property(_pyupm_nmea_gps.gps_fix_geoid_height_meters_get, _pyupm_nmea_gps.gps_fix_geoid_height_meters_set)
    __swig_setmethods__["age_seconds"] = _pyupm_nmea_gps.gps_fix_age_seconds_set
    __swig_getmethods__["age_seconds"] = _pyupm_nmea_gps.gps_fix_age_seconds_get
    if _newclass:
        age_seconds = _swig_property(_pyupm_nmea_gps.gps_fix_age_seconds_get, _pyupm_nmea_gps.gps_fix_age_seconds_set)
    __swig_setmethods__["station_id"] = _pyupm_nmea_gps.gps_fix_station_id_set
    __swig_getmethods__["station_id"] = _pyupm_nmea_gps.gps_fix_station_id_get
    if _newclass:
        station_id = _swig_property(_pyupm_nmea_gps.gps_fix_station_id_get, _pyupm_nmea_gps.gps_fix_station_id_set)
    __swig_setmethods__["valid"] = _pyupm_nmea_gps.gps_fix_valid_set
    __swig_getmethods__["valid"] = _pyupm_nmea_gps.gps_fix_valid_get
    if _newclass:
        valid = _swig_property(_pyupm_nmea_gps.gps_fix_valid_get, _pyupm_nmea_gps.gps_fix_valid_set)
    __swig_setmethods__["chksum_match"] = _pyupm_nmea_gps.gps_fix_chksum_match_set
    __swig_getmethods__["chksum_match"] = _pyupm_nmea_gps.gps_fix_chksum_match_get
    if _newclass:
        chksum_match = _swig_property(_pyupm_nmea_gps.gps_fix_chksum_match_get, _pyupm_nmea_gps.gps_fix_chksum_match_set)

    def __str__(self):
        return _pyupm_nmea_gps.gps_fix___str__(self)

    def __init__(self):
        this = _pyupm_nmea_gps.new_gps_fix()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _pyupm_nmea_gps.delete_gps_fix
    __del__ = lambda self: None
gps_fix_swigregister = _pyupm_nmea_gps.gps_fix_swigregister
gps_fix_swigregister(gps_fix)

class NMEAGPS(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, NMEAGPS, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, NMEAGPS, name)
    __repr__ = _swig_repr

    def __init__(self, *args):
        this = _pyupm_nmea_gps.new_NMEAGPS(*args)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _pyupm_nmea_gps.delete_NMEAGPS
    __del__ = lambda self: None

    def readStr(self, size):
        return _pyupm_nmea_gps.NMEAGPS_readStr(self, size)

    def writeStr(self, buffer):
        return _pyupm_nmea_gps.NMEAGPS_writeStr(self, buffer)

    def enable(self, enable):
        return _pyupm_nmea_gps.NMEAGPS_enable(self, enable)

    def setBaudrate(self, baudrate):
        return _pyupm_nmea_gps.NMEAGPS_setBaudrate(self, baudrate)

    def dataAvailable(self, millis):
        return _pyupm_nmea_gps.NMEAGPS_dataAvailable(self, millis)

    def getMaxQueueDepth(self):
        return _pyupm_nmea_gps.NMEAGPS_getMaxQueueDepth(self)

    def setMaxQueueDepth(self, depth):
        return _pyupm_nmea_gps.NMEAGPS_setMaxQueueDepth(self, depth)

    def parseStart(self):
        return _pyupm_nmea_gps.NMEAGPS_parseStart(self)

    def parseStop(self):
        return _pyupm_nmea_gps.NMEAGPS_parseStop(self)

    def isRunning(self):
        return _pyupm_nmea_gps.NMEAGPS_isRunning(self)

    def getFix(self):
        return _pyupm_nmea_gps.NMEAGPS_getFix(self)

    def getRawSentence(self):
        return _pyupm_nmea_gps.NMEAGPS_getRawSentence(self)

    def getTxtMessage(self):
        return _pyupm_nmea_gps.NMEAGPS_getTxtMessage(self)

    def fixQueueSize(self):
        return _pyupm_nmea_gps.NMEAGPS_fixQueueSize(self)

    def rawSentenceQueueSize(self):
        return _pyupm_nmea_gps.NMEAGPS_rawSentenceQueueSize(self)

    def txtMessageQueueSize(self):
        return _pyupm_nmea_gps.NMEAGPS_txtMessageQueueSize(self)

    def parseNMEASentence(self, sentence):
        return _pyupm_nmea_gps.NMEAGPS_parseNMEASentence(self, sentence)

    def satellites(self):
        return _pyupm_nmea_gps.NMEAGPS_satellites(self)

    def sentencesPerSecond(self):
        return _pyupm_nmea_gps.NMEAGPS_sentencesPerSecond(self)

    def bytesPerSecond(self):
        return _pyupm_nmea_gps.NMEAGPS_bytesPerSecond(self)

    def __str__(self):
        return _pyupm_nmea_gps.NMEAGPS___str__(self)
NMEAGPS_swigregister = _pyupm_nmea_gps.NMEAGPS_swigregister
NMEAGPS_swigregister(NMEAGPS)

# This file is compatible with both classic and new-style classes.


