00001
00002
00003
00004 import _rxtoolscpp
00005 import new
00006 new_instancemethod = new.instancemethod
00007 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
00008 if (name == "thisown"): return self.this.own(value)
00009 if (name == "this"):
00010 if type(value).__name__ == 'PySwigObject':
00011 self.__dict__[name] = value
00012 return
00013 method = class_type.__swig_setmethods__.get(name,None)
00014 if method: return method(self,value)
00015 if (not static) or hasattr(self,name):
00016 self.__dict__[name] = value
00017 else:
00018 raise AttributeError("You cannot add attributes to %s" % self)
00019
00020 def _swig_setattr(self,class_type,name,value):
00021 return _swig_setattr_nondynamic(self,class_type,name,value,0)
00022
00023 def _swig_getattr(self,class_type,name):
00024 if (name == "thisown"): return self.this.own()
00025 method = class_type.__swig_getmethods__.get(name,None)
00026 if method: return method(self)
00027 raise AttributeError,name
00028
00029 def _swig_repr(self):
00030 try: strthis = "proxy of " + self.this.__repr__()
00031 except: strthis = ""
00032 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
00033
00034 import types
00035 try:
00036 _object = types.ObjectType
00037 _newclass = 1
00038 except AttributeError:
00039 class _object : pass
00040 _newclass = 0
00041 del types
00042
00043
00044 def _swig_setattr_nondynamic_method(set):
00045 def set_attr(self,name,value):
00046 if (name == "thisown"): return self.this.own(value)
00047 if hasattr(self,name) or (name == "this"):
00048 set(self,name,value)
00049 else:
00050 raise AttributeError("You cannot add attributes to %s" % self)
00051 return set_attr
00052
00053
00054 import wx._core
00055 import wx._windows
00056 class RosoutFilter(object):
00057 """Proxy of C++ RosoutFilter class"""
00058 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
00059 def __init__(self): raise AttributeError, "No constructor defined"
00060 __repr__ = _swig_repr
00061 __swig_destroy__ = _rxtoolscpp.delete_RosoutFilter
00062 __del__ = lambda self : None;
00063 def filter(*args, **kwargs):
00064 """filter(self, rosgraph_msgs::LogConstPtr ?) -> bool"""
00065 return _rxtoolscpp.RosoutFilter_filter(*args, **kwargs)
00066
00067 def isValid(*args, **kwargs):
00068 """isValid(self) -> bool"""
00069 return _rxtoolscpp.RosoutFilter_isValid(*args, **kwargs)
00070
00071 def isEnabled(*args, **kwargs):
00072 """isEnabled(self) -> bool"""
00073 return _rxtoolscpp.RosoutFilter_isEnabled(*args, **kwargs)
00074
00075 def setEnabled(*args, **kwargs):
00076 """setEnabled(self, bool enabled)"""
00077 return _rxtoolscpp.RosoutFilter_setEnabled(*args, **kwargs)
00078
00079 def getChangedSignal(*args, **kwargs):
00080 """getChangedSignal(self) -> RosoutFilterChangedSignal"""
00081 return _rxtoolscpp.RosoutFilter_getChangedSignal(*args, **kwargs)
00082
00083 _rxtoolscpp.RosoutFilter_swigregister(RosoutFilter)
00084
00085 class RosoutPanelBase(wx._windows.Panel):
00086 """Proxy of C++ RosoutPanelBase class"""
00087 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
00088 __repr__ = _swig_repr
00089 def __init__(self, *args, **kwargs):
00090 """
00091 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
00092 Size size=wxSize( 800,600 ), long style=wxCLIP_CHILDREN|wxTAB_TRAVERSAL) -> RosoutPanelBase
00093 """
00094 _rxtoolscpp.RosoutPanelBase_swiginit(self,_rxtoolscpp.new_RosoutPanelBase(*args, **kwargs))
00095 __swig_destroy__ = _rxtoolscpp.delete_RosoutPanelBase
00096 __del__ = lambda self : None;
00097 _rxtoolscpp.RosoutPanelBase_swigregister(RosoutPanelBase)
00098
00099 class RosoutSetupDialogBase(wx._windows.Dialog):
00100 """Proxy of C++ RosoutSetupDialogBase class"""
00101 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
00102 __repr__ = _swig_repr
00103 def __init__(self, *args, **kwargs):
00104 """
00105 __init__(self, Window parent, int id=ID_ANY, String title=wxT("Rosout Panel Setup"),
00106 Point pos=DefaultPosition,
00107 Size size=wxSize( 331,214 ), long style=DEFAULT_DIALOG_STYLE) -> RosoutSetupDialogBase
00108 """
00109 _rxtoolscpp.RosoutSetupDialogBase_swiginit(self,_rxtoolscpp.new_RosoutSetupDialogBase(*args, **kwargs))
00110 __swig_destroy__ = _rxtoolscpp.delete_RosoutSetupDialogBase
00111 __del__ = lambda self : None;
00112 _rxtoolscpp.RosoutSetupDialogBase_swigregister(RosoutSetupDialogBase)
00113
00114 class TextboxDialog(wx._windows.Dialog):
00115 """Proxy of C++ TextboxDialog class"""
00116 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
00117 __repr__ = _swig_repr
00118 text_ = property(_rxtoolscpp.TextboxDialog_text__get, _rxtoolscpp.TextboxDialog_text__set)
00119 def __init__(self, *args, **kwargs):
00120 """
00121 __init__(self, Window parent, int id=ID_ANY, String title=wxEmptyString,
00122 Point pos=DefaultPosition, Size size=wxSize( 644,362 ),
00123 long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER) -> TextboxDialog
00124 """
00125 _rxtoolscpp.TextboxDialog_swiginit(self,_rxtoolscpp.new_TextboxDialog(*args, **kwargs))
00126 __swig_destroy__ = _rxtoolscpp.delete_TextboxDialog
00127 __del__ = lambda self : None;
00128 _rxtoolscpp.TextboxDialog_swigregister(TextboxDialog)
00129
00130 class LoggerLevelPanelBase(wx._windows.Panel):
00131 """Proxy of C++ LoggerLevelPanelBase class"""
00132 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
00133 __repr__ = _swig_repr
00134 def __init__(self, *args, **kwargs):
00135 """
00136 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
00137 Size size=wxSize( 500,300 ), long style=TAB_TRAVERSAL) -> LoggerLevelPanelBase
00138 """
00139 _rxtoolscpp.LoggerLevelPanelBase_swiginit(self,_rxtoolscpp.new_LoggerLevelPanelBase(*args, **kwargs))
00140 __swig_destroy__ = _rxtoolscpp.delete_LoggerLevelPanelBase
00141 __del__ = lambda self : None;
00142 _rxtoolscpp.LoggerLevelPanelBase_swigregister(LoggerLevelPanelBase)
00143
00144 class RosoutTextFilterControlBase(wx._windows.Panel):
00145 """Proxy of C++ RosoutTextFilterControlBase class"""
00146 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
00147 __repr__ = _swig_repr
00148 def __init__(self, *args, **kwargs):
00149 """
00150 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
00151 Size size=wxSize( 750,42 ), long style=TAB_TRAVERSAL) -> RosoutTextFilterControlBase
00152 """
00153 _rxtoolscpp.RosoutTextFilterControlBase_swiginit(self,_rxtoolscpp.new_RosoutTextFilterControlBase(*args, **kwargs))
00154 __swig_destroy__ = _rxtoolscpp.delete_RosoutTextFilterControlBase
00155 __del__ = lambda self : None;
00156 _rxtoolscpp.RosoutTextFilterControlBase_swigregister(RosoutTextFilterControlBase)
00157
00158 class RosoutSeverityFilterControlBase(wx._windows.Panel):
00159 """Proxy of C++ RosoutSeverityFilterControlBase class"""
00160 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
00161 __repr__ = _swig_repr
00162 def __init__(self, *args, **kwargs):
00163 """
00164 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
00165 Size size=wxSize( 750,42 ), long style=TAB_TRAVERSAL) -> RosoutSeverityFilterControlBase
00166 """
00167 _rxtoolscpp.RosoutSeverityFilterControlBase_swiginit(self,_rxtoolscpp.new_RosoutSeverityFilterControlBase(*args, **kwargs))
00168 __swig_destroy__ = _rxtoolscpp.delete_RosoutSeverityFilterControlBase
00169 __del__ = lambda self : None;
00170 _rxtoolscpp.RosoutSeverityFilterControlBase_swigregister(RosoutSeverityFilterControlBase)
00171
00172 class RosoutFrame(wx._windows.Frame):
00173 """Proxy of C++ RosoutFrame class"""
00174 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
00175 __repr__ = _swig_repr
00176 rosout_panel_ = property(_rxtoolscpp.RosoutFrame_rosout_panel__get, _rxtoolscpp.RosoutFrame_rosout_panel__set)
00177 def __init__(self, *args, **kwargs):
00178 """
00179 __init__(self, Window parent, int id=ID_ANY, String title=wxT("rxconsole"),
00180 Point pos=DefaultPosition, Size size=wxSize( 800,600 ),
00181 long style=wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL) -> RosoutFrame
00182 """
00183 _rxtoolscpp.RosoutFrame_swiginit(self,_rxtoolscpp.new_RosoutFrame(*args, **kwargs))
00184 __swig_destroy__ = _rxtoolscpp.delete_RosoutFrame
00185 __del__ = lambda self : None;
00186 _rxtoolscpp.RosoutFrame_swigregister(RosoutFrame)
00187
00188 class LoggerLevelFrame(wx._windows.Frame):
00189 """Proxy of C++ LoggerLevelFrame class"""
00190 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
00191 __repr__ = _swig_repr
00192 logger_panel_ = property(_rxtoolscpp.LoggerLevelFrame_logger_panel__get, _rxtoolscpp.LoggerLevelFrame_logger_panel__set)
00193 def __init__(self, *args, **kwargs):
00194 """
00195 __init__(self, Window parent, int id=ID_ANY, String title=wxT("rxloggerlevel"),
00196 Point pos=DefaultPosition, Size size=wxSize( 800,200 ),
00197 long style=wxDEFAULT_FRAME_STYLE|wxTAB_TRAVERSAL) -> LoggerLevelFrame
00198 """
00199 _rxtoolscpp.LoggerLevelFrame_swiginit(self,_rxtoolscpp.new_LoggerLevelFrame(*args, **kwargs))
00200 __swig_destroy__ = _rxtoolscpp.delete_LoggerLevelFrame
00201 __del__ = lambda self : None;
00202 _rxtoolscpp.LoggerLevelFrame_swigregister(LoggerLevelFrame)
00203
00204 class RosoutMessageSummary(object):
00205 """Proxy of C++ RosoutMessageSummary class"""
00206 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
00207 __repr__ = _swig_repr
00208 def __init__(self, *args, **kwargs):
00209 """__init__(self) -> RosoutMessageSummary"""
00210 _rxtoolscpp.RosoutMessageSummary_swiginit(self,_rxtoolscpp.new_RosoutMessageSummary(*args, **kwargs))
00211 __swig_destroy__ = _rxtoolscpp.delete_RosoutMessageSummary
00212 __del__ = lambda self : None;
00213 debug = property(_rxtoolscpp.RosoutMessageSummary_debug_get, _rxtoolscpp.RosoutMessageSummary_debug_set)
00214 info = property(_rxtoolscpp.RosoutMessageSummary_info_get, _rxtoolscpp.RosoutMessageSummary_info_set)
00215 warn = property(_rxtoolscpp.RosoutMessageSummary_warn_get, _rxtoolscpp.RosoutMessageSummary_warn_set)
00216 error = property(_rxtoolscpp.RosoutMessageSummary_error_get, _rxtoolscpp.RosoutMessageSummary_error_set)
00217 fatal = property(_rxtoolscpp.RosoutMessageSummary_fatal_get, _rxtoolscpp.RosoutMessageSummary_fatal_set)
00218 _rxtoolscpp.RosoutMessageSummary_swigregister(RosoutMessageSummary)
00219
00220 class RosoutPanel(RosoutPanelBase):
00221 """Proxy of C++ RosoutPanel class"""
00222 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
00223 __repr__ = _swig_repr
00224 def __init__(self, *args, **kwargs):
00225 """
00226 __init__(self, Window parent, int id=ID_ANY, Point pos=DefaultPosition,
00227 Size size=DefaultSize, int style=TAB_TRAVERSAL) -> RosoutPanel
00228 """
00229 _rxtoolscpp.RosoutPanel_swiginit(self,_rxtoolscpp.new_RosoutPanel(*args, **kwargs))
00230 self._setOORInfo(self)
00231
00232 __swig_destroy__ = _rxtoolscpp.delete_RosoutPanel
00233 __del__ = lambda self : None;
00234 def setEnabled(*args, **kwargs):
00235 """setEnabled(self, bool enabled)"""
00236 return _rxtoolscpp.RosoutPanel_setEnabled(*args, **kwargs)
00237
00238 def setTopic(*args, **kwargs):
00239 """setTopic(self, string topic)"""
00240 return _rxtoolscpp.RosoutPanel_setTopic(*args, **kwargs)
00241
00242 def clear(*args, **kwargs):
00243 """clear(self)"""
00244 return _rxtoolscpp.RosoutPanel_clear(*args, **kwargs)
00245
00246 def setBufferSize(*args, **kwargs):
00247 """setBufferSize(self, uint32_t size)"""
00248 return _rxtoolscpp.RosoutPanel_setBufferSize(*args, **kwargs)
00249
00250 def getMessageSummary(*args, **kwargs):
00251 """getMessageSummary(self, double duration) -> RosoutMessageSummary"""
00252 return _rxtoolscpp.RosoutPanel_getMessageSummary(*args, **kwargs)
00253
00254 def getMessageByIndex(*args, **kwargs):
00255 """getMessageByIndex(self, uint32_t index) -> rosgraph_msgs::LogConstPtr"""
00256 return _rxtoolscpp.RosoutPanel_getMessageByIndex(*args, **kwargs)
00257
00258 def createTextFilter(*args, **kwargs):
00259 """createTextFilter(self) -> RosoutTextFilterPtr"""
00260 return _rxtoolscpp.RosoutPanel_createTextFilter(*args, **kwargs)
00261
00262 def createNewFrame(*args, **kwargs):
00263 """createNewFrame(self) -> RosoutFrame"""
00264 return _rxtoolscpp.RosoutPanel_createNewFrame(*args, **kwargs)
00265
00266 def clearFilters(*args, **kwargs):
00267 """clearFilters(self)"""
00268 return _rxtoolscpp.RosoutPanel_clearFilters(*args, **kwargs)
00269
00270 def refilter(*args, **kwargs):
00271 """refilter(self)"""
00272 return _rxtoolscpp.RosoutPanel_refilter(*args, **kwargs)
00273
00274 _rxtoolscpp.RosoutPanel_swigregister(RosoutPanel)
00275
00276
00277 def initRoscpp(*args, **kwargs):
00278 """initRoscpp(string node_name, bool anonymous)"""
00279 return _rxtoolscpp.initRoscpp(*args, **kwargs)
00280
00281