
12 Oct
2009
12 Oct
'09
2:03 p.m.
Hello, I need a combiner which executes only the slots within the highest group. How to access to group in the combiner? What happens with the input iterators if signal::disconnect_all_slots() gest called within the combiner? someting like this: struct combiner { template< typename It > void operator( It i, It e) const { // iterate over slots // execute only slots of highest group } }; signal< void(), combiner, int, greater< int > > sig; sig.connect( 0, slot1); sig.connect( 1, slot2); sig(); // only slot2 gets called regards, Oliver -- Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 - sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser