Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Callbacks and Timers » Is there an easy way to leverage callback into multi-cast delegate?
Is there an easy way to leverage callback into multi-cast delegate? [message #15836] Sat, 10 May 2008 15:41 Go to next message
jlfranks is currently offline  jlfranks
Messages: 55
Registered: May 2007
Location: Houston, TX, USA
Member
The callback mechanism works great for a 1-to-1 connection.

However, we have a need for implementing multi-cast delegate for a publish-subscribe pattern.

Is there a way of leveraging the callback mechanism to do this?

--jlf
Re: Is there an easy way to leverage callback into multi-cast delegate? [message #15837 is a reply to message #15836] Sat, 10 May 2008 16:46 Go to previous message
zsolt is currently offline  zsolt
Messages: 576
Registered: December 2005
Location: Budapest, Hungary
Contributor
Use "<<" operator, e.g.:
	m_button << THISBACK(OnButton1);
	m_button << THISBACK(OnButton2);
Previous Topic: callback1 vs callback2
Next Topic: SetTimeCallback failure on arch=armv5l POSIX_PLATFORM
Goto Forum:
  


Current Time: Tue Feb 19 20:19:31 CET 2019

Total time taken to generate the page: 0.00790 seconds