# This file was automatically generated by SWIG (https://www.swig.org). # Version 4.1.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 __package__ or "." in __name__: from . import _loader else: from arc import _loader 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 SwigPyIterator(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__ = _loader.delete_SwigPyIterator def value(self): return _loader.SwigPyIterator_value(self) def incr(self, n=1): return _loader.SwigPyIterator_incr(self, n) def decr(self, n=1): return _loader.SwigPyIterator_decr(self, n) def distance(self, x): return _loader.SwigPyIterator_distance(self, x) def equal(self, x): return _loader.SwigPyIterator_equal(self, x) def copy(self): return _loader.SwigPyIterator_copy(self) def next(self): return _loader.SwigPyIterator_next(self) def __next__(self): return _loader.SwigPyIterator___next__(self) def previous(self): return _loader.SwigPyIterator_previous(self) def advance(self, n): return _loader.SwigPyIterator_advance(self, n) def __eq__(self, x): return _loader.SwigPyIterator___eq__(self, x) def __ne__(self, x): return _loader.SwigPyIterator___ne__(self, x) def __iadd__(self, n): return _loader.SwigPyIterator___iadd__(self, n) def __isub__(self, n): return _loader.SwigPyIterator___isub__(self, n) def __add__(self, n): return _loader.SwigPyIterator___add__(self, n) def __sub__(self, *args): return _loader.SwigPyIterator___sub__(self, *args) def __iter__(self): return self # Register SwigPyIterator in _loader: _loader.SwigPyIterator_swigregister(SwigPyIterator) import warnings def deprecated(method): """This decorator is used to mark python methods as deprecated, _not_ functions. It will result in a warning being emmitted when the method is used.""" def newMethod(*args, **kwargs): warnings.warn("Call to deprecated method 'arc.%s.%s'." % (args[0].__class__.__name__, method.__name__), category = DeprecationWarning, stacklevel = 2) return method(*args, **kwargs) newMethod.__name__ = method.__name__ newMethod.__doc__ = method.__doc__ newMethod.__dict__.update(method.__dict__) return newMethod class StaticPropertyWrapper(object): def __init__(self, wrapped_class): object.__setattr__(self, "wrapped_class", wrapped_class) def __getattr__(self, name): orig_attr = getattr(self.wrapped_class, name) if isinstance(orig_attr, property): return orig_attr.fget() else: return orig_attr def __setattr__(self, name, value): orig_attr = getattr(self.wrapped_class, name) if isinstance(orig_attr, property): orig_attr.fset(value) else: setattr(self.wrapped_class, name, value) ARC_MODULE_CONSTRUCTOR_SYMB = _loader.ARC_MODULE_CONSTRUCTOR_SYMB ARC_MODULE_DESTRUCTOR_SYMB = _loader.ARC_MODULE_DESTRUCTOR_SYMB class ModuleManager(object): thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") __repr__ = _swig_repr def __init__(self, cfg): _loader.ModuleManager_swiginit(self, _loader.new_ModuleManager(cfg)) __swig_destroy__ = _loader.delete_ModuleManager def load(self, name, probe): return _loader.ModuleManager_load(self, name, probe) def find(self, name): return _loader.ModuleManager_find(self, name) def reload(self, module): return _loader.ModuleManager_reload(self, module) def unload(self, module): return _loader.ModuleManager_unload(self, module) def use(self, module): return _loader.ModuleManager_use(self, module) def unuse(self, module): return _loader.ModuleManager_unuse(self, module) def findLocation(self, name): return _loader.ModuleManager_findLocation(self, name) def makePersistent(self, *args): return _loader.ModuleManager_makePersistent(self, *args) def setCfg(self, cfg): return _loader.ModuleManager_setCfg(self, cfg) # Register ModuleManager in _loader: _loader.ModuleManager_swigregister(ModuleManager) ARC_PLUGIN_DEFAULT_PRIORITY = _loader.ARC_PLUGIN_DEFAULT_PRIORITY class PluginArgument(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") __repr__ = _swig_repr __swig_destroy__ = _loader.delete_PluginArgument def get_factory(self): return _loader.PluginArgument_get_factory(self) def get_module(self): return _loader.PluginArgument_get_module(self) # Register PluginArgument in _loader: _loader.PluginArgument_swigregister(PluginArgument) class Plugin(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") __repr__ = _swig_repr __swig_destroy__ = _loader.delete_Plugin # Register Plugin in _loader: _loader.Plugin_swigregister(Plugin) ARC_PLUGINS_TABLE_SYMB = _loader.ARC_PLUGINS_TABLE_SYMB class PluginDescriptor(object): thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") __repr__ = _swig_repr name = property(_loader.PluginDescriptor_name_get, _loader.PluginDescriptor_name_set) kind = property(_loader.PluginDescriptor_kind_get, _loader.PluginDescriptor_kind_set) description = property(_loader.PluginDescriptor_description_get, _loader.PluginDescriptor_description_set) version = property(_loader.PluginDescriptor_version_get, _loader.PluginDescriptor_version_set) instance = property(_loader.PluginDescriptor_instance_get, _loader.PluginDescriptor_instance_set) def __init__(self): _loader.PluginDescriptor_swiginit(self, _loader.new_PluginDescriptor()) __swig_destroy__ = _loader.delete_PluginDescriptor # Register PluginDescriptor in _loader: _loader.PluginDescriptor_swigregister(PluginDescriptor) cvar = _loader.cvar class PluginDesc(object): thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") __repr__ = _swig_repr name = property(_loader.PluginDesc_name_get, _loader.PluginDesc_name_set) kind = property(_loader.PluginDesc_kind_get, _loader.PluginDesc_kind_set) description = property(_loader.PluginDesc_description_get, _loader.PluginDesc_description_set) version = property(_loader.PluginDesc_version_get, _loader.PluginDesc_version_set) priority = property(_loader.PluginDesc_priority_get, _loader.PluginDesc_priority_set) def __init__(self): _loader.PluginDesc_swiginit(self, _loader.new_PluginDesc()) __swig_destroy__ = _loader.delete_PluginDesc # Register PluginDesc in _loader: _loader.PluginDesc_swigregister(PluginDesc) class ModuleDesc(object): thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") __repr__ = _swig_repr name = property(_loader.ModuleDesc_name_get, _loader.ModuleDesc_name_set) plugins = property(_loader.ModuleDesc_plugins_get, _loader.ModuleDesc_plugins_set) def __init__(self): _loader.ModuleDesc_swiginit(self, _loader.new_ModuleDesc()) __swig_destroy__ = _loader.delete_ModuleDesc # Register ModuleDesc in _loader: _loader.ModuleDesc_swigregister(ModuleDesc) class PluginsFactory(ModuleManager): thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") __repr__ = _swig_repr def __init__(self, cfg): _loader.PluginsFactory_swiginit(self, _loader.new_PluginsFactory(cfg)) def get_instance(self, *args): return _loader.PluginsFactory_get_instance(self, *args) def load(self, *args): return _loader.PluginsFactory_load(self, *args) def scan(self, *args): return _loader.PluginsFactory_scan(self, *args) def report(self, descs): return _loader.PluginsFactory_report(self, descs) @staticmethod def FilterByKind(kind, descs): return _loader.PluginsFactory_FilterByKind(kind, descs) __swig_destroy__ = _loader.delete_PluginsFactory # Register PluginsFactory in _loader: _loader.PluginsFactory_swigregister(PluginsFactory) class ModuleDescList(object): thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") __repr__ = _swig_repr def iterator(self): return _loader.ModuleDescList_iterator(self) def __iter__(self): return self.iterator() def __nonzero__(self): return _loader.ModuleDescList___nonzero__(self) def __bool__(self): return _loader.ModuleDescList___bool__(self) def __len__(self): return _loader.ModuleDescList___len__(self) def __getslice__(self, i, j): return _loader.ModuleDescList___getslice__(self, i, j) def __setslice__(self, *args): return _loader.ModuleDescList___setslice__(self, *args) def __delslice__(self, i, j): return _loader.ModuleDescList___delslice__(self, i, j) def __delitem__(self, *args): return _loader.ModuleDescList___delitem__(self, *args) def __getitem__(self, *args): return _loader.ModuleDescList___getitem__(self, *args) def __setitem__(self, *args): return _loader.ModuleDescList___setitem__(self, *args) def pop(self): return _loader.ModuleDescList_pop(self) def append(self, x): return _loader.ModuleDescList_append(self, x) def empty(self): return _loader.ModuleDescList_empty(self) def size(self): return _loader.ModuleDescList_size(self) def swap(self, v): return _loader.ModuleDescList_swap(self, v) def begin(self): return _loader.ModuleDescList_begin(self) def end(self): return _loader.ModuleDescList_end(self) def rbegin(self): return _loader.ModuleDescList_rbegin(self) def rend(self): return _loader.ModuleDescList_rend(self) def clear(self): return _loader.ModuleDescList_clear(self) def get_allocator(self): return _loader.ModuleDescList_get_allocator(self) def pop_back(self): return _loader.ModuleDescList_pop_back(self) def erase(self, *args): return _loader.ModuleDescList_erase(self, *args) def __init__(self, *args): _loader.ModuleDescList_swiginit(self, _loader.new_ModuleDescList(*args)) def push_back(self, x): return _loader.ModuleDescList_push_back(self, x) def front(self): return _loader.ModuleDescList_front(self) def back(self): return _loader.ModuleDescList_back(self) def assign(self, n, x): return _loader.ModuleDescList_assign(self, n, x) def resize(self, *args): return _loader.ModuleDescList_resize(self, *args) def insert(self, *args): return _loader.ModuleDescList_insert(self, *args) def pop_front(self): return _loader.ModuleDescList_pop_front(self) def push_front(self, x): return _loader.ModuleDescList_push_front(self, x) def reverse(self): return _loader.ModuleDescList_reverse(self) __swig_destroy__ = _loader.delete_ModuleDescList # Register ModuleDescList in _loader: _loader.ModuleDescList_swigregister(ModuleDescList) class PluginDescList(object): thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") __repr__ = _swig_repr def iterator(self): return _loader.PluginDescList_iterator(self) def __iter__(self): return self.iterator() def __nonzero__(self): return _loader.PluginDescList___nonzero__(self) def __bool__(self): return _loader.PluginDescList___bool__(self) def __len__(self): return _loader.PluginDescList___len__(self) def __getslice__(self, i, j): return _loader.PluginDescList___getslice__(self, i, j) def __setslice__(self, *args): return _loader.PluginDescList___setslice__(self, *args) def __delslice__(self, i, j): return _loader.PluginDescList___delslice__(self, i, j) def __delitem__(self, *args): return _loader.PluginDescList___delitem__(self, *args) def __getitem__(self, *args): return _loader.PluginDescList___getitem__(self, *args) def __setitem__(self, *args): return _loader.PluginDescList___setitem__(self, *args) def pop(self): return _loader.PluginDescList_pop(self) def append(self, x): return _loader.PluginDescList_append(self, x) def empty(self): return _loader.PluginDescList_empty(self) def size(self): return _loader.PluginDescList_size(self) def swap(self, v): return _loader.PluginDescList_swap(self, v) def begin(self): return _loader.PluginDescList_begin(self) def end(self): return _loader.PluginDescList_end(self) def rbegin(self): return _loader.PluginDescList_rbegin(self) def rend(self): return _loader.PluginDescList_rend(self) def clear(self): return _loader.PluginDescList_clear(self) def get_allocator(self): return _loader.PluginDescList_get_allocator(self) def pop_back(self): return _loader.PluginDescList_pop_back(self) def erase(self, *args): return _loader.PluginDescList_erase(self, *args) def __init__(self, *args): _loader.PluginDescList_swiginit(self, _loader.new_PluginDescList(*args)) def push_back(self, x): return _loader.PluginDescList_push_back(self, x) def front(self): return _loader.PluginDescList_front(self) def back(self): return _loader.PluginDescList_back(self) def assign(self, n, x): return _loader.PluginDescList_assign(self, n, x) def resize(self, *args): return _loader.PluginDescList_resize(self, *args) def insert(self, *args): return _loader.PluginDescList_insert(self, *args) def pop_front(self): return _loader.PluginDescList_pop_front(self) def push_front(self, x): return _loader.PluginDescList_push_front(self, x) def reverse(self): return _loader.PluginDescList_reverse(self) __swig_destroy__ = _loader.delete_PluginDescList # Register PluginDescList in _loader: _loader.PluginDescList_swigregister(PluginDescList) class Loader(object): thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") __repr__ = _swig_repr logger = property(_loader.Loader_logger_get) def __init__(self, *args): _loader.Loader_swiginit(self, _loader.new_Loader(*args)) __swig_destroy__ = _loader.delete_Loader # Register Loader in _loader: _loader.Loader_swigregister(Loader)