Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | # This file was created automatically by SWIG 1.3.26. |
2 | # Don't modify this file, modify the SWIG interface instead. | |
3 | ||
4 | import _N2_Python | |
5 | ||
6 | # This file is compatible with both classic and new-style classes. | |
7 | def _swig_setattr_nondynamic(self,class_type,name,value,static=1): | |
8 | if (name == "this"): | |
9 | if isinstance(value, class_type): | |
10 | self.__dict__[name] = value.this | |
11 | if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown | |
12 | del value.thisown | |
13 | return | |
14 | method = class_type.__swig_setmethods__.get(name,None) | |
15 | if method: return method(self,value) | |
16 | if (not static) or hasattr(self,name) or (name == "thisown"): | |
17 | self.__dict__[name] = value | |
18 | else: | |
19 | raise AttributeError("You cannot add attributes to %s" % self) | |
20 | ||
21 | def _swig_setattr(self,class_type,name,value): | |
22 | return _swig_setattr_nondynamic(self,class_type,name,value,0) | |
23 | ||
24 | def _swig_getattr(self,class_type,name): | |
25 | method = class_type.__swig_getmethods__.get(name,None) | |
26 | if method: return method(self) | |
27 | raise AttributeError,name | |
28 | ||
29 | import types | |
30 | try: | |
31 | _object = types.ObjectType | |
32 | _newclass = 1 | |
33 | except AttributeError: | |
34 | class _object : pass | |
35 | _newclass = 0 | |
36 | del types | |
37 | ||
38 | ||
39 | ||
40 | dis = _N2_Python.dis | |
41 | class SS_Node(_object): | |
42 | __swig_setmethods__ = {} | |
43 | __setattr__ = lambda self, name, value: _swig_setattr(self, SS_Node, name, value) | |
44 | __swig_getmethods__ = {} | |
45 | __getattr__ = lambda self, name: _swig_getattr(self, SS_Node, name) | |
46 | def __init__(self): raise RuntimeError, "No constructor defined" | |
47 | def __repr__(self): | |
48 | return "<%s.%s; proxy of C++ SS_Node instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
49 | def get_node_name(*args): return _N2_Python.SS_Node_get_node_name(*args) | |
50 | ||
51 | class SS_NodePtr(SS_Node): | |
52 | def __init__(self, this): | |
53 | _swig_setattr(self, SS_Node, 'this', this) | |
54 | if not hasattr(self,"thisown"): _swig_setattr(self, SS_Node, 'thisown', 0) | |
55 | self.__class__ = SS_Node | |
56 | _N2_Python.SS_Node_swigregister(SS_NodePtr) | |
57 | ||
58 | class SS_Registers(_object): | |
59 | __swig_setmethods__ = {} | |
60 | __setattr__ = lambda self, name, value: _swig_setattr(self, SS_Registers, name, value) | |
61 | __swig_getmethods__ = {} | |
62 | __getattr__ = lambda self, name: _swig_getattr(self, SS_Registers, name) | |
63 | def __init__(self): raise RuntimeError, "No constructor defined" | |
64 | def __repr__(self): | |
65 | return "<%s.%s; proxy of C++ SS_Registers instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
66 | OK = _N2_Python.SS_Registers_OK | |
67 | NOT_AVAILABLE = _N2_Python.SS_Registers_NOT_AVAILABLE | |
68 | INDEX_BEGIN = _N2_Python.SS_Registers_INDEX_BEGIN | |
69 | INDEX_END = _N2_Python.SS_Registers_INDEX_END | |
70 | ALIAS_BEGIN = _N2_Python.SS_Registers_ALIAS_BEGIN | |
71 | ALIAS_END = _N2_Python.SS_Registers_ALIAS_END | |
72 | PR_TT = _N2_Python.SS_Registers_PR_TT | |
73 | PR_TPC = _N2_Python.SS_Registers_PR_TPC | |
74 | PR_TNPC = _N2_Python.SS_Registers_PR_TNPC | |
75 | PR_TSTATE = _N2_Python.SS_Registers_PR_TSTATE | |
76 | HPR_HTSTATE = _N2_Python.SS_Registers_HPR_HTSTATE | |
77 | __swig_getmethods__["get_name"] = lambda x: _N2_Python.SS_Registers_get_name | |
78 | if _newclass:get_name = staticmethod(_N2_Python.SS_Registers_get_name) | |
79 | __swig_getmethods__["get_alias_name"] = lambda x: _N2_Python.SS_Registers_get_alias_name | |
80 | if _newclass:get_alias_name = staticmethod(_N2_Python.SS_Registers_get_alias_name) | |
81 | ||
82 | class SS_RegistersPtr(SS_Registers): | |
83 | def __init__(self, this): | |
84 | _swig_setattr(self, SS_Registers, 'this', this) | |
85 | if not hasattr(self,"thisown"): _swig_setattr(self, SS_Registers, 'thisown', 0) | |
86 | self.__class__ = SS_Registers | |
87 | _N2_Python.SS_Registers_swigregister(SS_RegistersPtr) | |
88 | ||
89 | SS_Registers_get_name = _N2_Python.SS_Registers_get_name | |
90 | ||
91 | SS_Registers_get_alias_name = _N2_Python.SS_Registers_get_alias_name | |
92 | ||
93 | class SS_BreakPoint(_object): | |
94 | __swig_setmethods__ = {} | |
95 | __setattr__ = lambda self, name, value: _swig_setattr(self, SS_BreakPoint, name, value) | |
96 | __swig_getmethods__ = {} | |
97 | __getattr__ = lambda self, name: _swig_getattr(self, SS_BreakPoint, name) | |
98 | def __init__(self): raise RuntimeError, "No constructor defined" | |
99 | def __repr__(self): | |
100 | return "<%s.%s; proxy of C++ SS_BreakPoint instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
101 | OK = _N2_Python.SS_BreakPoint_OK | |
102 | ID_UNKNOWN = _N2_Python.SS_BreakPoint_ID_UNKNOWN | |
103 | ON_INST_VA = _N2_Python.SS_BreakPoint_ON_INST_VA | |
104 | ON_INST_PA = _N2_Python.SS_BreakPoint_ON_INST_PA | |
105 | ON_INST_WORD = _N2_Python.SS_BreakPoint_ON_INST_WORD | |
106 | ON_DATA_VA = _N2_Python.SS_BreakPoint_ON_DATA_VA | |
107 | ON_DATA_PA = _N2_Python.SS_BreakPoint_ON_DATA_PA | |
108 | ON_DATA_LOAD = _N2_Python.SS_BreakPoint_ON_DATA_LOAD | |
109 | ON_DATA_STORE = _N2_Python.SS_BreakPoint_ON_DATA_STORE | |
110 | ON_TRAP = _N2_Python.SS_BreakPoint_ON_TRAP | |
111 | ON_RED_MODE = _N2_Python.SS_BreakPoint_ON_RED_MODE | |
112 | __swig_getmethods__["type"] = _N2_Python.SS_BreakPoint_type_get | |
113 | if _newclass:type = property(_N2_Python.SS_BreakPoint_type_get) | |
114 | __swig_getmethods__["id"] = _N2_Python.SS_BreakPoint_id_get | |
115 | if _newclass:id = property(_N2_Python.SS_BreakPoint_id_get) | |
116 | __swig_getmethods__["enabled"] = _N2_Python.SS_BreakPoint_enabled_get | |
117 | if _newclass:enabled = property(_N2_Python.SS_BreakPoint_enabled_get) | |
118 | __swig_getmethods__["next"] = _N2_Python.SS_BreakPoint_next_get | |
119 | if _newclass:next = property(_N2_Python.SS_BreakPoint_next_get) | |
120 | __swig_getmethods__["va"] = _N2_Python.SS_BreakPoint_va_get | |
121 | if _newclass:va = property(_N2_Python.SS_BreakPoint_va_get) | |
122 | __swig_getmethods__["pa"] = _N2_Python.SS_BreakPoint_pa_get | |
123 | if _newclass:pa = property(_N2_Python.SS_BreakPoint_pa_get) | |
124 | __swig_getmethods__["tt"] = _N2_Python.SS_BreakPoint_tt_get | |
125 | if _newclass:tt = property(_N2_Python.SS_BreakPoint_tt_get) | |
126 | ||
127 | class SS_BreakPointPtr(SS_BreakPoint): | |
128 | def __init__(self, this): | |
129 | _swig_setattr(self, SS_BreakPoint, 'this', this) | |
130 | if not hasattr(self,"thisown"): _swig_setattr(self, SS_BreakPoint, 'thisown', 0) | |
131 | self.__class__ = SS_BreakPoint | |
132 | _N2_Python.SS_BreakPoint_swigregister(SS_BreakPointPtr) | |
133 | ||
134 | class SS_TrapInfo(_object): | |
135 | __swig_setmethods__ = {} | |
136 | __setattr__ = lambda self, name, value: _swig_setattr(self, SS_TrapInfo, name, value) | |
137 | __swig_getmethods__ = {} | |
138 | __getattr__ = lambda self, name: _swig_getattr(self, SS_TrapInfo, name) | |
139 | def __init__(self): raise RuntimeError, "No constructor defined" | |
140 | def __repr__(self): | |
141 | return "<%s.%s; proxy of C++ SS_TrapInfo instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
142 | __swig_getmethods__["trap_type"] = _N2_Python.SS_TrapInfo_trap_type_get | |
143 | if _newclass:trap_type = property(_N2_Python.SS_TrapInfo_trap_type_get) | |
144 | __swig_getmethods__["name"] = _N2_Python.SS_TrapInfo_name_get | |
145 | if _newclass:name = property(_N2_Python.SS_TrapInfo_name_get) | |
146 | __swig_getmethods__["priority"] = _N2_Python.SS_TrapInfo_priority_get | |
147 | if _newclass:priority = property(_N2_Python.SS_TrapInfo_priority_get) | |
148 | ||
149 | class SS_TrapInfoPtr(SS_TrapInfo): | |
150 | def __init__(self, this): | |
151 | _swig_setattr(self, SS_TrapInfo, 'this', this) | |
152 | if not hasattr(self,"thisown"): _swig_setattr(self, SS_TrapInfo, 'thisown', 0) | |
153 | self.__class__ = SS_TrapInfo | |
154 | _N2_Python.SS_TrapInfo_swigregister(SS_TrapInfoPtr) | |
155 | ||
156 | ||
157 | get_trap_info = _N2_Python.get_trap_info | |
158 | class SS_AsiMap(_object): | |
159 | __swig_setmethods__ = {} | |
160 | __setattr__ = lambda self, name, value: _swig_setattr(self, SS_AsiMap, name, value) | |
161 | __swig_getmethods__ = {} | |
162 | __getattr__ = lambda self, name: _swig_getattr(self, SS_AsiMap, name) | |
163 | def __init__(self): raise RuntimeError, "No constructor defined" | |
164 | def __repr__(self): | |
165 | return "<%s.%s; proxy of C++ SS_AsiMap instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
166 | def get(*args): return _N2_Python.SS_AsiMap_get(*args) | |
167 | ||
168 | class SS_AsiMapPtr(SS_AsiMap): | |
169 | def __init__(self, this): | |
170 | _swig_setattr(self, SS_AsiMap, 'this', this) | |
171 | if not hasattr(self,"thisown"): _swig_setattr(self, SS_AsiMap, 'thisown', 0) | |
172 | self.__class__ = SS_AsiMap | |
173 | _N2_Python.SS_AsiMap_swigregister(SS_AsiMapPtr) | |
174 | ||
175 | class SS_AsiCtrReg(_object): | |
176 | __swig_setmethods__ = {} | |
177 | __setattr__ = lambda self, name, value: _swig_setattr(self, SS_AsiCtrReg, name, value) | |
178 | __swig_getmethods__ = {} | |
179 | __getattr__ = lambda self, name: _swig_getattr(self, SS_AsiCtrReg, name) | |
180 | def __repr__(self): | |
181 | return "<%s.%s; proxy of C++ SS_AsiCtrReg instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
182 | def __init__(self, *args): | |
183 | _swig_setattr(self, SS_AsiCtrReg, 'this', _N2_Python.new_SS_AsiCtrReg(*args)) | |
184 | _swig_setattr(self, SS_AsiCtrReg, 'thisown', 1) | |
185 | def name(*args): return _N2_Python.SS_AsiCtrReg_name(*args) | |
186 | def get(*args): return _N2_Python.SS_AsiCtrReg_get(*args) | |
187 | def set(*args): return _N2_Python.SS_AsiCtrReg_set(*args) | |
188 | def set_unmasked(*args): return _N2_Python.SS_AsiCtrReg_set_unmasked(*args) | |
189 | __swig_getmethods__["ld64"] = lambda x: _N2_Python.SS_AsiCtrReg_ld64 | |
190 | if _newclass:ld64 = staticmethod(_N2_Python.SS_AsiCtrReg_ld64) | |
191 | __swig_getmethods__["st64"] = lambda x: _N2_Python.SS_AsiCtrReg_st64 | |
192 | if _newclass:st64 = staticmethod(_N2_Python.SS_AsiCtrReg_st64) | |
193 | __swig_getmethods__["rd64"] = lambda x: _N2_Python.SS_AsiCtrReg_rd64 | |
194 | if _newclass:rd64 = staticmethod(_N2_Python.SS_AsiCtrReg_rd64) | |
195 | __swig_getmethods__["wr64"] = lambda x: _N2_Python.SS_AsiCtrReg_wr64 | |
196 | if _newclass:wr64 = staticmethod(_N2_Python.SS_AsiCtrReg_wr64) | |
197 | ||
198 | class SS_AsiCtrRegPtr(SS_AsiCtrReg): | |
199 | def __init__(self, this): | |
200 | _swig_setattr(self, SS_AsiCtrReg, 'this', this) | |
201 | if not hasattr(self,"thisown"): _swig_setattr(self, SS_AsiCtrReg, 'thisown', 0) | |
202 | self.__class__ = SS_AsiCtrReg | |
203 | _N2_Python.SS_AsiCtrReg_swigregister(SS_AsiCtrRegPtr) | |
204 | ||
205 | SS_AsiCtrReg_ld64 = _N2_Python.SS_AsiCtrReg_ld64 | |
206 | ||
207 | SS_AsiCtrReg_st64 = _N2_Python.SS_AsiCtrReg_st64 | |
208 | ||
209 | SS_AsiCtrReg_rd64 = _N2_Python.SS_AsiCtrReg_rd64 | |
210 | ||
211 | SS_AsiCtrReg_wr64 = _N2_Python.SS_AsiCtrReg_wr64 | |
212 | ||
213 | class SS_SharedAsiCtrReg(SS_AsiCtrReg): | |
214 | __swig_setmethods__ = {} | |
215 | for _s in [SS_AsiCtrReg]: __swig_setmethods__.update(_s.__swig_setmethods__) | |
216 | __setattr__ = lambda self, name, value: _swig_setattr(self, SS_SharedAsiCtrReg, name, value) | |
217 | __swig_getmethods__ = {} | |
218 | for _s in [SS_AsiCtrReg]: __swig_getmethods__.update(_s.__swig_getmethods__) | |
219 | __getattr__ = lambda self, name: _swig_getattr(self, SS_SharedAsiCtrReg, name) | |
220 | def __repr__(self): | |
221 | return "<%s.%s; proxy of C++ SS_SharedAsiCtrReg instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
222 | def __init__(self, *args): | |
223 | _swig_setattr(self, SS_SharedAsiCtrReg, 'this', _N2_Python.new_SS_SharedAsiCtrReg(*args)) | |
224 | _swig_setattr(self, SS_SharedAsiCtrReg, 'thisown', 1) | |
225 | def lock(*args): return _N2_Python.SS_SharedAsiCtrReg_lock(*args) | |
226 | def unlock(*args): return _N2_Python.SS_SharedAsiCtrReg_unlock(*args) | |
227 | def trylock(*args): return _N2_Python.SS_SharedAsiCtrReg_trylock(*args) | |
228 | __swig_getmethods__["ld64"] = lambda x: _N2_Python.SS_SharedAsiCtrReg_ld64 | |
229 | if _newclass:ld64 = staticmethod(_N2_Python.SS_SharedAsiCtrReg_ld64) | |
230 | __swig_getmethods__["st64"] = lambda x: _N2_Python.SS_SharedAsiCtrReg_st64 | |
231 | if _newclass:st64 = staticmethod(_N2_Python.SS_SharedAsiCtrReg_st64) | |
232 | __swig_getmethods__["rd64"] = lambda x: _N2_Python.SS_SharedAsiCtrReg_rd64 | |
233 | if _newclass:rd64 = staticmethod(_N2_Python.SS_SharedAsiCtrReg_rd64) | |
234 | __swig_getmethods__["wr64"] = lambda x: _N2_Python.SS_SharedAsiCtrReg_wr64 | |
235 | if _newclass:wr64 = staticmethod(_N2_Python.SS_SharedAsiCtrReg_wr64) | |
236 | ||
237 | class SS_SharedAsiCtrRegPtr(SS_SharedAsiCtrReg): | |
238 | def __init__(self, this): | |
239 | _swig_setattr(self, SS_SharedAsiCtrReg, 'this', this) | |
240 | if not hasattr(self,"thisown"): _swig_setattr(self, SS_SharedAsiCtrReg, 'thisown', 0) | |
241 | self.__class__ = SS_SharedAsiCtrReg | |
242 | _N2_Python.SS_SharedAsiCtrReg_swigregister(SS_SharedAsiCtrRegPtr) | |
243 | ||
244 | SS_SharedAsiCtrReg_ld64 = _N2_Python.SS_SharedAsiCtrReg_ld64 | |
245 | ||
246 | SS_SharedAsiCtrReg_st64 = _N2_Python.SS_SharedAsiCtrReg_st64 | |
247 | ||
248 | SS_SharedAsiCtrReg_rd64 = _N2_Python.SS_SharedAsiCtrReg_rd64 | |
249 | ||
250 | SS_SharedAsiCtrReg_wr64 = _N2_Python.SS_SharedAsiCtrReg_wr64 | |
251 | ||
252 | class SS_PythonAsiReg(SS_AsiCtrReg): | |
253 | __swig_setmethods__ = {} | |
254 | for _s in [SS_AsiCtrReg]: __swig_setmethods__.update(_s.__swig_setmethods__) | |
255 | __setattr__ = lambda self, name, value: _swig_setattr(self, SS_PythonAsiReg, name, value) | |
256 | __swig_getmethods__ = {} | |
257 | for _s in [SS_AsiCtrReg]: __swig_getmethods__.update(_s.__swig_getmethods__) | |
258 | __getattr__ = lambda self, name: _swig_getattr(self, SS_PythonAsiReg, name) | |
259 | def __repr__(self): | |
260 | return "<%s.%s; proxy of C++ SS_PythonAsiReg instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
261 | def __init__(self, *args): | |
262 | _swig_setattr(self, SS_PythonAsiReg, 'this', _N2_Python.new_SS_PythonAsiReg(*args)) | |
263 | _swig_setattr(self, SS_PythonAsiReg, 'thisown', 1) | |
264 | def set_ld64(*args): return _N2_Python.SS_PythonAsiReg_set_ld64(*args) | |
265 | def clr_ld64(*args): return _N2_Python.SS_PythonAsiReg_clr_ld64(*args) | |
266 | def set_st64(*args): return _N2_Python.SS_PythonAsiReg_set_st64(*args) | |
267 | def clr_st64(*args): return _N2_Python.SS_PythonAsiReg_clr_st64(*args) | |
268 | def set_rd64(*args): return _N2_Python.SS_PythonAsiReg_set_rd64(*args) | |
269 | def clr_rd64(*args): return _N2_Python.SS_PythonAsiReg_clr_rd64(*args) | |
270 | def set_wr64(*args): return _N2_Python.SS_PythonAsiReg_set_wr64(*args) | |
271 | def clr_wr64(*args): return _N2_Python.SS_PythonAsiReg_clr_wr64(*args) | |
272 | ||
273 | class SS_PythonAsiRegPtr(SS_PythonAsiReg): | |
274 | def __init__(self, this): | |
275 | _swig_setattr(self, SS_PythonAsiReg, 'this', this) | |
276 | if not hasattr(self,"thisown"): _swig_setattr(self, SS_PythonAsiReg, 'thisown', 0) | |
277 | self.__class__ = SS_PythonAsiReg | |
278 | _N2_Python.SS_PythonAsiReg_swigregister(SS_PythonAsiRegPtr) | |
279 | ||
280 | class SS_AsiSpace(_object): | |
281 | __swig_setmethods__ = {} | |
282 | __setattr__ = lambda self, name, value: _swig_setattr(self, SS_AsiSpace, name, value) | |
283 | __swig_getmethods__ = {} | |
284 | __getattr__ = lambda self, name: _swig_getattr(self, SS_AsiSpace, name) | |
285 | def __init__(self): raise RuntimeError, "No constructor defined" | |
286 | def __repr__(self): | |
287 | return "<%s.%s; proxy of C++ SS_AsiSpace instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
288 | OK = _N2_Python.SS_AsiSpace_OK | |
289 | NO_ASI = _N2_Python.SS_AsiSpace_NO_ASI | |
290 | NO_READ = _N2_Python.SS_AsiSpace_NO_READ | |
291 | NO_WRITE = _N2_Python.SS_AsiSpace_NO_WRITE | |
292 | def add(*args): return _N2_Python.SS_AsiSpace_add(*args) | |
293 | def add_state(*args): return _N2_Python.SS_AsiSpace_add_state(*args) | |
294 | def add_space(*args): return _N2_Python.SS_AsiSpace_add_space(*args) | |
295 | ||
296 | class SS_AsiSpacePtr(SS_AsiSpace): | |
297 | def __init__(self, this): | |
298 | _swig_setattr(self, SS_AsiSpace, 'this', this) | |
299 | if not hasattr(self,"thisown"): _swig_setattr(self, SS_AsiSpace, 'thisown', 0) | |
300 | self.__class__ = SS_AsiSpace | |
301 | _N2_Python.SS_AsiSpace_swigregister(SS_AsiSpacePtr) | |
302 | ||
303 | class SS_Access(_object): | |
304 | __swig_setmethods__ = {} | |
305 | __setattr__ = lambda self, name, value: _swig_setattr(self, SS_Access, name, value) | |
306 | __swig_getmethods__ = {} | |
307 | __getattr__ = lambda self, name: _swig_getattr(self, SS_Access, name) | |
308 | def __init__(self): raise RuntimeError, "No constructor defined" | |
309 | def __repr__(self): | |
310 | return "<%s.%s; proxy of C++ SS_Access instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
311 | LOAD = _N2_Python.SS_Access_LOAD | |
312 | STORE = _N2_Python.SS_Access_STORE | |
313 | STP = _N2_Python.SS_Access_STP | |
314 | SWAP = _N2_Python.SS_Access_SWAP | |
315 | CAS = _N2_Python.SS_Access_CAS | |
316 | LDST = _N2_Python.SS_Access_LDST | |
317 | ||
318 | class SS_AccessPtr(SS_Access): | |
319 | def __init__(self, this): | |
320 | _swig_setattr(self, SS_Access, 'this', this) | |
321 | if not hasattr(self,"thisown"): _swig_setattr(self, SS_Access, 'thisown', 0) | |
322 | self.__class__ = SS_Access | |
323 | _N2_Python.SS_Access_swigregister(SS_AccessPtr) | |
324 | ||
325 | class SS_Tracer(_object): | |
326 | __swig_setmethods__ = {} | |
327 | __setattr__ = lambda self, name, value: _swig_setattr(self, SS_Tracer, name, value) | |
328 | __swig_getmethods__ = {} | |
329 | __getattr__ = lambda self, name: _swig_getattr(self, SS_Tracer, name) | |
330 | def __init__(self): raise RuntimeError, "No constructor defined" | |
331 | def __repr__(self): | |
332 | return "<%s.%s; proxy of C++ SS_Tracer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
333 | TRAP = _N2_Python.SS_Tracer_TRAP | |
334 | INST_TRAP = _N2_Python.SS_Tracer_INST_TRAP | |
335 | DATA_TRAP = _N2_Python.SS_Tracer_DATA_TRAP | |
336 | LD_CODE = _N2_Python.SS_Tracer_LD_CODE | |
337 | ST_DATA = _N2_Python.SS_Tracer_ST_DATA | |
338 | LD_DATA = _N2_Python.SS_Tracer_LD_DATA | |
339 | ST_PART = _N2_Python.SS_Tracer_ST_PART | |
340 | ST_SWAP = _N2_Python.SS_Tracer_ST_SWAP | |
341 | LD_SWAP = _N2_Python.SS_Tracer_LD_SWAP | |
342 | ST_CAS = _N2_Python.SS_Tracer_ST_CAS | |
343 | LD_CAS = _N2_Python.SS_Tracer_LD_CAS | |
344 | ST_LDST = _N2_Python.SS_Tracer_ST_LDST | |
345 | LD_LDST = _N2_Python.SS_Tracer_LD_LDST | |
346 | ||
347 | class SS_TracerPtr(SS_Tracer): | |
348 | def __init__(self, this): | |
349 | _swig_setattr(self, SS_Tracer, 'this', this) | |
350 | if not hasattr(self,"thisown"): _swig_setattr(self, SS_Tracer, 'thisown', 0) | |
351 | self.__class__ = SS_Tracer | |
352 | _N2_Python.SS_Tracer_swigregister(SS_TracerPtr) | |
353 | ||
354 | class SS_PythonTracer(SS_Tracer): | |
355 | __swig_setmethods__ = {} | |
356 | for _s in [SS_Tracer]: __swig_setmethods__.update(_s.__swig_setmethods__) | |
357 | __setattr__ = lambda self, name, value: _swig_setattr(self, SS_PythonTracer, name, value) | |
358 | __swig_getmethods__ = {} | |
359 | for _s in [SS_Tracer]: __swig_getmethods__.update(_s.__swig_getmethods__) | |
360 | __getattr__ = lambda self, name: _swig_getattr(self, SS_PythonTracer, name) | |
361 | def __repr__(self): | |
362 | return "<%s.%s; proxy of C++ SS_PythonTracer instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
363 | def __init__(self, *args): | |
364 | _swig_setattr(self, SS_PythonTracer, 'this', _N2_Python.new_SS_PythonTracer(*args)) | |
365 | _swig_setattr(self, SS_PythonTracer, 'thisown', 1) | |
366 | def clr_exe_instr(*args): return _N2_Python.SS_PythonTracer_clr_exe_instr(*args) | |
367 | def set_exe_instr(*args): return _N2_Python.SS_PythonTracer_set_exe_instr(*args) | |
368 | def clr_reg_value(*args): return _N2_Python.SS_PythonTracer_clr_reg_value(*args) | |
369 | def set_reg_value(*args): return _N2_Python.SS_PythonTracer_set_reg_value(*args) | |
370 | def clr_trap(*args): return _N2_Python.SS_PythonTracer_clr_trap(*args) | |
371 | def set_trap(*args): return _N2_Python.SS_PythonTracer_set_trap(*args) | |
372 | def clr_mem_access(*args): return _N2_Python.SS_PythonTracer_clr_mem_access(*args) | |
373 | def set_mem_access(*args): return _N2_Python.SS_PythonTracer_set_mem_access(*args) | |
374 | def clr_tlb_update(*args): return _N2_Python.SS_PythonTracer_clr_tlb_update(*args) | |
375 | def set_tlb_update(*args): return _N2_Python.SS_PythonTracer_set_tlb_update(*args) | |
376 | def clr_end_instr(*args): return _N2_Python.SS_PythonTracer_clr_end_instr(*args) | |
377 | def set_end_instr(*args): return _N2_Python.SS_PythonTracer_set_end_instr(*args) | |
378 | ||
379 | class SS_PythonTracerPtr(SS_PythonTracer): | |
380 | def __init__(self, this): | |
381 | _swig_setattr(self, SS_PythonTracer, 'this', this) | |
382 | if not hasattr(self,"thisown"): _swig_setattr(self, SS_PythonTracer, 'thisown', 0) | |
383 | self.__class__ = SS_PythonTracer | |
384 | _N2_Python.SS_PythonTracer_swigregister(SS_PythonTracerPtr) | |
385 | ||
386 | ||
387 | ss_instr = _N2_Python.ss_instr | |
388 | class SS_Instr(_object): | |
389 | __swig_setmethods__ = {} | |
390 | __setattr__ = lambda self, name, value: _swig_setattr(self, SS_Instr, name, value) | |
391 | __swig_getmethods__ = {} | |
392 | __getattr__ = lambda self, name: _swig_getattr(self, SS_Instr, name) | |
393 | def __init__(self): raise RuntimeError, "No constructor defined" | |
394 | def __repr__(self): | |
395 | return "<%s.%s; proxy of C++ SS_Instr instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
396 | def get_opc(*args): return _N2_Python.SS_Instr_get_opc(*args) | |
397 | ||
398 | class SS_InstrPtr(SS_Instr): | |
399 | def __init__(self, this): | |
400 | _swig_setattr(self, SS_Instr, 'this', this) | |
401 | if not hasattr(self,"thisown"): _swig_setattr(self, SS_Instr, 'thisown', 0) | |
402 | self.__class__ = SS_Instr | |
403 | _N2_Python.SS_Instr_swigregister(SS_InstrPtr) | |
404 | ||
405 | class SS_Strand(_object): | |
406 | __swig_setmethods__ = {} | |
407 | __setattr__ = lambda self, name, value: _swig_setattr(self, SS_Strand, name, value) | |
408 | __swig_getmethods__ = {} | |
409 | __getattr__ = lambda self, name: _swig_getattr(self, SS_Strand, name) | |
410 | def __init__(self): raise RuntimeError, "No constructor defined" | |
411 | def __repr__(self): | |
412 | return "<%s.%s; proxy of C++ SS_Strand instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
413 | def get_node_name(*args): return _N2_Python.SS_Strand_get_node_name(*args) | |
414 | def get_state_name(*args): return _N2_Python.SS_Strand_get_state_name(*args) | |
415 | def icache_info(*args): return _N2_Python.SS_Strand_icache_info(*args) | |
416 | def icache_set(*args): return _N2_Python.SS_Strand_icache_set(*args) | |
417 | def dcache_set(*args): return _N2_Python.SS_Strand_dcache_set(*args) | |
418 | def l2cache_set(*args): return _N2_Python.SS_Strand_l2cache_set(*args) | |
419 | __swig_getmethods__["reg_error"] = _N2_Python.SS_Strand_reg_error_get | |
420 | if _newclass:reg_error = property(_N2_Python.SS_Strand_reg_error_get) | |
421 | __swig_getmethods__["asi_error"] = _N2_Python.SS_Strand_asi_error_get | |
422 | if _newclass:asi_error = property(_N2_Python.SS_Strand_asi_error_get) | |
423 | def get_reg(*args): return _N2_Python.SS_Strand_get_reg(*args) | |
424 | def set_reg(*args): return _N2_Python.SS_Strand_set_reg(*args) | |
425 | def get_reg_tl(*args): return _N2_Python.SS_Strand_get_reg_tl(*args) | |
426 | def set_reg_tl(*args): return _N2_Python.SS_Strand_set_reg_tl(*args) | |
427 | def get_reg_gl(*args): return _N2_Python.SS_Strand_get_reg_gl(*args) | |
428 | def set_reg_gl(*args): return _N2_Python.SS_Strand_set_reg_gl(*args) | |
429 | def get_reg_wp(*args): return _N2_Python.SS_Strand_get_reg_wp(*args) | |
430 | def set_reg_wp(*args): return _N2_Python.SS_Strand_set_reg_wp(*args) | |
431 | def get_asi(*args): return _N2_Python.SS_Strand_get_asi(*args) | |
432 | def set_asi(*args): return _N2_Python.SS_Strand_set_asi(*args) | |
433 | def run_step(*args): return _N2_Python.SS_Strand_run_step(*args) | |
434 | def trc_step(*args): return _N2_Python.SS_Strand_trc_step(*args) | |
435 | def add_tracer(*args): return _N2_Python.SS_Strand_add_tracer(*args) | |
436 | def del_tracer(*args): return _N2_Python.SS_Strand_del_tracer(*args) | |
437 | __swig_getmethods__["break_points"] = _N2_Python.SS_Strand_break_points_get | |
438 | if _newclass:break_points = property(_N2_Python.SS_Strand_break_points_get) | |
439 | __swig_getmethods__["break_hit"] = _N2_Python.SS_Strand_break_hit_get | |
440 | if _newclass:break_hit = property(_N2_Python.SS_Strand_break_hit_get) | |
441 | def break_on_trap(*args): return _N2_Python.SS_Strand_break_on_trap(*args) | |
442 | def break_on_red_mode(*args): return _N2_Python.SS_Strand_break_on_red_mode(*args) | |
443 | def break_enable(*args): return _N2_Python.SS_Strand_break_enable(*args) | |
444 | def break_disable(*args): return _N2_Python.SS_Strand_break_disable(*args) | |
445 | def break_delete(*args): return _N2_Python.SS_Strand_break_delete(*args) | |
446 | __swig_setmethods__["asi_map"] = _N2_Python.SS_Strand_asi_map_set | |
447 | __swig_getmethods__["asi_map"] = _N2_Python.SS_Strand_asi_map_get | |
448 | if _newclass:asi_map = property(_N2_Python.SS_Strand_asi_map_get, _N2_Python.SS_Strand_asi_map_set) | |
449 | def break_on_inst_va(*args): return _N2_Python.SS_Strand_break_on_inst_va(*args) | |
450 | def va2pa(*args): return _N2_Python.SS_Strand_va2pa(*args) | |
451 | def ra2pa(*args): return _N2_Python.SS_Strand_ra2pa(*args) | |
452 | ||
453 | class SS_StrandPtr(SS_Strand): | |
454 | def __init__(self, this): | |
455 | _swig_setattr(self, SS_Strand, 'this', this) | |
456 | if not hasattr(self,"thisown"): _swig_setattr(self, SS_Strand, 'thisown', 0) | |
457 | self.__class__ = SS_Strand | |
458 | _N2_Python.SS_Strand_swigregister(SS_StrandPtr) | |
459 | ||
460 | ||
461 | ss_tte = _N2_Python.ss_tte | |
462 | class SS_Tte(_object): | |
463 | __swig_setmethods__ = {} | |
464 | __setattr__ = lambda self, name, value: _swig_setattr(self, SS_Tte, name, value) | |
465 | __swig_getmethods__ = {} | |
466 | __getattr__ = lambda self, name: _swig_getattr(self, SS_Tte, name) | |
467 | def __repr__(self): | |
468 | return "<%s.%s; proxy of C++ SS_Tte instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
469 | def __init__(self, *args): | |
470 | _swig_setattr(self, SS_Tte, 'this', _N2_Python.new_SS_Tte(*args)) | |
471 | _swig_setattr(self, SS_Tte, 'thisown', 1) | |
472 | def p(*args): return _N2_Python.SS_Tte_p(*args) | |
473 | def x(*args): return _N2_Python.SS_Tte_x(*args) | |
474 | def w(*args): return _N2_Python.SS_Tte_w(*args) | |
475 | def nfo(*args): return _N2_Python.SS_Tte_nfo(*args) | |
476 | def ie(*args): return _N2_Python.SS_Tte_ie(*args) | |
477 | def cp(*args): return _N2_Python.SS_Tte_cp(*args) | |
478 | def cv(*args): return _N2_Python.SS_Tte_cv(*args) | |
479 | def e(*args): return _N2_Python.SS_Tte_e(*args) | |
480 | def tag_parity_error(*args): return _N2_Python.SS_Tte_tag_parity_error(*args) | |
481 | def data_parity_error(*args): return _N2_Python.SS_Tte_data_parity_error(*args) | |
482 | def valid_bit(*args): return _N2_Python.SS_Tte_valid_bit(*args) | |
483 | def real_bit(*args): return _N2_Python.SS_Tte_real_bit(*args) | |
484 | def pid(*args): return _N2_Python.SS_Tte_pid(*args) | |
485 | def context(*args): return _N2_Python.SS_Tte_context(*args) | |
486 | def page_size(*args): return _N2_Python.SS_Tte_page_size(*args) | |
487 | def taddr(*args): return _N2_Python.SS_Tte_taddr(*args) | |
488 | def tag(*args): return _N2_Python.SS_Tte_tag(*args) | |
489 | def trans(*args): return _N2_Python.SS_Tte_trans(*args) | |
490 | def match_real(*args): return _N2_Python.SS_Tte_match_real(*args) | |
491 | def match_virt(*args): return _N2_Python.SS_Tte_match_virt(*args) | |
492 | def insert_tsb_tte(*args): return _N2_Python.SS_Tte_insert_tsb_tte(*args) | |
493 | ||
494 | class SS_TtePtr(SS_Tte): | |
495 | def __init__(self, this): | |
496 | _swig_setattr(self, SS_Tte, 'this', this) | |
497 | if not hasattr(self,"thisown"): _swig_setattr(self, SS_Tte, 'thisown', 0) | |
498 | self.__class__ = SS_Tte | |
499 | _N2_Python.SS_Tte_swigregister(SS_TtePtr) | |
500 | ||
501 | ||
502 | ss_tlb = _N2_Python.ss_tlb | |
503 | class SS_Tlb(_object): | |
504 | __swig_setmethods__ = {} | |
505 | __setattr__ = lambda self, name, value: _swig_setattr(self, SS_Tlb, name, value) | |
506 | __swig_getmethods__ = {} | |
507 | __getattr__ = lambda self, name: _swig_getattr(self, SS_Tlb, name) | |
508 | def __init__(self): raise RuntimeError, "No constructor defined" | |
509 | def __repr__(self): | |
510 | return "<%s.%s; proxy of C++ SS_Tlb instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
511 | def tlb_id(*args): return _N2_Python.SS_Tlb_tlb_id(*args) | |
512 | def is_inst_tlb(*args): return _N2_Python.SS_Tlb_is_inst_tlb(*args) | |
513 | def is_data_tlb(*args): return _N2_Python.SS_Tlb_is_data_tlb(*args) | |
514 | def size(*args): return _N2_Python.SS_Tlb_size(*args) | |
515 | def get(*args): return _N2_Python.SS_Tlb_get(*args) | |
516 | def set(*args): return _N2_Python.SS_Tlb_set(*args) | |
517 | def flush(*args): return _N2_Python.SS_Tlb_flush(*args) | |
518 | def next_valid_index(*args): return _N2_Python.SS_Tlb_next_valid_index(*args) | |
519 | ||
520 | class SS_TlbPtr(SS_Tlb): | |
521 | def __init__(self, this): | |
522 | _swig_setattr(self, SS_Tlb, 'this', this) | |
523 | if not hasattr(self,"thisown"): _swig_setattr(self, SS_Tlb, 'thisown', 0) | |
524 | self.__class__ = SS_Tlb | |
525 | _N2_Python.SS_Tlb_swigregister(SS_TlbPtr) | |
526 | ||
527 | class SS_SnapShot(_object): | |
528 | __swig_setmethods__ = {} | |
529 | __setattr__ = lambda self, name, value: _swig_setattr(self, SS_SnapShot, name, value) | |
530 | __swig_getmethods__ = {} | |
531 | __getattr__ = lambda self, name: _swig_getattr(self, SS_SnapShot, name) | |
532 | def __repr__(self): | |
533 | return "<%s.%s; proxy of C++ SS_SnapShot instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
534 | def __init__(self, *args): | |
535 | _swig_setattr(self, SS_SnapShot, 'this', _N2_Python.new_SS_SnapShot(*args)) | |
536 | _swig_setattr(self, SS_SnapShot, 'thisown', 1) | |
537 | ||
538 | class SS_SnapShotPtr(SS_SnapShot): | |
539 | def __init__(self, this): | |
540 | _swig_setattr(self, SS_SnapShot, 'this', this) | |
541 | if not hasattr(self,"thisown"): _swig_setattr(self, SS_SnapShot, 'thisown', 0) | |
542 | self.__class__ = SS_SnapShot | |
543 | _N2_Python.SS_SnapShot_swigregister(SS_SnapShotPtr) | |
544 | ||
545 | class SS_AddressMap(_object): | |
546 | __swig_setmethods__ = {} | |
547 | __setattr__ = lambda self, name, value: _swig_setattr(self, SS_AddressMap, name, value) | |
548 | __swig_getmethods__ = {} | |
549 | __getattr__ = lambda self, name: _swig_getattr(self, SS_AddressMap, name) | |
550 | def __init__(self): raise RuntimeError, "No constructor defined" | |
551 | def __repr__(self): | |
552 | return "<%s.%s; proxy of C++ SS_AddressMap instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
553 | ||
554 | class SS_AddressMapPtr(SS_AddressMap): | |
555 | def __init__(self, this): | |
556 | _swig_setattr(self, SS_AddressMap, 'this', this) | |
557 | if not hasattr(self,"thisown"): _swig_setattr(self, SS_AddressMap, 'thisown', 0) | |
558 | self.__class__ = SS_AddressMap | |
559 | _N2_Python.SS_AddressMap_swigregister(SS_AddressMapPtr) | |
560 | ||
561 | ||
562 | get_io = _N2_Python.get_io | |
563 | class SS_Io(SS_AddressMap): | |
564 | __swig_setmethods__ = {} | |
565 | for _s in [SS_AddressMap]: __swig_setmethods__.update(_s.__swig_setmethods__) | |
566 | __setattr__ = lambda self, name, value: _swig_setattr(self, SS_Io, name, value) | |
567 | __swig_getmethods__ = {} | |
568 | for _s in [SS_AddressMap]: __swig_getmethods__.update(_s.__swig_getmethods__) | |
569 | __getattr__ = lambda self, name: _swig_getattr(self, SS_Io, name) | |
570 | def __init__(self): raise RuntimeError, "No constructor defined" | |
571 | def __repr__(self): | |
572 | return "<%s.%s; proxy of C++ SS_Io instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
573 | def poke8(*args): return _N2_Python.SS_Io_poke8(*args) | |
574 | def poke16(*args): return _N2_Python.SS_Io_poke16(*args) | |
575 | def poke32(*args): return _N2_Python.SS_Io_poke32(*args) | |
576 | def poke64(*args): return _N2_Python.SS_Io_poke64(*args) | |
577 | def peek8u(*args): return _N2_Python.SS_Io_peek8u(*args) | |
578 | def peek8s(*args): return _N2_Python.SS_Io_peek8s(*args) | |
579 | def peek16u(*args): return _N2_Python.SS_Io_peek16u(*args) | |
580 | def peek16s(*args): return _N2_Python.SS_Io_peek16s(*args) | |
581 | def peek32u(*args): return _N2_Python.SS_Io_peek32u(*args) | |
582 | def peek32s(*args): return _N2_Python.SS_Io_peek32s(*args) | |
583 | def peek64(*args): return _N2_Python.SS_Io_peek64(*args) | |
584 | ||
585 | class SS_IoPtr(SS_Io): | |
586 | def __init__(self, this): | |
587 | _swig_setattr(self, SS_Io, 'this', this) | |
588 | if not hasattr(self,"thisown"): _swig_setattr(self, SS_Io, 'thisown', 0) | |
589 | self.__class__ = SS_Io | |
590 | _N2_Python.SS_Io_swigregister(SS_IoPtr) | |
591 | ||
592 | class SS_Model(_object): | |
593 | __swig_setmethods__ = {} | |
594 | __setattr__ = lambda self, name, value: _swig_setattr(self, SS_Model, name, value) | |
595 | __swig_getmethods__ = {} | |
596 | __getattr__ = lambda self, name: _swig_getattr(self, SS_Model, name) | |
597 | def __init__(self): raise RuntimeError, "No constructor defined" | |
598 | def __repr__(self): | |
599 | return "<%s.%s; proxy of C++ SS_Model instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
600 | def cpu_cnt(*args): return _N2_Python.SS_Model_cpu_cnt(*args) | |
601 | def flush(*args): return _N2_Python.SS_Model_flush(*args) | |
602 | def snapshot(*args): return _N2_Python.SS_Model_snapshot(*args) | |
603 | def ras_enable(*args): return _N2_Python.SS_Model_ras_enable(*args) | |
604 | ||
605 | class SS_ModelPtr(SS_Model): | |
606 | def __init__(self, this): | |
607 | _swig_setattr(self, SS_Model, 'this', this) | |
608 | if not hasattr(self,"thisown"): _swig_setattr(self, SS_Model, 'thisown', 0) | |
609 | self.__class__ = SS_Model | |
610 | _N2_Python.SS_Model_swigregister(SS_ModelPtr) | |
611 | ||
612 | class N2_Tlb(SS_Tlb): | |
613 | __swig_setmethods__ = {} | |
614 | for _s in [SS_Tlb]: __swig_setmethods__.update(_s.__swig_setmethods__) | |
615 | __setattr__ = lambda self, name, value: _swig_setattr(self, N2_Tlb, name, value) | |
616 | __swig_getmethods__ = {} | |
617 | for _s in [SS_Tlb]: __swig_getmethods__.update(_s.__swig_getmethods__) | |
618 | __getattr__ = lambda self, name: _swig_getattr(self, N2_Tlb, name) | |
619 | def __init__(self): raise RuntimeError, "No constructor defined" | |
620 | def __repr__(self): | |
621 | return "<%s.%s; proxy of C++ N2_Tlb instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
622 | def insert(*args): return _N2_Python.N2_Tlb_insert(*args) | |
623 | ||
624 | class N2_TlbPtr(N2_Tlb): | |
625 | def __init__(self, this): | |
626 | _swig_setattr(self, N2_Tlb, 'this', this) | |
627 | if not hasattr(self,"thisown"): _swig_setattr(self, N2_Tlb, 'thisown', 0) | |
628 | self.__class__ = N2_Tlb | |
629 | _N2_Python.N2_Tlb_swigregister(N2_TlbPtr) | |
630 | ||
631 | class N2_Strand(SS_Strand): | |
632 | __swig_setmethods__ = {} | |
633 | for _s in [SS_Strand]: __swig_setmethods__.update(_s.__swig_setmethods__) | |
634 | __setattr__ = lambda self, name, value: _swig_setattr(self, N2_Strand, name, value) | |
635 | __swig_getmethods__ = {} | |
636 | for _s in [SS_Strand]: __swig_getmethods__.update(_s.__swig_getmethods__) | |
637 | __getattr__ = lambda self, name: _swig_getattr(self, N2_Strand, name) | |
638 | def __init__(self): raise RuntimeError, "No constructor defined" | |
639 | def __repr__(self): | |
640 | return "<%s.%s; proxy of C++ N2_Strand instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
641 | def get_reg(*args): return _N2_Python.N2_Strand_get_reg(*args) | |
642 | def set_reg(*args): return _N2_Python.N2_Strand_set_reg(*args) | |
643 | ||
644 | class N2_StrandPtr(N2_Strand): | |
645 | def __init__(self, this): | |
646 | _swig_setattr(self, N2_Strand, 'this', this) | |
647 | if not hasattr(self,"thisown"): _swig_setattr(self, N2_Strand, 'thisown', 0) | |
648 | self.__class__ = N2_Strand | |
649 | _N2_Python.N2_Strand_swigregister(N2_StrandPtr) | |
650 | ||
651 | class N2_Core(SS_Node): | |
652 | __swig_setmethods__ = {} | |
653 | for _s in [SS_Node]: __swig_setmethods__.update(_s.__swig_setmethods__) | |
654 | __setattr__ = lambda self, name, value: _swig_setattr(self, N2_Core, name, value) | |
655 | __swig_getmethods__ = {} | |
656 | for _s in [SS_Node]: __swig_getmethods__.update(_s.__swig_getmethods__) | |
657 | __getattr__ = lambda self, name: _swig_getattr(self, N2_Core, name) | |
658 | def __init__(self): raise RuntimeError, "No constructor defined" | |
659 | def __repr__(self): | |
660 | return "<%s.%s; proxy of C++ N2_Core instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
661 | def strand_cnt(*args): return _N2_Python.N2_Core_strand_cnt(*args) | |
662 | def strand_ptr(*args): return _N2_Python.N2_Core_strand_ptr(*args) | |
663 | __swig_setmethods__["inst_tlb"] = _N2_Python.N2_Core_inst_tlb_set | |
664 | __swig_getmethods__["inst_tlb"] = _N2_Python.N2_Core_inst_tlb_get | |
665 | if _newclass:inst_tlb = property(_N2_Python.N2_Core_inst_tlb_get, _N2_Python.N2_Core_inst_tlb_set) | |
666 | __swig_setmethods__["data_tlb"] = _N2_Python.N2_Core_data_tlb_set | |
667 | __swig_getmethods__["data_tlb"] = _N2_Python.N2_Core_data_tlb_get | |
668 | if _newclass:data_tlb = property(_N2_Python.N2_Core_data_tlb_get, _N2_Python.N2_Core_data_tlb_set) | |
669 | ||
670 | class N2_CorePtr(N2_Core): | |
671 | def __init__(self, this): | |
672 | _swig_setattr(self, N2_Core, 'this', this) | |
673 | if not hasattr(self,"thisown"): _swig_setattr(self, N2_Core, 'thisown', 0) | |
674 | self.__class__ = N2_Core | |
675 | _N2_Python.N2_Core_swigregister(N2_CorePtr) | |
676 | ||
677 | class N2_Cpu(SS_Node): | |
678 | __swig_setmethods__ = {} | |
679 | for _s in [SS_Node]: __swig_setmethods__.update(_s.__swig_setmethods__) | |
680 | __setattr__ = lambda self, name, value: _swig_setattr(self, N2_Cpu, name, value) | |
681 | __swig_getmethods__ = {} | |
682 | for _s in [SS_Node]: __swig_getmethods__.update(_s.__swig_getmethods__) | |
683 | __getattr__ = lambda self, name: _swig_getattr(self, N2_Cpu, name) | |
684 | def __init__(self): raise RuntimeError, "No constructor defined" | |
685 | def __repr__(self): | |
686 | return "<%s.%s; proxy of C++ N2_Cpu instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
687 | def hard_reset(*args): return _N2_Python.N2_Cpu_hard_reset(*args) | |
688 | def snapshot(*args): return _N2_Python.N2_Cpu_snapshot(*args) | |
689 | def core_cnt(*args): return _N2_Python.N2_Cpu_core_cnt(*args) | |
690 | def core_ptr(*args): return _N2_Python.N2_Cpu_core_ptr(*args) | |
691 | ||
692 | class N2_CpuPtr(N2_Cpu): | |
693 | def __init__(self, this): | |
694 | _swig_setattr(self, N2_Cpu, 'this', this) | |
695 | if not hasattr(self,"thisown"): _swig_setattr(self, N2_Cpu, 'thisown', 0) | |
696 | self.__class__ = N2_Cpu | |
697 | _N2_Python.N2_Cpu_swigregister(N2_CpuPtr) | |
698 | ||
699 | ||
700 | n2_cpu = _N2_Python.n2_cpu | |
701 | ||
702 | n2_model = _N2_Python.n2_model | |
703 | class N2_Model(SS_Model): | |
704 | __swig_setmethods__ = {} | |
705 | for _s in [SS_Model]: __swig_setmethods__.update(_s.__swig_setmethods__) | |
706 | __setattr__ = lambda self, name, value: _swig_setattr(self, N2_Model, name, value) | |
707 | __swig_getmethods__ = {} | |
708 | for _s in [SS_Model]: __swig_getmethods__.update(_s.__swig_getmethods__) | |
709 | __getattr__ = lambda self, name: _swig_getattr(self, N2_Model, name) | |
710 | def __repr__(self): | |
711 | return "<%s.%s; proxy of C++ N2_Model instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) | |
712 | def __init__(self, *args): | |
713 | _swig_setattr(self, N2_Model, 'this', _N2_Python.new_N2_Model(*args)) | |
714 | _swig_setattr(self, N2_Model, 'thisown', 1) | |
715 | def create_cpu(*args): return _N2_Python.N2_Model_create_cpu(*args) | |
716 | def cpu_ptr(*args): return _N2_Python.N2_Model_cpu_ptr(*args) | |
717 | ||
718 | class N2_ModelPtr(N2_Model): | |
719 | def __init__(self, this): | |
720 | _swig_setattr(self, N2_Model, 'this', this) | |
721 | if not hasattr(self,"thisown"): _swig_setattr(self, N2_Model, 'thisown', 0) | |
722 | self.__class__ = N2_Model | |
723 | _N2_Python.N2_Model_swigregister(N2_ModelPtr) | |
724 | ||
725 | ||
726 |