# 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, '_interpreter')).lstrip('.')
        try:
            return importlib.import_module(mname)
        except ImportError:
            return importlib.import_module('_interpreter')
    _interpreter = 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('_interpreter', [dirname(__file__)])
        except ImportError:
            import _interpreter
            return _interpreter
        try:
            _mod = imp.load_module('_interpreter', fp, pathname, description)
        finally:
            if fp is not None:
                fp.close()
        return _mod
    _interpreter = swig_import_helper()
    del swig_import_helper
else:
    import _interpreter
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

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__ = _interpreter.delete_SwigPyIterator
    __del__ = lambda self: None

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

PYTHON_INTERPRETER_VER = _interpreter.PYTHON_INTERPRETER_VER
PYTHON_INTERPRETER_REL = _interpreter.PYTHON_INTERPRETER_REL
class PyInterfaceManager(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, PyInterfaceManager, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, PyInterfaceManager, name)
    __repr__ = _swig_repr

    def __init__(self):
        this = _interpreter.new_PyInterfaceManager()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _interpreter.delete_PyInterfaceManager
    __del__ = lambda self: None

    def getInterface(self, pos):
        return _interpreter.PyInterfaceManager_getInterface(self, pos)

    def indexOf(self, n):
        return _interpreter.PyInterfaceManager_indexOf(self, n)

    def size(self):
        return _interpreter.PyInterfaceManager_size(self)

    def names(self):
        return _interpreter.PyInterfaceManager_names(self)
PyInterfaceManager_swigregister = _interpreter.PyInterfaceManager_swigregister
PyInterfaceManager_swigregister(PyInterfaceManager)

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

    def __init__(self):
        this = _interpreter.new_PyPluginsManager()
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    def getPlugin(self, pos):
        return _interpreter.PyPluginsManager_getPlugin(self, pos)

    def indexOf(self, n):
        return _interpreter.PyPluginsManager_indexOf(self, n)

    def size(self):
        return _interpreter.PyPluginsManager_size(self)

    def names(self):
        return _interpreter.PyPluginsManager_names(self)
    __swig_destroy__ = _interpreter.delete_PyPluginsManager
    __del__ = lambda self: None
