# 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 _vrpn_Poser
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


vrpn_DEFAULT_LISTEN_PORT_NO = _vrpn_Poser.vrpn_DEFAULT_LISTEN_PORT_NO
VRPN_VIEWPOINT_H = _vrpn_Poser.VRPN_VIEWPOINT_H
VRPN_SYSTEMDRIVE = _vrpn_Poser.VRPN_SYSTEMDRIVE
VRPN_PHASESPACE_LIB_PATH = _vrpn_Poser.VRPN_PHASESPACE_LIB_PATH
VRPN_WIIUSE_H = _vrpn_Poser.VRPN_WIIUSE_H
VRPN_TRIVISIOCOLIBRI_H = _vrpn_Poser.VRPN_TRIVISIOCOLIBRI_H
VRPN_TRIVISIOCOLIBRI_LIB_PATH = _vrpn_Poser.VRPN_TRIVISIOCOLIBRI_LIB_PATH
VRPN_GHOST_31_PATH = _vrpn_Poser.VRPN_GHOST_31_PATH
VRPN_GHOST_40_PATH = _vrpn_Poser.VRPN_GHOST_40_PATH
VRPN_NIDAQ_PATH = _vrpn_Poser.VRPN_NIDAQ_PATH
VRPN_USDIGITAL_PATH = _vrpn_Poser.VRPN_USDIGITAL_PATH
vrpn_TEXT_NORMAL = _vrpn_Poser.vrpn_TEXT_NORMAL
vrpn_TEXT_WARNING = _vrpn_Poser.vrpn_TEXT_WARNING
vrpn_TEXT_ERROR = _vrpn_Poser.vrpn_TEXT_ERROR
class vrpn_TextPrinter(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, vrpn_TextPrinter, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, vrpn_TextPrinter, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        this = _vrpn_Poser.new_vrpn_TextPrinter(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _vrpn_Poser.delete_vrpn_TextPrinter
    __del__ = lambda self : None;
    def add_object(*args): return _vrpn_Poser.vrpn_TextPrinter_add_object(*args)
    def remove_object(*args): return _vrpn_Poser.vrpn_TextPrinter_remove_object(*args)
    def set_min_level_to_print(*args): return _vrpn_Poser.vrpn_TextPrinter_set_min_level_to_print(*args)
    def set_ostream_to_use(*args): return _vrpn_Poser.vrpn_TextPrinter_set_ostream_to_use(*args)
vrpn_TextPrinter_swigregister = _vrpn_Poser.vrpn_TextPrinter_swigregister
vrpn_TextPrinter_swigregister(vrpn_TextPrinter)
cvar = _vrpn_Poser.cvar
vrpn_MAX_BCADRS = cvar.vrpn_MAX_BCADRS
vrpn_MAX_TEXT_LEN = cvar.vrpn_MAX_TEXT_LEN

class vrpn_BaseClassUnique(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, vrpn_BaseClassUnique, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, vrpn_BaseClassUnique, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        this = _vrpn_Poser.new_vrpn_BaseClassUnique(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _vrpn_Poser.delete_vrpn_BaseClassUnique
    __del__ = lambda self : None;
    def connectionPtr(*args): return _vrpn_Poser.vrpn_BaseClassUnique_connectionPtr(*args)
    __swig_setmethods__["shutup"] = _vrpn_Poser.vrpn_BaseClassUnique_shutup_set
    __swig_getmethods__["shutup"] = _vrpn_Poser.vrpn_BaseClassUnique_shutup_get
    if _newclass:shutup = _swig_property(_vrpn_Poser.vrpn_BaseClassUnique_shutup_get, _vrpn_Poser.vrpn_BaseClassUnique_shutup_set)
vrpn_BaseClassUnique_swigregister = _vrpn_Poser.vrpn_BaseClassUnique_swigregister
vrpn_BaseClassUnique_swigregister(vrpn_BaseClassUnique)

class vrpn_BaseClass(vrpn_BaseClassUnique):
    __swig_setmethods__ = {}
    for _s in [vrpn_BaseClassUnique]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, vrpn_BaseClass, name, value)
    __swig_getmethods__ = {}
    for _s in [vrpn_BaseClassUnique]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, vrpn_BaseClass, name)
    def __init__(self): raise AttributeError, "No constructor defined"
    __repr__ = _swig_repr
    __swig_destroy__ = _vrpn_Poser.delete_vrpn_BaseClass
    __del__ = lambda self : None;
    def mainloop(*args): return _vrpn_Poser.vrpn_BaseClass_mainloop(*args)
vrpn_BaseClass_swigregister = _vrpn_Poser.vrpn_BaseClass_swigregister
vrpn_BaseClass_swigregister(vrpn_BaseClass)

class vrpn_Poser(vrpn_BaseClass):
    __swig_setmethods__ = {}
    for _s in [vrpn_BaseClass]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, vrpn_Poser, name, value)
    __swig_getmethods__ = {}
    for _s in [vrpn_BaseClass]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, vrpn_Poser, name)
    def __init__(self): raise AttributeError, "No constructor defined"
    __repr__ = _swig_repr
    __swig_destroy__ = _vrpn_Poser.delete_vrpn_Poser
    __del__ = lambda self : None;
    def p_print(*args): return _vrpn_Poser.vrpn_Poser_p_print(*args)
    def p_print_vel(*args): return _vrpn_Poser.vrpn_Poser_p_print_vel(*args)
