I have a long unsigned int "error_word" where each bit represents an operation in my application. If the bit is set, that operation has had an error or failed and needs to be looked at.

I realize that primatives do not have signals or events associated with them.

Is there some other data type or object I can use that will send an event/signal that I can monitor. I currently have the code set up with a timer that calls a slot that compares the value of the current error_word to its previous value 2 seconds ago. I'm hoping someone in this forum has a suggestion

Thanks

-emp1953