netmsgs  1.2.2
RoadNarrows Robotics Network Messaging Package
NetMsgsCore.py
Go to the documentation of this file.
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 3.0.8
3 #
4 # Do not make changes to this file unless you know what you are doing--modify
5 # the SWIG interface file instead.
6 
7 
8 
9 
10 
11 from sys import version_info
12 if version_info >= (2, 6, 0):
13  def swig_import_helper():
14  from os.path import dirname
15  import imp
16  fp = None
17  try:
18  fp, pathname, description = imp.find_module('_NetMsgsCore', [dirname(__file__)])
19  except ImportError:
20  import _NetMsgsCore
21  return _NetMsgsCore
22  if fp is not None:
23  try:
24  _mod = imp.load_module('_NetMsgsCore', fp, pathname, description)
25  finally:
26  fp.close()
27  return _mod
28  _NetMsgsCore = swig_import_helper()
29  del swig_import_helper
30 else:
31  import _NetMsgsCore
32 del version_info
33 try:
34  _swig_property = property
35 except NameError:
36  pass # Python < 2.2 doesn't have 'property'.
37 
38 
39 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
40  if (name == "thisown"):
41  return self.this.own(value)
42  if (name == "this"):
43  if type(value).__name__ == 'SwigPyObject':
44  self.__dict__[name] = value
45  return
46  method = class_type.__swig_setmethods__.get(name, None)
47  if method:
48  return method(self, value)
49  if (not static):
50  if _newclass:
51  object.__setattr__(self, name, value)
52  else:
53  self.__dict__[name] = value
54  else:
55  raise AttributeError("You cannot add attributes to %s" % self)
56 
57 
58 def _swig_setattr(self, class_type, name, value):
59  return _swig_setattr_nondynamic(self, class_type, name, value, 0)
60 
61 
62 def _swig_getattr_nondynamic(self, class_type, name, static=1):
63  if (name == "thisown"):
64  return self.this.own()
65  method = class_type.__swig_getmethods__.get(name, None)
66  if method:
67  return method(self)
68  if (not static):
69  return object.__getattr__(self, name)
70  else:
71  raise AttributeError(name)
72 
73 def _swig_getattr(self, class_type, name):
74  return _swig_getattr_nondynamic(self, class_type, name, 0)
75 
76 
77 def _swig_repr(self):
78  try:
79  strthis = "proxy of " + self.this.__repr__()
80  except Exception:
81  strthis = ""
82  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
83 
84 try:
85  _object = object
86  _newclass = 1
87 except AttributeError:
88  class _object:
89  pass
90  _newclass = 0
91 
92 
93 
94 _NetMsgsCore.NM_OK_swigconstant(_NetMsgsCore)
95 NM_OK = _NetMsgsCore.NM_OK
96 
97 _NetMsgsCore.NM_ECODE_GEN_swigconstant(_NetMsgsCore)
98 NM_ECODE_GEN = _NetMsgsCore.NM_ECODE_GEN
99 
100 _NetMsgsCore.NM_ECODE_NOMEM_swigconstant(_NetMsgsCore)
101 NM_ECODE_NOMEM = _NetMsgsCore.NM_ECODE_NOMEM
102 
103 _NetMsgsCore.NM_ECODE_ARCH_NOTSUP_swigconstant(_NetMsgsCore)
104 NM_ECODE_ARCH_NOTSUP = _NetMsgsCore.NM_ECODE_ARCH_NOTSUP
105 
106 _NetMsgsCore.NM_ECODE_RANGE_swigconstant(_NetMsgsCore)
107 NM_ECODE_RANGE = _NetMsgsCore.NM_ECODE_RANGE
108 
109 _NetMsgsCore.NM_ECODE_FTYPE_swigconstant(_NetMsgsCore)
110 NM_ECODE_FTYPE = _NetMsgsCore.NM_ECODE_FTYPE
111 
112 _NetMsgsCore.NM_ECODE_EMSG_swigconstant(_NetMsgsCore)
113 NM_ECODE_EMSG = _NetMsgsCore.NM_ECODE_EMSG
114 
115 _NetMsgsCore.NM_ECODE_MSGID_swigconstant(_NetMsgsCore)
116 NM_ECODE_MSGID = _NetMsgsCore.NM_ECODE_MSGID
117 
118 _NetMsgsCore.NM_ECODE_INTERNAL_swigconstant(_NetMsgsCore)
119 NM_ECODE_INTERNAL = _NetMsgsCore.NM_ECODE_INTERNAL
120 
121 _NetMsgsCore.NM_ECODE_BADEC_swigconstant(_NetMsgsCore)
122 NM_ECODE_BADEC = _NetMsgsCore.NM_ECODE_BADEC
123 
124 _NetMsgsCore.NM_ECODE_NUMOF_swigconstant(_NetMsgsCore)
125 NM_ECODE_NUMOF = _NetMsgsCore.NM_ECODE_NUMOF
126 
127 _NetMsgsCore.NMEncodingFlat_swigconstant(_NetMsgsCore)
128 NMEncodingFlat = _NetMsgsCore.NMEncodingFlat
129 
130 _NetMsgsCore.NMEncodingITV_swigconstant(_NetMsgsCore)
131 NMEncodingITV = _NetMsgsCore.NMEncodingITV
132 
133 _NetMsgsCore.NMEncodingCLI_swigconstant(_NetMsgsCore)
134 NMEncodingCLI = _NetMsgsCore.NMEncodingCLI
135 
136 _NetMsgsCore.NMEncodingNumOf_swigconstant(_NetMsgsCore)
137 NMEncodingNumOf = _NetMsgsCore.NMEncodingNumOf
138 
139 _NetMsgsCore.NMEndianBig_swigconstant(_NetMsgsCore)
140 NMEndianBig = _NetMsgsCore.NMEndianBig
141 
142 _NetMsgsCore.NMEndianLittle_swigconstant(_NetMsgsCore)
143 NMEndianLittle = _NetMsgsCore.NMEndianLittle
144 
145 _NetMsgsCore.NMEndianNative_swigconstant(_NetMsgsCore)
146 NMEndianNative = _NetMsgsCore.NMEndianNative
147 
148 _NetMsgsCore.NMFTypeNone_swigconstant(_NetMsgsCore)
149 NMFTypeNone = _NetMsgsCore.NMFTypeNone
150 
151 _NetMsgsCore.NMFTypePadTr_swigconstant(_NetMsgsCore)
152 NMFTypePadTr = _NetMsgsCore.NMFTypePadTr
153 
154 _NetMsgsCore.NMFTypeBool_swigconstant(_NetMsgsCore)
155 NMFTypeBool = _NetMsgsCore.NMFTypeBool
156 
157 _NetMsgsCore.NMFTypeU8_swigconstant(_NetMsgsCore)
158 NMFTypeU8 = _NetMsgsCore.NMFTypeU8
159 
160 _NetMsgsCore.NMFTypeByte_swigconstant(_NetMsgsCore)
161 NMFTypeByte = _NetMsgsCore.NMFTypeByte
162 
163 _NetMsgsCore.NMFTypeF64_swigconstant(_NetMsgsCore)
164 NMFTypeF64 = _NetMsgsCore.NMFTypeF64
165 
166 _NetMsgsCore.NMFTypeDouble_swigconstant(_NetMsgsCore)
167 NMFTypeDouble = _NetMsgsCore.NMFTypeDouble
168 
169 _NetMsgsCore.NMFTypeU16_swigconstant(_NetMsgsCore)
170 NMFTypeU16 = _NetMsgsCore.NMFTypeU16
171 
172 _NetMsgsCore.NMFTypeUShort_swigconstant(_NetMsgsCore)
173 NMFTypeUShort = _NetMsgsCore.NMFTypeUShort
174 
175 _NetMsgsCore.NMFTypeU32_swigconstant(_NetMsgsCore)
176 NMFTypeU32 = _NetMsgsCore.NMFTypeU32
177 
178 _NetMsgsCore.NMFTypeUInt_swigconstant(_NetMsgsCore)
179 NMFTypeUInt = _NetMsgsCore.NMFTypeUInt
180 
181 _NetMsgsCore.NMFTypeP64_swigconstant(_NetMsgsCore)
182 NMFTypeP64 = _NetMsgsCore.NMFTypeP64
183 
184 _NetMsgsCore.NMFTypeLongPointer_swigconstant(_NetMsgsCore)
185 NMFTypeLongPointer = _NetMsgsCore.NMFTypeLongPointer
186 
187 _NetMsgsCore.NMFTypeU64_swigconstant(_NetMsgsCore)
188 NMFTypeU64 = _NetMsgsCore.NMFTypeU64
189 
190 _NetMsgsCore.NMFTypeULongLong_swigconstant(_NetMsgsCore)
191 NMFTypeULongLong = _NetMsgsCore.NMFTypeULongLong
192 
193 _NetMsgsCore.NMFTypeVector_swigconstant(_NetMsgsCore)
194 NMFTypeVector = _NetMsgsCore.NMFTypeVector
195 
196 _NetMsgsCore.NMFTypeS8_swigconstant(_NetMsgsCore)
197 NMFTypeS8 = _NetMsgsCore.NMFTypeS8
198 
199 _NetMsgsCore.NMFTypeSChar_swigconstant(_NetMsgsCore)
200 NMFTypeSChar = _NetMsgsCore.NMFTypeSChar
201 
202 _NetMsgsCore.NMFTypeChar_swigconstant(_NetMsgsCore)
203 NMFTypeChar = _NetMsgsCore.NMFTypeChar
204 
205 _NetMsgsCore.NMFTypeF32_swigconstant(_NetMsgsCore)
206 NMFTypeF32 = _NetMsgsCore.NMFTypeF32
207 
208 _NetMsgsCore.NMFTypeFloat_swigconstant(_NetMsgsCore)
209 NMFTypeFloat = _NetMsgsCore.NMFTypeFloat
210 
211 _NetMsgsCore.NMFTypeS16_swigconstant(_NetMsgsCore)
212 NMFTypeS16 = _NetMsgsCore.NMFTypeS16
213 
214 _NetMsgsCore.NMFTypeShort_swigconstant(_NetMsgsCore)
215 NMFTypeShort = _NetMsgsCore.NMFTypeShort
216 
217 _NetMsgsCore.NMFTypeS32_swigconstant(_NetMsgsCore)
218 NMFTypeS32 = _NetMsgsCore.NMFTypeS32
219 
220 _NetMsgsCore.NMFTypeInt_swigconstant(_NetMsgsCore)
221 NMFTypeInt = _NetMsgsCore.NMFTypeInt
222 
223 _NetMsgsCore.NMFTypeP32_swigconstant(_NetMsgsCore)
224 NMFTypeP32 = _NetMsgsCore.NMFTypeP32
225 
226 _NetMsgsCore.NMFTypePointer_swigconstant(_NetMsgsCore)
227 NMFTypePointer = _NetMsgsCore.NMFTypePointer
228 
229 _NetMsgsCore.NMFTypeS64_swigconstant(_NetMsgsCore)
230 NMFTypeS64 = _NetMsgsCore.NMFTypeS64
231 
232 _NetMsgsCore.NMFTypeLongLong_swigconstant(_NetMsgsCore)
233 NMFTypeLongLong = _NetMsgsCore.NMFTypeLongLong
234 
235 _NetMsgsCore.NMFTypeString_swigconstant(_NetMsgsCore)
236 NMFTypeString = _NetMsgsCore.NMFTypeString
237 
238 _NetMsgsCore.NMFTypePad_swigconstant(_NetMsgsCore)
239 NMFTypePad = _NetMsgsCore.NMFTypePad
240 
241 _NetMsgsCore.NMFTypeStruct_swigconstant(_NetMsgsCore)
242 NMFTypeStruct = _NetMsgsCore.NMFTypeStruct
243 
244 _NetMsgsCore.NMFTypeNumOf_swigconstant(_NetMsgsCore)
245 NMFTypeNumOf = _NetMsgsCore.NMFTypeNumOf
246 
247 _NetMsgsCore.NMFVAL_LEN_CHAR_swigconstant(_NetMsgsCore)
248 NMFVAL_LEN_CHAR = _NetMsgsCore.NMFVAL_LEN_CHAR
249 
250 _NetMsgsCore.NMFVAL_LEN_U8_swigconstant(_NetMsgsCore)
251 NMFVAL_LEN_U8 = _NetMsgsCore.NMFVAL_LEN_U8
252 
253 _NetMsgsCore.NMFVAL_LEN_S8_swigconstant(_NetMsgsCore)
254 NMFVAL_LEN_S8 = _NetMsgsCore.NMFVAL_LEN_S8
255 
256 _NetMsgsCore.NMFVAL_LEN_BOOL_swigconstant(_NetMsgsCore)
257 NMFVAL_LEN_BOOL = _NetMsgsCore.NMFVAL_LEN_BOOL
258 
259 _NetMsgsCore.NMFVAL_LEN_U16_swigconstant(_NetMsgsCore)
260 NMFVAL_LEN_U16 = _NetMsgsCore.NMFVAL_LEN_U16
261 
262 _NetMsgsCore.NMFVAL_LEN_S16_swigconstant(_NetMsgsCore)
263 NMFVAL_LEN_S16 = _NetMsgsCore.NMFVAL_LEN_S16
264 
265 _NetMsgsCore.NMFVAL_LEN_U32_swigconstant(_NetMsgsCore)
266 NMFVAL_LEN_U32 = _NetMsgsCore.NMFVAL_LEN_U32
267 
268 _NetMsgsCore.NMFVAL_LEN_S32_swigconstant(_NetMsgsCore)
269 NMFVAL_LEN_S32 = _NetMsgsCore.NMFVAL_LEN_S32
270 
271 _NetMsgsCore.NMFVAL_LEN_U64_swigconstant(_NetMsgsCore)
272 NMFVAL_LEN_U64 = _NetMsgsCore.NMFVAL_LEN_U64
273 
274 _NetMsgsCore.NMFVAL_LEN_S64_swigconstant(_NetMsgsCore)
275 NMFVAL_LEN_S64 = _NetMsgsCore.NMFVAL_LEN_S64
276 
277 _NetMsgsCore.NMFVAL_LEN_F32_swigconstant(_NetMsgsCore)
278 NMFVAL_LEN_F32 = _NetMsgsCore.NMFVAL_LEN_F32
279 
280 _NetMsgsCore.NMFVAL_LEN_F64_swigconstant(_NetMsgsCore)
281 NMFVAL_LEN_F64 = _NetMsgsCore.NMFVAL_LEN_F64
282 
283 _NetMsgsCore.NMFVAL_LEN_P32_swigconstant(_NetMsgsCore)
284 NMFVAL_LEN_P32 = _NetMsgsCore.NMFVAL_LEN_P32
285 
286 _NetMsgsCore.NMFVAL_LEN_P64_swigconstant(_NetMsgsCore)
287 NMFVAL_LEN_P64 = _NetMsgsCore.NMFVAL_LEN_P64
288 
289 _NetMsgsCore.NMFVAL_LEN_BYTE_swigconstant(_NetMsgsCore)
290 NMFVAL_LEN_BYTE = _NetMsgsCore.NMFVAL_LEN_BYTE
291 
292 _NetMsgsCore.NMFVAL_LEN_SCHAR_swigconstant(_NetMsgsCore)
293 NMFVAL_LEN_SCHAR = _NetMsgsCore.NMFVAL_LEN_SCHAR
294 
295 _NetMsgsCore.NMFVAL_LEN_USHORT_swigconstant(_NetMsgsCore)
296 NMFVAL_LEN_USHORT = _NetMsgsCore.NMFVAL_LEN_USHORT
297 
298 _NetMsgsCore.NMFVAL_LEN_SHORT_swigconstant(_NetMsgsCore)
299 NMFVAL_LEN_SHORT = _NetMsgsCore.NMFVAL_LEN_SHORT
300 
301 _NetMsgsCore.NMFVAL_LEN_UINT_swigconstant(_NetMsgsCore)
302 NMFVAL_LEN_UINT = _NetMsgsCore.NMFVAL_LEN_UINT
303 
304 _NetMsgsCore.NMFVAL_LEN_INT_swigconstant(_NetMsgsCore)
305 NMFVAL_LEN_INT = _NetMsgsCore.NMFVAL_LEN_INT
306 
307 _NetMsgsCore.NMFVAL_LEN_ULONGLONG_swigconstant(_NetMsgsCore)
308 NMFVAL_LEN_ULONGLONG = _NetMsgsCore.NMFVAL_LEN_ULONGLONG
309 
310 _NetMsgsCore.NMFVAL_LEN_LONGLONG_swigconstant(_NetMsgsCore)
311 NMFVAL_LEN_LONGLONG = _NetMsgsCore.NMFVAL_LEN_LONGLONG
312 
313 _NetMsgsCore.NMFVAL_LEN_FLOAT_swigconstant(_NetMsgsCore)
314 NMFVAL_LEN_FLOAT = _NetMsgsCore.NMFVAL_LEN_FLOAT
315 
316 _NetMsgsCore.NMFVAL_LEN_DOUBLE_swigconstant(_NetMsgsCore)
317 NMFVAL_LEN_DOUBLE = _NetMsgsCore.NMFVAL_LEN_DOUBLE
318 
319 _NetMsgsCore.NMFVAL_LEN_POINTER_swigconstant(_NetMsgsCore)
320 NMFVAL_LEN_POINTER = _NetMsgsCore.NMFVAL_LEN_POINTER
321 
322 _NetMsgsCore.NMFVAL_LEN_LONGPOINTER_swigconstant(_NetMsgsCore)
323 NMFVAL_LEN_LONGPOINTER = _NetMsgsCore.NMFVAL_LEN_LONGPOINTER
324 
325 _NetMsgsCore.NMFVAL_LEN_STRING_swigconstant(_NetMsgsCore)
326 NMFVAL_LEN_STRING = _NetMsgsCore.NMFVAL_LEN_STRING
327 
328 _NetMsgsCore.NMFVAL_LEN_MAX_STRING_swigconstant(_NetMsgsCore)
329 NMFVAL_LEN_MAX_STRING = _NetMsgsCore.NMFVAL_LEN_MAX_STRING
330 
331 _NetMsgsCore.NMFVAL_LEN_STRUCT_swigconstant(_NetMsgsCore)
332 NMFVAL_LEN_STRUCT = _NetMsgsCore.NMFVAL_LEN_STRUCT
333 
334 _NetMsgsCore.NMFVAL_LEN_VECTOR_swigconstant(_NetMsgsCore)
335 NMFVAL_LEN_VECTOR = _NetMsgsCore.NMFVAL_LEN_VECTOR
336 
337 _NetMsgsCore.NMFVAL_LEN_MAX_VECTOR_swigconstant(_NetMsgsCore)
338 NMFVAL_LEN_MAX_VECTOR = _NetMsgsCore.NMFVAL_LEN_MAX_VECTOR
339 
340 _NetMsgsCore.NMMSG_ID_NONE_swigconstant(_NetMsgsCore)
341 NMMSG_ID_NONE = _NetMsgsCore.NMMSG_ID_NONE
342 
343 _NetMsgsCore.NMFID_NONE_swigconstant(_NetMsgsCore)
344 NMFID_NONE = _NetMsgsCore.NMFID_NONE
345 
346 _NetMsgsCore.NMITV_MSGID_SIZE_swigconstant(_NetMsgsCore)
347 NMITV_MSGID_SIZE = _NetMsgsCore.NMITV_MSGID_SIZE
348 
349 _NetMsgsCore.NMITV_FID_SIZE_swigconstant(_NetMsgsCore)
350 NMITV_FID_SIZE = _NetMsgsCore.NMITV_FID_SIZE
351 
352 _NetMsgsCore.NMITV_FTYPE_SIZE_swigconstant(_NetMsgsCore)
353 NMITV_FTYPE_SIZE = _NetMsgsCore.NMITV_FTYPE_SIZE
354 
355 _NetMsgsCore.NMITV_FCOUNT_SIZE_swigconstant(_NetMsgsCore)
356 NMITV_FCOUNT_SIZE = _NetMsgsCore.NMITV_FCOUNT_SIZE
357 
358 _NetMsgsCore.NMITV_MSGHDR_SIZE_swigconstant(_NetMsgsCore)
359 NMITV_MSGHDR_SIZE = _NetMsgsCore.NMITV_MSGHDR_SIZE
360 
361 _NetMsgsCore.NMITV_FHDR_SIZE_BASE_swigconstant(_NetMsgsCore)
362 NMITV_FHDR_SIZE_BASE = _NetMsgsCore.NMITV_FHDR_SIZE_BASE
363 
364 _NetMsgsCore.NMITV_FHDR_SIZE_SIMPLE_swigconstant(_NetMsgsCore)
365 NMITV_FHDR_SIZE_SIMPLE = _NetMsgsCore.NMITV_FHDR_SIZE_SIMPLE
366 
367 _NetMsgsCore.NMITV_FHDR_SIZE_STRING_swigconstant(_NetMsgsCore)
368 NMITV_FHDR_SIZE_STRING = _NetMsgsCore.NMITV_FHDR_SIZE_STRING
369 
370 _NetMsgsCore.NMITV_FHDR_SIZE_STRUCT_swigconstant(_NetMsgsCore)
371 NMITV_FHDR_SIZE_STRUCT = _NetMsgsCore.NMITV_FHDR_SIZE_STRUCT
372 
373 _NetMsgsCore.NMITV_FHDR_SIZE_VECTOR_swigconstant(_NetMsgsCore)
374 NMITV_FHDR_SIZE_VECTOR = _NetMsgsCore.NMITV_FHDR_SIZE_VECTOR
375 
376 def nmStrError(ecode):
377  return _NetMsgsCore.nmStrError(ecode)
378 nmStrError = _NetMsgsCore.nmStrError
379 
380 
381 """
382 NetMsgs Core Python Inline Extensions and Wrappers.
383 """
384 
385 ## \file
386 ## \package NetMsgs.NetMsgsCore
387 ##
388 ## \brief NetMsgs Swigged Core Python Interface Module.
389 ##
390 ## \author Robin Knight (robin.knight@roadnarrows.com)
391 ##
392 ## \par Copyright:
393 ## (C) 2010. RoadNarrows LLC.\n
394 ## (http://www.roadnarrows.com)\n
395 ## All Rights Reserved
396 ##
397 
398 
399 # This file is compatible with both classic and new-style classes.
400 
401