QTools  7.3.4
Collection of Host-Based Tools
Loading...
Searching...
No Matches
qview.QSpy Class Reference

Helper class for UDP-communication with the QSpy front-end (non-blocking UDP-socket version for QView) More...

Static Protected Member Functions

 _init ()
 
 _attach ()
 
 _detach ()
 
 _reattach ()
 
 _poll0 ()
 
 _poll ()
 
 _sendTo (packet, str=None)
 
 _sendEvt (ao_prio, signal, params=None)
 

Static Protected Attributes

 _sock = None
 
bool _is_attached = False
 
int _tx_seq = 0
 
int _rx_seq = 0
 
list _host_addr = ["localhost", 7701]
 
int _local_port = 0
 
 _after_id = None
 
str _fmt_target = "UNKNOWN"
 
str _fmt_endian = "<"
 
int _size_objPtr = 4
 
int _size_funPtr = 4
 
int _size_tstamp = 4
 
int _size_sig = 2
 
int _size_evtSize = 2
 
int _size_queueCtr = 1
 
int _size_poolCtr = 2
 
int _size_poolBlk = 2
 
int _size_tevtCtr = 2
 
str _fmt = "xBHxLxxxQ"
 
int _POLLI = 10
 
tuple _QS
 
int _GLB_FLT_MASK_ALL = 0x1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
 
int _GLB_FLT_MASK_SM = 0x000000000000000003800000000003FE
 
int _GLB_FLT_MASK_AO = 0x0000000000000000000020000007FC00
 
int _GLB_FLT_MASK_QF = 0x000000000000000000001FC0FC800000
 
int _GLB_FLT_MASK_TE = 0x00000000000000000000003F00000000
 
int _GLB_FLT_MASK_EQ = 0x00000000000000000000400000780000
 
int _GLB_FLT_MASK_MP = 0x00000000000000000000800003000000
 
int _GLB_FLT_MASK_SC = 0x0000000000000000003F000000000000
 
int _GLB_FLT_MASK_SEM = 0x00000000000007800000000000000000
 
int _GLB_FLT_MASK_MTX = 0x000000000001F8000000000000000000
 
int _GLB_FLT_MASK_U0 = 0x000001F0000000000000000000000000
 
int _GLB_FLT_MASK_U1 = 0x00003E00000000000000000000000000
 
int _GLB_FLT_MASK_U2 = 0x0007C000000000000000000000000000
 
int _GLB_FLT_MASK_U3 = 0x00F80000000000000000000000000000
 
int _GLB_FLT_MASK_U4 = 0x1F000000000000000000000000000000
 
int _GLB_FLT_MASK_UA = 0x1FFFFFF0000000000000000000000000
 
int _GLB_FLT_RANGE = 125
 
int _LOC_FLT_MASK_ALL = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
 
int _LOC_FLT_MASK_AO = 0x0000000000000001FFFFFFFFFFFFFFFE
 
int _LOC_FLT_MASK_EP = 0x000000000000FFFE0000000000000000
 
int _LOC_FLT_MASK_EQ = 0x00000000FFFF00000000000000000000
 
int _LOC_FLT_MASK_AP = 0xFFFFFFFF000000000000000000000000
 
int _LOC_FLT_RANGE = 128
 
int _PKT_TEXT_ECHO = 0
 
int _PKT_TARGET_INFO = 64
 
int _PKT_ASSERTION = 69
 
int _PKT_QF_RUN = 70
 
int _PKT_ATTACH_CONF = 128
 
int _PKT_DETACH = 129
 
int _TRGT_INFO = 0
 
int _TRGT_COMMAND = 1
 
int _TRGT_RESET = 2
 
int _TRGT_TICK = 3
 
int _TRGT_PEEK = 4
 
int _TRGT_POKE = 5
 
int _TRGT_FILL = 6
 
int _TRGT_TEST_SETUP = 7
 
int _TRGT_TEST_TEARDOWN = 8
 
int _TRGT_TEST_PROBE = 9
 
int _TRGT_GLB_FILTER = 10
 
int _TRGT_LOC_FILTER = 11
 
int _TRGT_AO_FILTER = 12
 
