[signals] callback for synchronization, how to do?

10 Mar
2008
10 Mar
'08
12:54 a.m.
Hi all, maybe a simple question, but I just can't figure it out: I have a class which triggers an action on a remote device. A different thread polls for the response and sends a signal that the response has arrived. What I simply want is a blocking call like this: // connect to the signal which reports the response otherClass.sigResponse().connect( some sort of lamda magic?) SendCommand(cmd); // Wait somehow until the response has arrived WaitForSigResponse(); return; Any help appreciated. Thanks, Rainer
6194
Age (days ago)
6194
Last active (days ago)
0 comments
1 participants
participants (1)
-
Rainer Thaden