QTools  7.4.1
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 1532 of file qview.py.

Member Function Documentation

◆ _init()

qview.QSpy._init ( )
staticprotected

Definition at line 1750 of file qview.py.

◆ _attach()

qview.QSpy._attach ( )
staticprotected

Definition at line 1768 of file qview.py.

◆ _detach()

qview.QSpy._detach ( )
staticprotected

Definition at line 1780 of file qview.py.

◆ _reattach()

qview.QSpy._reattach ( )
staticprotected

Definition at line 1790 of file qview.py.

◆ _poll0()

qview.QSpy._poll0 ( )
staticprotected

Definition at line 1800 of file qview.py.

◆ _poll()

qview.QSpy._poll ( )
staticprotected

Definition at line 1864 of file qview.py.

◆ _sendTo()

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

Definition at line 1964 of file qview.py.

◆ _sendEvt()

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

Definition at line 1981 of file qview.py.

Member Data Documentation

◆ _sock

qview.QSpy._sock = None
staticprotected

Definition at line 1534 of file qview.py.

◆ _is_attached

bool qview.QSpy._is_attached = False
staticprotected

Definition at line 1535 of file qview.py.

◆ _tx_seq

int qview.QSpy._tx_seq = 0
staticprotected

Definition at line 1536 of file qview.py.

◆ _rx_seq

int qview.QSpy._rx_seq = 0
staticprotected

Definition at line 1537 of file qview.py.

◆ _host_addr

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

Definition at line 1538 of file qview.py.

◆ _local_port

int qview.QSpy._local_port = 0
staticprotected

Definition at line 1539 of file qview.py.

◆ _after_id

qview.QSpy._after_id = None
staticprotected

Definition at line 1540 of file qview.py.

◆ _fmt_target

str qview.QSpy._fmt_target = "UNKNOWN"
staticprotected

Definition at line 1543 of file qview.py.

◆ _fmt_endian

str qview.QSpy._fmt_endian = "<"
staticprotected

Definition at line 1544 of file qview.py.

◆ _size_objPtr

int qview.QSpy._size_objPtr = 4
staticprotected

Definition at line 1545 of file qview.py.

◆ _size_funPtr

int qview.QSpy._size_funPtr = 4
staticprotected

Definition at line 1546 of file qview.py.

◆ _size_tstamp

int qview.QSpy._size_tstamp = 4
staticprotected

Definition at line 1547 of file qview.py.

◆ _size_sig

int qview.QSpy._size_sig = 2
staticprotected

Definition at line 1548 of file qview.py.

◆ _size_evtSize

int qview.QSpy._size_evtSize = 2
staticprotected

Definition at line 1549 of file qview.py.

◆ _size_queueCtr

int qview.QSpy._size_queueCtr = 1
staticprotected

Definition at line 1551 of file qview.py.

◆ _size_poolCtr

int qview.QSpy._size_poolCtr = 2
staticprotected

Definition at line 1552 of file qview.py.

◆ _size_poolBlk

int qview.QSpy._size_poolBlk = 2
staticprotected

Definition at line 1553 of file qview.py.

◆ _size_tevtCtr

int qview.QSpy._size_tevtCtr = 2
staticprotected

Definition at line 1554 of file qview.py.

◆ _fmt

str qview.QSpy._fmt = "xBHxLxxxQ"
staticprotected

Definition at line 1555 of file qview.py.

◆ _POLLI

int qview.QSpy._POLLI = 10
staticprotected

Definition at line 1560 of file qview.py.

◆ _QS

tuple qview.QSpy._QS
staticprotected

Definition at line 1564 of file qview.py.

◆ _GLB_FLT_MASK_ALL

int qview.QSpy._GLB_FLT_MASK_ALL = 0x1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
staticprotected

Definition at line 1672 of file qview.py.

◆ _GLB_FLT_MASK_SM

int qview.QSpy._GLB_FLT_MASK_SM = 0x000000000000000003800000000003FE
staticprotected

Definition at line 1673 of file qview.py.

◆ _GLB_FLT_MASK_AO

int qview.QSpy._GLB_FLT_MASK_AO = 0x0000000000000000000020000007FC00
staticprotected

Definition at line 1674 of file qview.py.

◆ _GLB_FLT_MASK_QF

int qview.QSpy._GLB_FLT_MASK_QF = 0x000000000000000000001FC0FC800000
staticprotected

Definition at line 1675 of file qview.py.

◆ _GLB_FLT_MASK_TE

int qview.QSpy._GLB_FLT_MASK_TE = 0x00000000000000000000003F00000000
staticprotected

Definition at line 1676 of file qview.py.

◆ _GLB_FLT_MASK_EQ

int qview.QSpy._GLB_FLT_MASK_EQ = 0x00000000000000000000400000780000
staticprotected

Definition at line 1677 of file qview.py.

◆ _GLB_FLT_MASK_MP

int qview.QSpy._GLB_FLT_MASK_MP = 0x00000000000000000000800003000000
staticprotected

Definition at line 1678 of file qview.py.

◆ _GLB_FLT_MASK_SC

int qview.QSpy._GLB_FLT_MASK_SC = 0x0000000000000000003F000000000000
staticprotected

Definition at line 1679 of file qview.py.

◆ _GLB_FLT_MASK_SEM

int qview.QSpy._GLB_FLT_MASK_SEM = 0x00000000000007800000000000000000
staticprotected

Definition at line 1680 of file qview.py.

◆ _GLB_FLT_MASK_MTX

int qview.QSpy._GLB_FLT_MASK_MTX = 0x000000000001F8000000000000000000
staticprotected

Definition at line 1681 of file qview.py.

◆ _GLB_FLT_MASK_U0

int qview.QSpy._GLB_FLT_MASK_U0 = 0x000001F0000000000000000000000000
staticprotected

Definition at line 1682 of file qview.py.

◆ _GLB_FLT_MASK_U1

int qview.QSpy._GLB_FLT_MASK_U1 = 0x00003E00000000000000000000000000
staticprotected

Definition at line 1683 of file qview.py.

◆ _GLB_FLT_MASK_U2

int qview.QSpy._GLB_FLT_MASK_U2 = 0x0007C000000000000000000000000000
staticprotected

Definition at line 1684 of file qview.py.

◆ _GLB_FLT_MASK_U3

int qview.QSpy._GLB_FLT_MASK_U3 = 0x00F80000000000000000000000000000
staticprotected

Definition at line 1685 of file qview.py.

◆ _GLB_FLT_MASK_U4

int qview.QSpy._GLB_FLT_MASK_U4 = 0x1F000000000000000000000000000000
staticprotected

Definition at line 1686 of file qview.py.

◆ _GLB_FLT_MASK_UA

int qview.QSpy._GLB_FLT_MASK_UA = 0x1FFFFFF0000000000000000000000000
staticprotected

Definition at line 1687 of file qview.py.

◆ _GLB_FLT_RANGE

int qview.QSpy._GLB_FLT_RANGE = 125
staticprotected

Definition at line 1688 of file qview.py.

◆ _LOC_FLT_MASK_ALL

int qview.QSpy._LOC_FLT_MASK_ALL = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
staticprotected

Definition at line 1691 of file qview.py.

◆ _LOC_FLT_MASK_AO

int qview.QSpy._LOC_FLT_MASK_AO = 0x0000000000000001FFFFFFFFFFFFFFFE
staticprotected

Definition at line 1692 of file qview.py.

◆ _LOC_FLT_MASK_EP

int qview.QSpy._LOC_FLT_MASK_EP = 0x000000000000FFFE0000000000000000
staticprotected

Definition at line 1693 of file qview.py.

◆ _LOC_FLT_MASK_EQ

int qview.QSpy._LOC_FLT_MASK_EQ = 0x00000000FFFF00000000000000000000
staticprotected

Definition at line 1694 of file qview.py.

◆ _LOC_FLT_MASK_AP

int qview.QSpy._LOC_FLT_MASK_AP = 0xFFFFFFFF000000000000000000000000
staticprotected

Definition at line 1695 of file qview.py.

◆ _LOC_FLT_RANGE

int qview.QSpy._LOC_FLT_RANGE = 128
staticprotected

Definition at line 1696 of file qview.py.

◆ _PKT_TEXT_ECHO

int qview.QSpy._PKT_TEXT_ECHO = 0
staticprotected

Definition at line 1699 of file qview.py.

◆ _PKT_TARGET_INFO

int qview.QSpy._PKT_TARGET_INFO = 64
staticprotected

Definition at line 1700 of file qview.py.

◆ _PKT_ASSERTION

int qview.QSpy._PKT_ASSERTION = 69
staticprotected

Definition at line 1701 of file qview.py.

◆ _PKT_QF_RUN

int qview.QSpy._PKT_QF_RUN = 70
staticprotected

Definition at line 1702 of file qview.py.

◆ _PKT_ATTACH_CONF

int qview.QSpy._PKT_ATTACH_CONF = 128
staticprotected

Definition at line 1703 of file qview.py.

◆ _PKT_DETACH

int qview.QSpy._PKT_DETACH = 129
staticprotected

Definition at line 1704 of file qview.py.

◆ _TRGT_INFO

int qview.QSpy._TRGT_INFO = 0
staticprotected

Definition at line 1707 of file qview.py.

◆ _TRGT_COMMAND

int qview.QSpy._TRGT_COMMAND = 1
staticprotected

Definition at line 1708 of file qview.py.

◆ _TRGT_RESET

int qview.QSpy._TRGT_RESET = 2
staticprotected

Definition at line 1709 of file qview.py.

◆ _TRGT_TICK

int qview.QSpy._TRGT_TICK = 3
staticprotected

Definition at line 1710 of file qview.py.

◆ _TRGT_PEEK

int qview.QSpy._TRGT_PEEK = 4
staticprotected

Definition at line 1711 of file qview.py.

◆ _TRGT_POKE

int qview.QSpy._TRGT_POKE = 5
staticprotected

Definition at line 1712 of file qview.py.

◆ _TRGT_FILL

int qview.QSpy._TRGT_FILL = 6
staticprotected

Definition at line 1713 of file qview.py.

◆ _TRGT_TEST_SETUP

int qview.QSpy._TRGT_TEST_SETUP = 7
staticprotected

Definition at line 1714 of file qview.py.

◆ _TRGT_TEST_TEARDOWN

int qview.QSpy._TRGT_TEST_TEARDOWN = 8
staticprotected

Definition at line 1715 of file qview.py.

◆ _TRGT_TEST_PROBE

int qview.QSpy._TRGT_TEST_PROBE = 9
staticprotected

Definition at line 1716 of file qview.py.

◆ _TRGT_GLB_FILTER

int qview.QSpy._TRGT_GLB_FILTER = 10
staticprotected

Definition at line 1717 of file qview.py.

◆ _TRGT_LOC_FILTER

int qview.QSpy._TRGT_LOC_FILTER = 11
staticprotected

Definition at line 1718 of file qview.py.

◆ _TRGT_AO_FILTER

int qview.QSpy._TRGT_AO_FILTER = 12
staticprotected

Definition at line 1719 of file qview.py.

◆ _TRGT_CURR_OBJ

int qview.QSpy._TRGT_CURR_OBJ = 13
staticprotected

Definition at line 1720 of file qview.py.

◆ _TRGT_CONTINUE

int qview.QSpy._TRGT_CONTINUE = 14
staticprotected

Definition at line 1721 of file qview.py.

◆ _TRGT_QUERY_CURR

int qview.QSpy._TRGT_QUERY_CURR = 15
staticprotected

Definition at line 1722 of file qview.py.

◆ _TRGT_EVENT

int qview.QSpy._TRGT_EVENT = 16
staticprotected

Definition at line 1723 of file qview.py.

◆ _QSPY_ATTACH

int qview.QSpy._QSPY_ATTACH = 128
staticprotected

Definition at line 1726 of file qview.py.

◆ _QSPY_DETACH

int qview.QSpy._QSPY_DETACH = 129
staticprotected

Definition at line 1727 of file qview.py.

◆ _QSPY_SAVE_DICT

int qview.QSpy._QSPY_SAVE_DICT = 130
staticprotected

Definition at line 1728 of file qview.py.

◆ _QSPY_TEXT_OUT

int qview.QSpy._QSPY_TEXT_OUT = 131
staticprotected

Definition at line 1729 of file qview.py.

◆ _QSPY_BIN_OUT

int qview.QSpy._QSPY_BIN_OUT = 132
staticprotected

Definition at line 1730 of file qview.py.

◆ _QSPY_MATLAB_OUT

int qview.QSpy._QSPY_MATLAB_OUT = 133
staticprotected

Definition at line 1731 of file qview.py.

◆ _QSPY_SEQUENCE_OUT

int qview.QSpy._QSPY_SEQUENCE_OUT = 134
staticprotected

Definition at line 1732 of file qview.py.

◆ _QSPY_CLEAR_SCREEN

int qview.QSpy._QSPY_CLEAR_SCREEN = 140
staticprotected

Definition at line 1733 of file qview.py.

◆ _QSPY_SHOW_NOTE

int qview.QSpy._QSPY_SHOW_NOTE = 141
staticprotected

Definition at line 1734 of file qview.py.

◆ _QSPY_SEND_EVENT

int qview.QSpy._QSPY_SEND_EVENT = 135
staticprotected

Definition at line 1737 of file qview.py.

◆ _QSPY_SEND_AO_FILTER

int qview.QSpy._QSPY_SEND_AO_FILTER = 136
staticprotected

Definition at line 1738 of file qview.py.

◆ _QSPY_SEND_CURR_OBJ

int qview.QSpy._QSPY_SEND_CURR_OBJ = 137
staticprotected

Definition at line 1739 of file qview.py.

◆ _QSPY_SEND_COMMAND

int qview.QSpy._QSPY_SEND_COMMAND = 138
staticprotected

Definition at line 1740 of file qview.py.

◆ _QSPY_SEND_TEST_PROBE

int qview.QSpy._QSPY_SEND_TEST_PROBE = 139
staticprotected

Definition at line 1741 of file qview.py.

◆ _EVT_PUBLISH

int qview.QSpy._EVT_PUBLISH = 0
staticprotected

Definition at line 1744 of file qview.py.

◆ _EVT_POST

int qview.QSpy._EVT_POST = 253
staticprotected

Definition at line 1745 of file qview.py.

◆ _EVT_INIT

int qview.QSpy._EVT_INIT = 254
staticprotected

Definition at line 1746 of file qview.py.

◆ _EVT_DISPATCH

int qview.QSpy._EVT_DISPATCH = 255
staticprotected

Definition at line 1747 of file qview.py.


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