eirikblekesaune/VTM

Do we need a concept of a signal and a slot?

Closed this issue · 3 comments

A one shot event sent out to whoever is interested in listening.

Conceptually the interaction between signals and commands are similar to signals and slot in Qt.

Commands-without-arguments and Command-with-arguments may very well be two different concepts?

this raises a small problem regarding SC native objects, which would not be able to have this signal-slot implementation in their definitions. Meaning that there should be a “wrapper class“ for them in order to bind the different states of the object.
e.g SerialPort : connected / closed / error

The Signal concept has been implemented in 839aa60.

The remaining discussion about slots continues here: #88
So, closing this issue now.