int _TRGT_CURR_OBJ = 13
 
int _TRGT_CONTINUE = 14
 
int _TRGT_QUERY_CURR = 15
 
int _TRGT_EVENT = 16
 
int _QSPY_ATTACH = 128
 
int _QSPY_DETACH = 129
 
int _QSPY_SAVE_DICT = 130
 
int _QSPY_TEXT_OUT = 131
 
int _QSPY_BIN_OUT = 132
 
int _QSPY_MATLAB_OUT = 133
 
int _QSPY_SEQUENCE_OUT = 134
 
int _QSPY_CLEAR_SCREEN = 140
 
int _QSPY_SHOW_NOTE = 141
 
int _QSPY_SEND_EVENT = 135
 
int _QSPY_SEND_AO_FILTER = 136
 
int _QSPY_SEND_CURR_OBJ = 137
 
int _QSPY_SEND_COMMAND = 138
 
int _QSPY_SEND_TEST_PROBE = 139
 
int _EVT_PUBLISH = 0
 
int _EVT_POST = 253
 
int _EVT_INIT = 254
 
int _EVT_DISPATCH = 255
 

Detailed Description

Helper class for UDP-communication with the QSpy front-end (non-blocking UDP-socket version for QView)

Definition at line 1119 of file qview.py.

Member Function Documentation

◆ _init()

qview.QSpy._init ( )
staticprotected

Definition at line 1337 of file qview.py.

◆ _attach()

qview.QSpy._attach ( )
staticprotected

Definition at line 1355 of file qview.py.

◆ _detach()

qview.QSpy._detach ( )
staticprotected

Definition at line 1367 of file qview.py.

◆ _reattach()

qview.QSpy._reattach ( )
staticprotected

Definition at line 1377 of file qview.py.

◆ _poll0()

qview.QSpy._poll0 ( )
staticprotected

Definition at line 1387 of file qview.py.

◆ _poll()

qview.QSpy._poll ( )
staticprotected

Definition at line 1451 of file qview.py.

◆ _sendTo()

qview.QSpy._sendTo (   packet,
  str = None 
)
staticprotected

Definition at line 1557 of file qview.py.

◆ _sendEvt()

qview.QSpy._sendEvt (   ao_prio,
  signal,
  params = None 
)
staticprotected

Definition at line 1574 of file qview.py.

Member Data Documentation

◆ _sock

qview.QSpy._sock = None
staticprotected

Definition at line 1121 of file qview.py.

◆ _is_attached

bool qview.QSpy._is_attached = False
staticprotected

Definition at line 1122 of file qview.py.

◆ _tx_seq

int qview.QSpy._tx_seq = 0
staticprotected

Definition at line 1123 of file qview.py.

◆ _rx_seq

int qview.QSpy._rx_seq = 0
staticprotected

Definition at line 1124 of file qview.py.

◆ _host_addr

list qview.QSpy._host_addr = ["localhost", 7701]
staticprotected

Definition at line 1125 of file qview.py.

◆ _local_port

int qview.QSpy._local_port = 0
staticprotected

Definition at line 1126 of file qview.py.

◆ _after_id

qview.QSpy._after_id = None
staticprotected

Definition at line 1127 of file qview.py.

◆ _fmt_target

str qview.QSpy._fmt_target = "UNKNOWN"
staticprotected

Definition at line 1130 of file qview.py.

◆ _fmt_endian

str qview.QSpy._fmt_endian = "<"
staticprotected

Definition at line 1131 of file qview.py.

◆ _size_objPtr

int qview.QSpy._size_objPtr = 4
staticprotected

Definition at line 1132 of file qview.py.

◆ _size_funPtr

int qview.QSpy._size_funPtr = 4
staticprotected

Definition at line 1133 of file qview.py.

◆ _size_tstamp

int qview.QSpy._size_tstamp = 4
staticprotected

Definition at line 1134 of file qview.py.

◆ _size_sig

int qview.QSpy._size_sig = 2
staticprotected

Definition at line 1135 of file qview.py.

◆ _size_evtSize

int qview.QSpy._size_evtSize = 2
staticprotected