vrpn_Poser_swigregister = _vrpn_Poser.vrpn_Poser_swigregister
vrpn_Poser_swigregister(vrpn_Poser)

class vrpn_POSERCB(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, vrpn_POSERCB, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, vrpn_POSERCB, name)
    __repr__ = _swig_repr
    __swig_setmethods__["msg_time"] = _vrpn_Poser.vrpn_POSERCB_msg_time_set
    __swig_getmethods__["msg_time"] = _vrpn_Poser.vrpn_POSERCB_msg_time_get
    if _newclass:msg_time = _swig_property(_vrpn_Poser.vrpn_POSERCB_msg_time_get, _vrpn_Poser.vrpn_POSERCB_msg_time_set)
    __swig_setmethods__["pos"] = _vrpn_Poser.vrpn_POSERCB_pos_set
    __swig_getmethods__["pos"] = _vrpn_Poser.vrpn_POSERCB_pos_get
    if _newclass:pos = _swig_property(_vrpn_Poser.vrpn_POSERCB_pos_get, _vrpn_Poser.vrpn_POSERCB_pos_set)
    __swig_setmethods__["quat"] = _vrpn_Poser.vrpn_POSERCB_quat_set
    __swig_getmethods__["quat"] = _vrpn_Poser.vrpn_POSERCB_quat_get
    if _newclass:quat = _swig_property(_vrpn_Poser.vrpn_POSERCB_quat_get, _vrpn_Poser.vrpn_POSERCB_quat_set)
    def __init__(self, *args): 
        this = _vrpn_Poser.new_vrpn_POSERCB(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _vrpn_Poser.delete_vrpn_POSERCB
    __del__ = lambda self : None;
vrpn_POSERCB_swigregister = _vrpn_Poser.vrpn_POSERCB_swigregister
vrpn_POSERCB_swigregister(vrpn_POSERCB)

class vrpn_Poser_Server(vrpn_Poser):
    __swig_setmethods__ = {}
    for _s in [vrpn_Poser]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, vrpn_Poser_Server, name, value)
    __swig_getmethods__ = {}
    for _s in [vrpn_Poser]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, vrpn_Poser_Server, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        this = _vrpn_Poser.new_vrpn_Poser_Server(*args)
        try: self.this.append(this)
        except: self.this = this
    def mainloop(*args): return _vrpn_Poser.vrpn_Poser_Server_mainloop(*args)
    def register_change_handler(*args): return _vrpn_Poser.vrpn_Poser_Server_register_change_handler(*args)
    def unregister_change_handler(*args): return _vrpn_Poser.vrpn_Poser_Server_unregister_change_handler(*args)
    def register_relative_change_handler(*args): return _vrpn_Poser.vrpn_Poser_Server_register_relative_change_handler(*args)
    def unregister_relative_change_handler(*args): return _vrpn_Poser.vrpn_Poser_Server_unregister_relative_change_handler(*args)
    __swig_destroy__ = _vrpn_Poser.delete_vrpn_Poser_Server
    __del__ = lambda self : None;
vrpn_Poser_Server_swigregister = _vrpn_Poser.vrpn_Poser_Server_swigregister
vrpn_Poser_Server_swigregister(vrpn_Poser_Server)

class vrpn_Poser_Remote(vrpn_Poser):
    __swig_setmethods__ = {}
    for _s in [vrpn_Poser]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
    __setattr__ = lambda self, name, value: _swig_setattr(self, vrpn_Poser_Remote, name, value)
    __swig_getmethods__ = {}
    for _s in [vrpn_Poser]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
    __getattr__ = lambda self, name: _swig_getattr(self, vrpn_Poser_Remote, name)
    __repr__ = _swig_repr
    def __init__(self, *args): 
        this = _vrpn_Poser.new_vrpn_Poser_Remote(*args)
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _vrpn_Poser.delete_vrpn_Poser_Remote
    __del__ = lambda self : None;
    def mainloop(*args): return _vrpn_Poser.vrpn_Poser_Remote_mainloop(*args)
    def request_pose(*args): return _vrpn_Poser.vrpn_Poser_Remote_request_pose(*args)
    def request_pose_relative(*args): return _vrpn_Poser.vrpn_Poser_Remote_request_pose_relative(*args)
    def request_pose_velocity(*args): return _vrpn_Poser.vrpn_Poser_Remote_request_pose_velocity(*args)
    def request_pose_velocity_relative(*args): return _vrpn_Poser.vrpn_Poser_Remote_request_pose_velocity_relative(*args)
vrpn_Poser_Remote_swigregister = _vrpn_Poser.vrpn_Poser_Remote_swigregister
vrpn_Poser_Remote_swigregister(vrpn_Poser_Remote)

register_poser_change_handler = _vrpn_Poser.register_poser_change_handler
get_poser_change_handler = _vrpn_Poser.get_poser_change_handler


