# This file was automatically generated by SWIG (http://www.swig.org).
# Version 1.3.31
#
# Don't modify this file, modify the SWIG interface instead.
# This file is compatible with both classic and new-style classes.

import _msg
import new
new_instancemethod = new.instancemethod
try:
    _swig_property = property
except NameError:
    pass # Python < 2.2 doesn't have 'property'.
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__ == 'PySwigObject':
            self.__dict__[name] = value
            return
    method = class_type.__swig_setmethods__.get(name,None)
    if method: return method(self,value)
    if (not static) or hasattr(self,name):
        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,name

def _swig_repr(self):
    try: strthis = "proxy of " + self.this.__repr__()
    except: strthis = ""
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)

import types
try:
    _object = types.ObjectType
    _newclass = 1
except AttributeError:
    class _object : pass
    _newclass = 0
del types


MSG_config = _msg.MSG_config
MSG_global_init = _msg.MSG_global_init
MSG_global_init_args = _msg.MSG_global_init_args
MSG_set_channel_number = _msg.MSG_set_channel_number
MSG_get_channel_number = _msg.MSG_get_channel_number
MSG_main = _msg.MSG_main
MSG_clean = _msg.MSG_clean
MSG_function_register = _msg.MSG_function_register
MSG_get_registered_function = _msg.MSG_get_registered_function
MSG_launch_application = _msg.MSG_launch_application
MSG_paje_output = _msg.MSG_paje_output
MSG_get_clock = _msg.MSG_get_clock
MSG_host_set_data = _msg.MSG_host_set_data
MSG_host_get_data = _msg.MSG_host_get_data
MSG_host_get_name = _msg.MSG_host_get_name
MSG_host_self = _msg.MSG_host_self
MSG_get_host_msgload = _msg.MSG_get_host_msgload
MSG_get_host_speed = _msg.MSG_get_host_speed
MSG_host_is_avail = _msg.MSG_host_is_avail
MSG_create_environment = _msg.MSG_create_environment
MSG_get_host_by_name = _msg.MSG_get_host_by_name
MSG_get_host_number = _msg.MSG_get_host_number
MSG_get_host_table = _msg.MSG_get_host_table
MSG_process_create = _msg.MSG_process_create
MSG_process_create_with_arguments = _msg.MSG_process_create_with_arguments
MSG_process_kill = _msg.MSG_process_kill
MSG_process_killall = _msg.MSG_process_killall
MSG_process_change_host = _msg.MSG_process_change_host
MSG_process_get_data = _msg.MSG_process_get_data
MSG_process_set_data = _msg.MSG_process_set_data
MSG_process_get_host = _msg.MSG_process_get_host
MSG_process_from_PID = _msg.MSG_process_from_PID
MSG_process_get_PID = _msg.MSG_process_get_PID
MSG_process_get_PPID = _msg.MSG_process_get_PPID
MSG_process_get_name = _msg.MSG_process_get_name
MSG_process_self_PID = _msg.MSG_process_self_PID
MSG_process_self_PPID = _msg.MSG_process_self_PPID
MSG_process_self = _msg.MSG_process_self
MSG_process_suspend = _msg.MSG_process_suspend
MSG_process_resume = _msg.MSG_process_resume
MSG_process_is_suspended = _msg.MSG_process_is_suspended
MSG_task_create = _msg.MSG_task_create
MSG_parallel_task_create = _msg.MSG_parallel_task_create
MSG_task_get_data = _msg.MSG_task_get_data
MSG_task_get_sender = _msg.MSG_task_get_sender
MSG_task_get_source = _msg.MSG_task_get_source
MSG_task_get_name = _msg.MSG_task_get_name
MSG_task_cancel = _msg.MSG_task_cancel
MSG_task_destroy = _msg.MSG_task_destroy
MSG_task_get_with_time_out = _msg.MSG_task_get_with_time_out
MSG_task_get_from_host = _msg.MSG_task_get_from_host
MSG_task_put = _msg.MSG_task_put
MSG_task_put_bounded = _msg.MSG_task_put_bounded
MSG_task_put_with_timeout = _msg.MSG_task_put_with_timeout
MSG_task_execute = _msg.MSG_task_execute
MSG_parallel_task_execute = _msg.MSG_parallel_task_execute
MSG_task_set_priority = _msg.MSG_task_set_priority
MSG_task_Iprobe = _msg.MSG_task_Iprobe
MSG_task_probe_from = _msg.MSG_task_probe_from
MSG_task_probe_from_host = _msg.MSG_task_probe_from_host
MSG_channel_select_from = _msg.MSG_channel_select_from
MSG_process_sleep = _msg.MSG_process_sleep
MSG_get_errno = _msg.MSG_get_errno
MSG_task_get_compute_duration = _msg.MSG_task_get_compute_duration
MSG_task_get_remaining_computation = _msg.MSG_task_get_remaining_computation
MSG_task_get_data_size = _msg.MSG_task_get_data_size
class s_m_host_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, s_m_host_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, s_m_host_t, name)
    __repr__ = _swig_repr
    __swig_setmethods__["name"] = _msg.s_m_host_t_name_set
    __swig_getmethods__["name"] = _msg.s_m_host_t_name_get
    if _newclass:name = _swig_property(_msg.s_m_host_t_name_get, _msg.s_m_host_t_name_set)
    __swig_setmethods__["simdata"] = _msg.s_m_host_t_simdata_set
    __swig_getmethods__["simdata"] = _msg.s_m_host_t_simdata_get
    if _newclass:simdata = _swig_property(_msg.s_m_host_t_simdata_get, _msg.s_m_host_t_simdata_set)
    __swig_setmethods__["data"] = _msg.s_m_host_t_data_set
    __swig_getmethods__["data"] = _msg.s_m_host_t_data_get
    if _newclass:data = _swig_property(_msg.s_m_host_t_data_get, _msg.s_m_host_t_data_set)
    def __init__(self, *args): 
        this = _msg.new_s_m_host_t(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _msg.delete_s_m_host_t
    __del__ = lambda self : None;
s_m_host_t_swigregister = _msg.s_m_host_t_swigregister
s_m_host_t_swigregister(s_m_host_t)
MSG_task_get = _msg.MSG_task_get

class s_m_task_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, s_m_task_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, s_m_task_t, name)
    __repr__ = _swig_repr
    __swig_setmethods__["name"] = _msg.s_m_task_t_name_set
    __swig_getmethods__["name"] = _msg.s_m_task_t_name_get
    if _newclass:name = _swig_property(_msg.s_m_task_t_name_get, _msg.s_m_task_t_name_set)
    __swig_setmethods__["simdata"] = _msg.s_m_task_t_simdata_set
    __swig_getmethods__["simdata"] = _msg.s_m_task_t_simdata_get
    if _newclass:simdata = _swig_property(_msg.s_m_task_t_simdata_get, _msg.s_m_task_t_simdata_set)
    __swig_setmethods__["data"] = _msg.s_m_task_t_data_set
    __swig_getmethods__["data"] = _msg.s_m_task_t_data_get
    if _newclass:data = _swig_property(_msg.s_m_task_t_data_get, _msg.s_m_task_t_data_set)
    def __init__(self, *args): 
        this = _msg.new_s_m_task_t(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _msg.delete_s_m_task_t
    __del__ = lambda self : None;
s_m_task_t_swigregister = _msg.s_m_task_t_swigregister
s_m_task_t_swigregister(s_m_task_t)

class s_m_process_t(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, s_m_process_t, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, s_m_process_t, name)
    __repr__ = _swig_repr
    __swig_setmethods__["name"] = _msg.s_m_process_t_name_set
    __swig_getmethods__["name"] = _msg.s_m_process_t_name_get
    if _newclass:name = _swig_property(_msg.s_m_process_t_name_get, _msg.s_m_process_t_name_set)
    __swig_setmethods__["simdata"] = _msg.s_m_process_t_simdata_set
    __swig_getmethods__["simdata"] = _msg.s_m_process_t_simdata_get
    if _newclass:simdata = _swig_property(_msg.s_m_process_t_simdata_get, _msg.s_m_process_t_simdata_set)
    __swig_setmethods__["data"] = _msg.s_m_process_t_data_set
    __swig_getmethods__["data"] = _msg.s_m_process_t_data_get
    if _newclass:data = _swig_property(_msg.s_m_process_t_data_get, _msg.s_m_process_t_data_set)
    def __init__(self, *args): 
        this = _msg.new_s_m_process_t(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _msg.delete_s_m_process_t
    __del__ = lambda self : None;
s_m_process_t_swigregister = _msg.s_m_process_t_swigregister
s_m_process_t_swigregister(s_m_process_t)

MSG_OK = _msg.MSG_OK
MSG_WARNING = _msg.MSG_WARNING
MSG_TRANSFER_FAILURE = _msg.MSG_TRANSFER_FAILURE
MSG_HOST_FAILURE = _msg.MSG_HOST_FAILURE
MSG_TASK_CANCELLED = _msg.MSG_TASK_CANCELLED
MSG_FATAL = _msg.MSG_FATAL
MSG_INFINITE = _msg.MSG_INFINITE
class PyMsgGlobal(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, PyMsgGlobal, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, PyMsgGlobal, name)
    def __init__(self): raise AttributeError, "No constructor defined"
    __repr__ = _swig_repr
    _report_debug = _msg.PyMsgGlobal__report_debug
    _report_key_functions = _msg.PyMsgGlobal__report_key_functions
    _report_none = _msg.PyMsgGlobal__report_none
    __swig_getmethods__["instance"] = lambda x: _msg.PyMsgGlobal_instance
    if _newclass:instance = staticmethod(_msg.PyMsgGlobal_instance)
    __swig_getmethods__["destroy"] = lambda x: _msg.PyMsgGlobal_destroy
    if _newclass:destroy = staticmethod(_msg.PyMsgGlobal_destroy)
    def setReportMode(*args): return _msg.PyMsgGlobal_setReportMode(*args)
    def createEnvironment(*args): return _msg.PyMsgGlobal_createEnvironment(*args)
    def config(*args): return _msg.PyMsgGlobal_config(*args)
    def globalInit(*args): return _msg.PyMsgGlobal_globalInit(*args)
    def globalInitArgs(*args): return _msg.PyMsgGlobal_globalInitArgs(*args)
    def setChannelNumber(*args): return _msg.PyMsgGlobal_setChannelNumber(*args)
    def getChannelNumber(*args): return _msg.PyMsgGlobal_getChannelNumber(*args)
    def main(*args): return _msg.PyMsgGlobal_main(*args)
    def clean(*args): return _msg.PyMsgGlobal_clean(*args)
    def functionRegister(*args): return _msg.PyMsgGlobal_functionRegister(*args)
    def launchApplication(*args): return _msg.PyMsgGlobal_launchApplication(*args)
    def setPajeOutput(*args): return _msg.PyMsgGlobal_setPajeOutput(*args)
    def getClock(*args): return _msg.PyMsgGlobal_getClock(*args)
    def killAllProcesses(*args): return _msg.PyMsgGlobal_killAllProcesses(*args)
    def getCurrentProcess(*args): return _msg.PyMsgGlobal_getCurrentProcess(*args)
    def currentProcessSleep(*args): return _msg.PyMsgGlobal_currentProcessSleep(*args)
    def getErrno(*args): return _msg.PyMsgGlobal_getErrno(*args)
    def getCurrentHost(*args): return _msg.PyMsgGlobal_getCurrentHost(*args)
    def getHostByName(*args): return _msg.PyMsgGlobal_getHostByName(*args)
    def processFromPID(*args): return _msg.PyMsgGlobal_processFromPID(*args)
    def getTaskFromCurrentHost(*args): return _msg.PyMsgGlobal_getTaskFromCurrentHost(*args)
    def getHostCount(*args): return _msg.PyMsgGlobal_getHostCount(*args)
    def getHostByIndex(*args): return _msg.PyMsgGlobal_getHostByIndex(*args)
    def currentHostPendingComm(*args): return _msg.PyMsgGlobal_currentHostPendingComm(*args)
    def currentHostPendingCommPID(*args): return _msg.PyMsgGlobal_currentHostPendingCommPID(*args)
    def currentHostPendingCommFromHost(*args): return _msg.PyMsgGlobal_currentHostPendingCommFromHost(*args)
    def run(*args): return _msg.PyMsgGlobal_run(*args)
    __swig_getmethods__["trampoline"] = lambda x: _msg.PyMsgGlobal_trampoline
    if _newclass:trampoline = staticmethod(_msg.PyMsgGlobal_trampoline)
    def setInterceptor(*args): return _msg.PyMsgGlobal_setInterceptor(*args)
    __swig_getmethods__["printException"] = lambda x: _msg.PyMsgGlobal_printException
    if _newclass:printException = staticmethod(_msg.PyMsgGlobal_printException)
    __swig_getmethods__["printError"] = lambda x: _msg.PyMsgGlobal_printError
    if _newclass:printError = staticmethod(_msg.PyMsgGlobal_printError)
    def entryFunction(*args): return _msg.PyMsgGlobal_entryFunction(*args)
    def exitFunction(*args): return _msg.PyMsgGlobal_exitFunction(*args)
PyMsgGlobal_swigregister = _msg.PyMsgGlobal_swigregister
PyMsgGlobal_swigregister(PyMsgGlobal)
PyMsgGlobal_instance = _msg.PyMsgGlobal_instance
PyMsgGlobal_destroy = _msg.PyMsgGlobal_destroy
PyMsgGlobal_trampoline = _msg.PyMsgGlobal_trampoline
PyMsgGlobal_printException = _msg.PyMsgGlobal_printException
PyMsgGlobal_printError = _msg.PyMsgGlobal_printError

class PyMsgHost(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, PyMsgHost, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, PyMsgHost, name)
    def __init__(self): raise AttributeError, "No constructor defined"
    __repr__ = _swig_repr
    __swig_destroy__ = _msg.delete_PyMsgHost
    __del__ = lambda self : None;
    def setData(*args): return _msg.PyMsgHost_setData(*args)
    def getData(*args): return _msg.PyMsgHost_getData(*args)
    def getName(*args): return _msg.PyMsgHost_getName(*args)
    def getMsgload(*args): return _msg.PyMsgHost_getMsgload(*args)
    def getSpeed(*args): return _msg.PyMsgHost_getSpeed(*args)
    def isAvail(*args): return _msg.PyMsgHost_isAvail(*args)
    def getTask(*args): return _msg.PyMsgHost_getTask(*args)
    def putTask(*args): return _msg.PyMsgHost_putTask(*args)
    def putTaskBounded(*args): return _msg.PyMsgHost_putTaskBounded(*args)
PyMsgHost_swigregister = _msg.PyMsgHost_swigregister
PyMsgHost_swigregister(PyMsgHost)

class PyMsgProcess(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, PyMsgProcess, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, PyMsgProcess, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        this = _msg.new_PyMsgProcess(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _msg.delete_PyMsgProcess
    __del__ = lambda self : None;
    def kill(*args): return _msg.PyMsgProcess_kill(*args)
    def changeHost(*args): return _msg.PyMsgProcess_changeHost(*args)
    def getData(*args): return _msg.PyMsgProcess_getData(*args)
    def setData(*args): return _msg.PyMsgProcess_setData(*args)
    def getHost(*args): return _msg.PyMsgProcess_getHost(*args)
    def getPID(*args): return _msg.PyMsgProcess_getPID(*args)
    def getPPID(*args): return _msg.PyMsgProcess_getPPID(*args)
    def getName(*args): return _msg.PyMsgProcess_getName(*args)
    def suspend(*args): return _msg.PyMsgProcess_suspend(*args)
    def resume(*args): return _msg.PyMsgProcess_resume(*args)
    def isSuspended(*args): return _msg.PyMsgProcess_isSuspended(*args)
PyMsgProcess_swigregister = _msg.PyMsgProcess_swigregister
PyMsgProcess_swigregister(PyMsgProcess)

class PyMsgTask(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, PyMsgTask, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, PyMsgTask, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        this = _msg.new_PyMsgTask(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _msg.delete_PyMsgTask
    __del__ = lambda self : None;
    def getData(*args): return _msg.PyMsgTask_getData(*args)
    def getSender(*args): return _msg.PyMsgTask_getSender(*args)
    def getSource(*args): return _msg.PyMsgTask_getSource(*args)
    def getName(*args): return _msg.PyMsgTask_getName(*args)
    def cancel(*args): return _msg.PyMsgTask_cancel(*args)
    def destroy(*args): return _msg.PyMsgTask_destroy(*args)
    def put(*args): return _msg.PyMsgTask_put(*args)
    def putBounded(*args): return _msg.PyMsgTask_putBounded(*args)
    def execute(*args): return _msg.PyMsgTask_execute(*args)
    def parallelExecute(*args): return _msg.PyMsgTask_parallelExecute(*args)
    def setPriority(*args): return _msg.PyMsgTask_setPriority(*args)
    def getComputeDuration(*args): return _msg.PyMsgTask_getComputeDuration(*args)
    def getRemainingComputation(*args): return _msg.PyMsgTask_getRemainingComputation(*args)
    def getDataSize(*args): return _msg.PyMsgTask_getDataSize(*args)
PyMsgTask_swigregister = _msg.PyMsgTask_swigregister
PyMsgTask_swigregister(PyMsgTask)