Definition at line 1136 of file qview.py.

◆ _size_queueCtr

int qview.QSpy._size_queueCtr = 1
staticprotected

Definition at line 1138 of file qview.py.

◆ _size_poolCtr

int qview.QSpy._size_poolCtr = 2
staticprotected

Definition at line 1139 of file qview.py.

◆ _size_poolBlk

int qview.QSpy._size_poolBlk = 2
staticprotected

Definition at line 1140 of file qview.py.

◆ _size_tevtCtr

int qview.QSpy._size_tevtCtr = 2
staticprotected

Definition at line 1141 of file qview.py.

◆ _fmt

str qview.QSpy._fmt = "xBHxLxxxQ"
staticprotected

Definition at line 1142 of file qview.py.

◆ _POLLI

int qview.QSpy._POLLI = 10
staticprotected

Definition at line 1147 of file qview.py.

◆ _QS

tuple qview.QSpy._QS
staticprotected

Definition at line 1151 of file qview.py.

◆ _GLB_FLT_MASK_ALL

int qview.QSpy._GLB_FLT_MASK_ALL = 0x1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
staticprotected

Definition at line 1259 of file qview.py.

◆ _GLB_FLT_MASK_SM

int qview.QSpy._GLB_FLT_MASK_SM = 0x000000000000000003800000000003FE
staticprotected

Definition at line 1260 of file qview.py.

◆ _GLB_FLT_MASK_AO

int qview.QSpy._GLB_FLT_MASK_AO = 0x0000000000000000000020000007FC00
staticprotected

Definition at line 1261 of file qview.py.

◆ _GLB_FLT_MASK_QF

int qview.QSpy._GLB_FLT_MASK_QF = 0x000000000000000000001FC0FC800000
staticprotected

Definition at line 1262 of file qview.py.

◆ _GLB_FLT_MASK_TE

int qview.QSpy._GLB_FLT_MASK_TE = 0x00000000000000000000003F00000000
staticprotected

Definition at line 1263 of file qview.py.

◆ _GLB_FLT_MASK_EQ

int qview.QSpy._GLB_FLT_MASK_EQ = 0x00000000000000000000400000780000
staticprotected

Definition at line 1264 of file qview.py.

◆ _GLB_FLT_MASK_MP

int qview.QSpy._GLB_FLT_MASK_MP = 0x00000000000000000000800003000000
staticprotected

Definition at line 1265 of file qview.py.

◆ _GLB_FLT_MASK_SC

int qview.QSpy._GLB_FLT_MASK_SC = 0x0000000000000000003F000000000000
staticprotected

Definition at line 1266 of file qview.py.

◆ _GLB_FLT_MASK_SEM

int qview.QSpy._GLB_FLT_MASK_SEM = 0x00000000000007800000000000000000
staticprotected

Definition at line 1267 of file qview.py.

◆ _GLB_FLT_MASK_MTX

int qview.QSpy._GLB_FLT_MASK_MTX = 0x000000000001F8000000000000000000
staticprotected

Definition at line 1268 of file qview.py.

◆ _GLB_FLT_MASK_U0

int qview.QSpy._GLB_FLT_MASK_U0 = 0x000001F0000000000000000000000000
staticprotected

Definition at line 1269 of file qview.py.

◆ _GLB_FLT_MASK_U1

int qview.QSpy._GLB_FLT_MASK_U1 = 0x00003E00000000000000000000000000
staticprotected

Definition at line 1270 of file qview.py.

◆ _GLB_FLT_MASK_U2

int qview.QSpy._GLB_FLT_MASK_U2 = 0x0007C000000000000000000000000000
staticprotected

Definition at line 1271 of file qview.py.

◆ _GLB_FLT_MASK_U3

int qview.QSpy._GLB_FLT_MASK_U3 = 0x00F80000000000000000000000000000
staticprotected

Definition at line 1272 of file qview.py.

◆ _GLB_FLT_MASK_U4

int qview.QSpy._GLB_FLT_MASK_U4 = 0x1F000000000000000000000000000000
staticprotected

Definition at line 1273 of file qview.py.

◆ _GLB_FLT_MASK_UA

int qview.QSpy._GLB_FLT_MASK_UA = 0x1FFFFFF0000000000000000000000000
staticprotected

Definition at line 1274 of file qview.py.

◆ _GLB_FLT_RANGE

int qview.QSpy._GLB_FLT_RANGE = 125
staticprotected

Definition at line 1275 of file qview.py.

◆ _LOC_FLT_MASK_ALL

int qview.QSpy._LOC_FLT_MASK_ALL = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
staticprotected

Definition at line 1278 of file qview.py.

◆ _LOC_FLT_MASK_AO

int qview.QSpy._LOC_FLT_MASK_AO = 0x0000000000000001FFFFFFFFFFFFFFFE
staticprotected

Definition at line 1279 of file qview.py.

◆ _LOC_FLT_MASK_EP

int qview.QSpy._LOC_FLT_MASK_EP = 0x000000000000FFFE0000000000000000
staticprotected

Definition at line 1280 of file qview.py.

◆ _LOC_FLT_MASK_EQ

int qview.QSpy._LOC_FLT_MASK_EQ = 0x00000000FFFF00000000000000000000
staticprotected

Definition at line 1281 of file qview.py.

◆ _LOC_FLT_MASK_AP

int qview.QSpy._LOC_FLT_MASK_AP = 0xFFFFFFFF000000000000000000000000
staticprotected

Definition at line 1282 of file qview.py.

◆ _LOC_FLT_RANGE

int qview.QSpy._LOC_FLT_RANGE = 128
staticprotected

Definition at line 1283 of file qview.py.

◆ _PKT_TEXT_ECHO

int qview.QSpy._PKT_TEXT_ECHO = 0
staticprotected

Definition at line 1286 of file qview.py.

◆ _PKT_TARGET_INFO

int qview.QSpy._PKT_TARGET_INFO = 64
staticprotected

Definition at line 1287 of file qview.py.

◆ _PKT_ASSERTION

int qview.QSpy._PKT_ASSERTION = 69
staticprotected

Definition at line 1288 of file qview.py.

◆ _PKT_QF_RUN

int qview.QSpy._PKT_QF_RUN = 70
staticprotected

Definition at line 1289 of file qview.py.

◆ _PKT_ATTACH_CONF

int qview.QSpy._PKT_ATTACH_CONF = 128
staticprotected

Definition at line 1290 of file qview.py.

◆ _PKT_DETACH

int qview.QSpy._PKT_DETACH = 129
staticprotected

Definition at line 1291 of file qview.py.

◆ _TRGT_INFO

int qview.QSpy._TRGT_INFO = 0
staticprotected

Definition at line 1294 of file qview.py.

◆ _TRGT_COMMAND

int qview.QSpy._TRGT_COMMAND = 1
staticprotected

Definition at line 1295 of file qview.py.

◆ _TRGT_RESET

int qview.QSpy._TRGT_RESET = 2
staticprotected

Definition at line 1296 of file qview.py.

◆ _TRGT_TICK

int qview.QSpy._TRGT_TICK = 3
staticprotected

Definition at line 1297 of file qview.py.

◆ _TRGT_PEEK

int qview.QSpy._TRGT_PEEK = 4
staticprotected

Definition at line 1298 of file qview.py.

◆ _TRGT_POKE

int qview.QSpy._TRGT_POKE = 5
staticprotected

Definition at line 1299 of file qview.py.

◆ _TRGT_FILL

int qview.QSpy._TRGT_FILL = 6
staticprotected

Definition at line 1300 of file qview.py.

◆ _TRGT_TEST_SETUP

int qview.QSpy._TRGT_TEST_SETUP = 7
staticprotected

Definition at line 1301 of file qview.py.

◆ _TRGT_TEST_TEARDOWN

int qview.QSpy._TRGT_TEST_TEARDOWN = 8
staticprotected

Definition at line 1302 of file qview.py.

◆ _TRGT_TEST_PROBE

int qview.QSpy._TRGT_TEST_PROBE = 9
staticprotected

Definition at line 1303 of file qview.py.

◆ _TRGT_GLB_FILTER

