Re: std.pattern.. templated publisher subscriber pattern, adding events to collections

2010-07-08 Thread BLS
@ Dmitry Thanks for all the feedback Dmitry. Seems that we have similar projects in mind :) (maybe we can talk about the GUI project.. mine is similar to win32++ at http://sourceforge.net/projects/win32-framework/)

Re: std.pattern.. templated publisher subscriber pattern, adding events to collections

2010-07-07 Thread Rory McGuire
On Wed, 07 Jul 2010 00:47:32 +0200, BLS windev...@hotmail.de wrote: Okay a bit better snippet than before. snippet should be almost functional.. /* Hi, Andrei brings in the idea of std.pattern. Seems that this module is stalled; Unfortunately ! However I would like to enhance collection

Re: std.pattern.. templated publisher subscriber pattern, adding events to collections

2010-07-07 Thread Dmitry Olshansky
On 07.07.2010 2:47, BLS wrote: Okay a bit better snippet than before. snippet should be almost functional.. /* Hi, Andrei brings in the idea of std.pattern. Seems that this module is stalled; Unfortunately ! However I would like to enhance collection classes (likewise dcollections) with a

Re: std.pattern.. templated publisher subscriber pattern, adding events to collections

2010-07-07 Thread Jacob Carlborg
On 2010-07-07 10.48, Dmitry Olshansky wrote: On 07.07.2010 2:47, BLS wrote: Okay a bit better snippet than before. snippet should be almost functional.. /* Hi, Andrei brings in the idea of std.pattern. Seems that this module is stalled; Unfortunately ! However I would like to enhance

Re: std.pattern.. templated publisher subscriber pattern, adding events to collections

2010-07-07 Thread Dmitry Olshansky
On 07.07.2010 14:54, Jacob Carlborg wrote: On 2010-07-07 10.48, Dmitry Olshansky wrote: On 07.07.2010 2:47, BLS wrote: Okay a bit better snippet than before. snippet should be almost functional.. /* Hi, Andrei brings in the idea of std.pattern. Seems that this module is stalled; Unfortunately

std.pattern.. templated publisher subscriber pattern, adding events to collections

2010-07-06 Thread BLS
Hi, Andrei brings in the idea of std.pattern. Seems that this module is stalled; Unfortunately ! However I would like to enhance collection classes (likewise dcollections) with a Publisher - Subscriber pattern (signal - slot, or observer pattern) , if you prefer) Hope the idea of enhancing

Re: std.pattern.. templated publisher subscriber pattern, adding events to collections

2010-07-06 Thread Dmitry Olshansky
On 07.07.2010 2:01, BLS wrote: Hi, Andrei brings in the idea of std.pattern. Seems that this module is stalled; Unfortunately ! However I would like to enhance collection classes (likewise dcollections) with a Publisher - Subscriber pattern (signal - slot, or observer pattern) , if you prefer)

Re: std.pattern.. templated publisher subscriber pattern, adding events to collections

2010-07-06 Thread BLS
Okay a bit better snippet than before. snippet should be almost functional.. /* Hi, Andrei brings in the idea of std.pattern. Seems that this module is stalled; Unfortunately ! However I would like to enhance collection classes (likewise dcollections) with a Publisher - Subscriber pattern

Re: std.pattern.. templated publisher subscriber pattern, adding events to collections

2010-07-06 Thread BLS
Hi Dimitry, thanks for the feedback! Please have a look at the new snippet (just posted) msg is a ref parameter cause it is filled in our example from Stack. The Publisher mixin HOST. In other words. Where ever you mixin the Publisher template a message will be broad casted to all