Recommend typecasting bloodLeakState to (U32)bloodLeakState. Outside of this driver the enums are only U32s until they are converted to states again in Dialin.
Ummm, Haven't ever thought about it, this is a very good point. Will look into it, since the actual friend class will not ever be available in the production code.
A very important concept. I refer you to the Qt connection concept for detailed information. https://doc.qt.io/qt-5/signalsandslots.html The idea is, the connect has 4 parameter 1 - Signal owner object 2 - Signal member function 3 - Slot owner object 4 - Slot member function When the signal owner is emit-ed, the slot owner will call its slot by the passed parameter from the signal function. It is very important to use the connection concept, in opposed to the simple call, in case the signal owner and slot owner, objects, are in two different threads. It is the Qt way of thread-safe calling.
This script is in the tests folder. The tests folder is not controlled in the way the Dialin files are controlled so I might go back and forth in between different tests. This is not affecting any of the Dialin features.
That "origin" is intentional. I actually tried to find a word with a correct meaning with the same character length as Target, Actual, Origin. Since this one is not showing up on any scrip or file other than the code, that is fine.