Notifications, can they have return values

A general discussion forum.
jshuler
Posts: 4
Joined: 10 Jul 2009, 18:53

Notifications, can they have return values

Postby jshuler » 23 Jul 2009, 19:51

Is there anything that prevents notifications from having return values similar to boost signals?

Jon

guenter
Posts: 1191
Joined: 11 Jul 2006, 16:27
Location: Austria

Re: Notifications, can they have return values

Postby guenter » 24 Jul 2009, 08:15

No. A notification can contain arbitrary state. You only have to make sure to get the reference counting right, so that you have a valid reference once postNotification() or enqueueNotification() returns.


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest

cron