int qview.QSpy._TRGT_GLB_FILTER = 10
staticprotected

Definition at line 1304 of file qview.py.

◆ _TRGT_LOC_FILTER

int qview.QSpy._TRGT_LOC_FILTER = 11
staticprotected

Definition at line 1305 of file qview.py.

◆ _TRGT_AO_FILTER

int qview.QSpy._TRGT_AO_FILTER = 12
staticprotected

Definition at line 1306 of file qview.py.

◆ _TRGT_CURR_OBJ

int qview.QSpy._TRGT_CURR_OBJ = 13
staticprotected

Definition at line 1307 of file qview.py.

◆ _TRGT_CONTINUE

int qview.QSpy._TRGT_CONTINUE = 14
staticprotected

Definition at line 1308 of file qview.py.

◆ _TRGT_QUERY_CURR

int qview.QSpy._TRGT_QUERY_CURR = 15
staticprotected

Definition at line 1309 of file qview.py.

◆ _TRGT_EVENT

int qview.QSpy._TRGT_EVENT = 16
staticprotected

Definition at line 1310 of file qview.py.

◆ _QSPY_ATTACH

int qview.QSpy._QSPY_ATTACH = 128
staticprotected

Definition at line 1313 of file qview.py.

◆ _QSPY_DETACH

int qview.QSpy._QSPY_DETACH = 129
staticprotected

Definition at line 1314 of file qview.py.

◆ _QSPY_SAVE_DICT

int qview.QSpy._QSPY_SAVE_DICT = 130
staticprotected

Definition at line 1315 of file qview.py.

◆ _QSPY_TEXT_OUT

int qview.QSpy._QSPY_TEXT_OUT = 131
staticprotected

Definition at line 1316 of file qview.py.

◆ _QSPY_BIN_OUT

int qview.QSpy._QSPY_BIN_OUT = 132
staticprotected

Definition at line 1317 of file qview.py.

◆ _QSPY_MATLAB_OUT

int qview.QSpy._QSPY_MATLAB_OUT = 133
staticprotected

Definition at line 1318 of file qview.py.

◆ _QSPY_SEQUENCE_OUT

int qview.QSpy._QSPY_SEQUENCE_OUT = 134
staticprotected

Definition at line 1319 of file qview.py.

◆ _QSPY_CLEAR_SCREEN

int qview.QSpy._QSPY_CLEAR_SCREEN = 140
staticprotected

Definition at line 1320 of file qview.py.

◆ _QSPY_SHOW_NOTE

int qview.QSpy._QSPY_SHOW_NOTE = 141
staticprotected

Definition at line 1321 of file qview.py.

◆ _QSPY_SEND_EVENT

int qview.QSpy._QSPY_SEND_EVENT = 135
staticprotected

Definition at line 1324 of file qview.py.

◆ _QSPY_SEND_AO_FILTER

int qview.QSpy._QSPY_SEND_AO_FILTER = 136
staticprotected

Definition at line 1325 of file qview.py.

◆ _QSPY_SEND_CURR_OBJ

int qview.QSpy._QSPY_SEND_CURR_OBJ = 137
staticprotected

Definition at line 1326 of file qview.py.

◆ _QSPY_SEND_COMMAND

int qview.QSpy._QSPY_SEND_COMMAND = 138
staticprotected

Definition at line 1327 of file qview.py.

◆ _QSPY_SEND_TEST_PROBE

int qview.QSpy._QSPY_SEND_TEST_PROBE = 139
staticprotected

Definition at line 1328 of file qview.py.

◆ _EVT_PUBLISH

int qview.QSpy._EVT_PUBLISH = 0
staticprotected

Definition at line 1331 of file qview.py.

◆ _EVT_POST

int qview.QSpy._EVT_POST = 253
staticprotected

Definition at line 1332 of file qview.py.

◆ _EVT_INIT

int qview.QSpy._EVT_INIT = 254
staticprotected

Definition at line 1333 of file qview.py.

◆ _EVT_DISPATCH

int qview.QSpy._EVT_DISPATCH = 255
staticprotected

Definition at line 1334 of file qview.py.


The documentation for this class was generated from the following file: