NDMonitor.NetworkGetPressure.NetworkGetPressure

class NetworkGetPressure(host, port, **kwargs)[source]

Bases: QThread

Thread to connect to a server and start getting values

Methods

blockSignals

check_connection

Checks connection prior to updating pressure

childEvent

children

close

connectNotify

currentThread

currentThreadId

customEvent

deleteLater

disconnect

disconnectNotify

dumpObjectInfo

dumpObjectTree

dynamicPropertyNames

event

eventDispatcher

eventFilter

exec

exec_

exit

findChild

findChildren

idealThreadCount

inherits

installEventFilter

isFinished

isInterruptionRequested

isRunning

isSignalConnected

isWidgetType

isWindowType

killTimer

loopLevel

metaObject

moveToThread

msleep

objectName

parent

priority

property

pyqtConfigure

Each keyword argument is either the name of a Qt property or a Qt signal.

quit

receivers

removeEventFilter

requestInterruption

run

sender

senderSignalIndex

setEventDispatcher

setObjectName

setParent

setPriority

setProperty

setStackSize

setTerminationEnabled

signalsBlocked

sleep

stackSize

start

startTimer

terminate

thread

timerEvent

tr

update_pressure

Ask server and receive new pressure values

usleep

wait

yieldCurrentThread

Attributes

HighPriority

HighestPriority

IdlePriority

InheritPriority

LowPriority

LowestPriority

NormalPriority

TimeCriticalPriority

destroyed

destroyed(self, object: QObject = None) [signal]

finished

finished(self) [signal]

new_value_trigger

objectNameChanged

objectNameChanged(self, str) [signal]

started

started(self) [signal]

staticMetaObject

port

Every self.timing [ms] checking connection with server/new values

class Priority

Bases: int

blockSignals(self, bool) bool
check_connection()[source]

Checks connection prior to updating pressure

childEvent(self, QChildEvent)
children(self) List[QObject]
connectNotify(self, QMetaMethod)
currentThread() QThread
currentThreadId() PyQt5.sip.voidptr
customEvent(self, QEvent)
deleteLater(self)
destroyed

destroyed(self, object: QObject = None) [signal]

disconnect(QMetaObject.Connection) bool
disconnect(self) None
disconnectNotify(self, QMetaMethod)
dumpObjectInfo(self)
dumpObjectTree(self)
dynamicPropertyNames(self) List[QByteArray]
event(self, QEvent) bool
eventDispatcher(self) QAbstractEventDispatcher
eventFilter(self, QObject, QEvent) bool
exec(self) int
exec_(self) int
exit(self, returnCode: int = 0)
findChild(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChild(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) QObject
findChildren(self, type, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, name: str = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, type, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
findChildren(self, Tuple, QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) List[QObject]
finished

finished(self) [signal]

idealThreadCount() int
inherits(self, str) bool
installEventFilter(self, QObject)
isFinished(self) bool
isInterruptionRequested(self) bool
isRunning(self) bool
isSignalConnected(self, QMetaMethod) bool
isWidgetType(self) bool
isWindowType(self) bool
killTimer(self, int)
loopLevel(self) int
metaObject(self) QMetaObject
moveToThread(self, QThread)
msleep(int)
objectName(self) str
objectNameChanged

objectNameChanged(self, str) [signal]

parent(self) QObject
port

Every self.timing [ms] checking connection with server/new values

priority(self) QThread.Priority
property(self, str) Any
pyqtConfigure(...)

Each keyword argument is either the name of a Qt property or a Qt signal. For properties the property is set to the given value which should be of an appropriate type. For signals the signal is connected to the given value which should be a callable.

quit(self)
receivers(self, PYQT_SIGNAL) int
removeEventFilter(self, QObject)
requestInterruption(self)
run(self)
sender(self) QObject
senderSignalIndex(self) int
setEventDispatcher(self, QAbstractEventDispatcher)
setObjectName(self, str)
setParent(self, QObject)
setPriority(self, QThread.Priority)
setProperty(self, str, Any) bool
setStackSize(self, int)
setTerminationEnabled(enabled: bool = True)
signalsBlocked(self) bool
sleep(int)
stackSize(self) int
start(self, priority: QThread.Priority = QThread.InheritPriority)
startTimer(self, int, timerType: Qt.TimerType = Qt.CoarseTimer) int
started

started(self) [signal]

terminate(self)
thread(self) QThread
timerEvent(self, QTimerEvent)
tr(self, str, disambiguation: str = None, n: int = -1) str
update_pressure()[source]

Ask server and receive new pressure values

usleep(int)
wait(self, msecs: int = ULONG_MAX) bool
wait(self, QDeadlineTimer) bool
yieldCurrentThread()