knobby67
15th August 2014, 10:18
Hi All,
I've been trying to work out how to get a return value from a signal/slot. But it seems I can't from googling. Basically what I have is a signal is sent to an error checker slot, the error checker checks everything if there's are error I want a error_flag set and the caller to drop out. So in pseudo code
do
{
game loop
}while( signal calls error check slot, if error set true if not flase and drop out )
so basically how to get the error back to the fuction that calls the signal
Thanks in advance
I've been trying to work out how to get a return value from a signal/slot. But it seems I can't from googling. Basically what I have is a signal is sent to an error checker slot, the error checker checks everything if there's are error I want a error_flag set and the caller to drop out. So in pseudo code
do
{
game loop
}while( signal calls error check slot, if error set true if not flase and drop out )
so basically how to get the error back to the fuction that calls the signal
Thanks in advance