Overview
Features
Download
Documentation
Community
Add-Ons & Services

Notifications, can they have return values

A general discussion forum.

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
jshuler
 
Posts: 4
Joined: 10 Jul 2009, 18:53

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.
guenter
 
Posts: 1107
Joined: 11 Jul 2006, 16:27
Location: Austria


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest

cron