PyPluginsManager_swigregister = _interpreter.PyPluginsManager_swigregister
PyPluginsManager_swigregister(PyPluginsManager)

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

    def __init__(self, p):
        this = _interpreter.new_PyInterfaceItem(p)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this
    __swig_destroy__ = _interpreter.delete_PyInterfaceItem
    __del__ = lambda self: None

    def pushOnICDEventCallback(self, clbk):
        return _interpreter.PyInterfaceItem_pushOnICDEventCallback(self, clbk)

    def popOnICDEventCallback(self):
        return _interpreter.PyInterfaceItem_popOnICDEventCallback(self)

    def clearOnICDEventCallback(self):
        return _interpreter.PyInterfaceItem_clearOnICDEventCallback(self)

    def getPluginHandler(self):
        return _interpreter.PyInterfaceItem_getPluginHandler(self)

    def getICDName(self):
        return _interpreter.PyInterfaceItem_getICDName(self)

    def getICDFileName(self):
        return _interpreter.PyInterfaceItem_getICDFileName(self)

    def getMessageNames(self):
        return _interpreter.PyInterfaceItem_getMessageNames(self)

    def isMessageReadOnly(self, msg_name):
        return _interpreter.PyInterfaceItem_isMessageReadOnly(self, msg_name)

    def touchMessage(self, msg_name):
        return _interpreter.PyInterfaceItem_touchMessage(self, msg_name)

    def getMessageId(self, msg_name):
        return _interpreter.PyInterfaceItem_getMessageId(self, msg_name)

    def getMessageUsPeriodTime(self, msg_name):
        return _interpreter.PyInterfaceItem_getMessageUsPeriodTime(self, msg_name)

    def isMessagePeriodic(self, msg_name):
        return _interpreter.PyInterfaceItem_isMessagePeriodic(self, msg_name)

    def getMessageFieldNames(self, msg_name):
        return _interpreter.PyInterfaceItem_getMessageFieldNames(self, msg_name)

    def assignMessageRawData(self, msg_name, raw):
        return _interpreter.PyInterfaceItem_assignMessageRawData(self, msg_name, raw)

    def getMessageRawData(self, msg_name):
        return _interpreter.PyInterfaceItem_getMessageRawData(self, msg_name)

    def setCallbackOnMsgReceived(self, msg_name, clbk):
        return _interpreter.PyInterfaceItem_setCallbackOnMsgReceived(self, msg_name, clbk)

    def getMessageFieldUnit(self, msg_name, field_name):
        return _interpreter.PyInterfaceItem_getMessageFieldUnit(self, msg_name, field_name)

    def getMessageFieldType(self, msg_name, field_name):
        return _interpreter.PyInterfaceItem_getMessageFieldType(self, msg_name, field_name)

    def getMessageFieldValue(self, msg_name, field_name):
        return _interpreter.PyInterfaceItem_getMessageFieldValue(self, msg_name, field_name)

    def getMessageFieldRange(self, msg_name, field_name):
        return _interpreter.PyInterfaceItem_getMessageFieldRange(self, msg_name, field_name)

    def getMessageFieldBound(self, msg_name, field_name):
        return _interpreter.PyInterfaceItem_getMessageFieldBound(self, msg_name, field_name)

    def getMessageFieldWeight(self, msg_name, field_name):
        return _interpreter.PyInterfaceItem_getMessageFieldWeight(self, msg_name, field_name)

    def getMessageFieldWidth(self, msg_name, field_name):
        return _interpreter.PyInterfaceItem_getMessageFieldWidth(self, msg_name, field_name)

    def getMessageFieldOffset(self, msg_name, field_name):
        return _interpreter.PyInterfaceItem_getMessageFieldOffset(self, msg_name, field_name)

    def getMessageFieldOffsetValue(self, msg_name, field_name):
        return _interpreter.PyInterfaceItem_getMessageFieldOffsetValue(self, msg_name, field_name)

    def getMessageFieldValueAsUint(self, msg_name, field_name):
        return _interpreter.PyInterfaceItem_getMessageFieldValueAsUint(self, msg_name, field_name)

    def getMessageFieldValues(self, msg_name, field_name):
        return _interpreter.PyInterfaceItem_getMessageFieldValues(self, msg_name, field_name)

    def assignMessageFieldValue(self, msg_name, field_name, val, force=True):
        return _interpreter.PyInterfaceItem_assignMessageFieldValue(self, msg_name, field_name, val, force)

    def sendLastCommittedMessage(self, msg_name):
        return _interpreter.PyInterfaceItem_sendLastCommittedMessage(self, msg_name)

    def updateRxMessage(self, msg_name):
        return _interpreter.PyInterfaceItem_updateRxMessage(self, msg_name)

    def commitChanges(self):
        return _interpreter.PyInterfaceItem_commitChanges(self)

    def revertChanges(self):
        return _interpreter.PyInterfaceItem_revertChanges(self)

    def start(self):
        return _interpreter.PyInterfaceItem_start(self)

    def stop(self):
        return _interpreter.PyInterfaceItem_stop(self)

    def getSingleMessageSentSz(self, msg_name):
        return _interpreter.PyInterfaceItem_getSingleMessageSentSz(self, msg_name)

    def getSingleMessageReceivedSz(self, msg_name):
        return _interpreter.PyInterfaceItem_getSingleMessageReceivedSz(self, msg_name)

    def getMessageSentSz(self):
        return _interpreter.PyInterfaceItem_getMessageSentSz(self)

    def getMessageReceivedSz(self):
        return _interpreter.PyInterfaceItem_getMessageReceivedSz(self)

    def getMessageErrorSz(self):
        return _interpreter.PyInterfaceItem_getMessageErrorSz(self)

    def getMessageLastError(self):
        return _interpreter.PyInterfaceItem_getMessageLastError(self)

    def getLastChangedMessages(self):
        return _interpreter.PyInterfaceItem_getLastChangedMessages(self)

    def getLastReceivedMessageId(self):
        return _interpreter.PyInterfaceItem_getLastReceivedMessageId(self)

    def getLastReceivedMessageName(self):
        return _interpreter.PyInterfaceItem_getLastReceivedMessageName(self)

    def getLastSentMessageNames(self):
        return _interpreter.PyInterfaceItem_getLastSentMessageNames(self)

    def raiseError(self, msg, severity):
        return _interpreter.PyInterfaceItem_raiseError(self, msg, severity)

    def logStart(self, level, dirName):
        return _interpreter.PyInterfaceItem_logStart(self, level, dirName)

    def logStop(self):
        return _interpreter.PyInterfaceItem_logStop(self)

    def setVerbose(self, arg2):
        return _interpreter.PyInterfaceItem_setVerbose(self, arg2)

    def getVerbose(self):
        return _interpreter.PyInterfaceItem_getVerbose(self)

    def setCommitOnTheFly(self, b):
        return _interpreter.PyInterfaceItem_setCommitOnTheFly(self, b)

    def getCommitOnTheFly(self):
        return _interpreter.PyInterfaceItem_getCommitOnTheFly(self)

    def enableBusErrorInjection(self, err):
        return _interpreter.PyInterfaceItem_enableBusErrorInjection(self, err)

    def disableBusErrorInjection(self):
        return _interpreter.PyInterfaceItem_disableBusErrorInjection(self)

    def getBusErrorInjection(self):
        return _interpreter.PyInterfaceItem_getBusErrorInjection(self)

    def getBusErrorInjectionValues(self):
        return _interpreter.PyInterfaceItem_getBusErrorInjectionValues(self)

    def getBusClockUsPeriodTime(self):
        return _interpreter.PyInterfaceItem_getBusClockUsPeriodTime(self)

    def getBusConfiguration(self):
        return _interpreter.PyInterfaceItem_getBusConfiguration(self)

    def setBusConfiguration(self, xml, persistent=False):
        return _interpreter.PyInterfaceItem_setBusConfiguration(self, xml, persistent)

    __del__ = lambda self: _interpreter.delete_PyInterfaceItem(self)

PyInterfaceItem_swigregister = _interpreter.PyInterfaceItem_swigregister
PyInterfaceItem_swigregister(PyInterfaceItem)

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

    def __init__(self, item):
        this = _interpreter.new_PyPluginHandler(item)
        try:
            self.this.append(this)
        except __builtin__.Exception:
            self.this = this

    def names(self):
        return _interpreter.PyPluginHandler_names(self)

    def onAction(self, arg2):
        return _interpreter.PyPluginHandler_onAction(self, arg2)

    def execAction(self, arg2, dict_args=None, dict_retval=None):
        return _interpreter.PyPluginHandler_execAction(self, arg2, dict_args, dict_retval)

    def evalAction(self, arg2, args=None, kwargs=None):
        return _interpreter.PyPluginHandler_evalAction(self, arg2, args, kwargs)

    def getChecked(self, n):
        return _interpreter.PyPluginHandler_getChecked(self, n)

    def setChecked(self, n, arg3):
        return _interpreter.PyPluginHandler_setChecked(self, n, arg3)

    def isCheckable(self, n):
        return _interpreter.PyPluginHandler_isCheckable(self, n)

    def getActionHelp(self, n):
        return _interpreter.PyPluginHandler_getActionHelp(self, n)
    __swig_destroy__ = _interpreter.delete_PyPluginHandler
    __del__ = lambda self: None
PyPluginHandler_swigregister = _interpreter.PyPluginHandler_swigregister
PyPluginHandler_swigregister(PyPluginHandler)

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


