by Tony Delroy <tony_in_da_uk@[EMAIL PROTECTED]
>
Apr 18, 2008 at 05:15 PM
On Apr 18, 2:42 am, carvalho.mig...@[EMAIL PROTECTED]
wrote:
> [ ...I want to deliver events from separate cl***** into one manager
class... ]
> i want to avoid public variables and static variables/methods.
> basically i want a dynamic model to communicate between all the
> cl*****.
Why don't you store some manner of callback data (e.g. a functor) in
each of the individual cl***** that "directly" receive the events?
The code that creates the direct receivers can first create the
central management object, then provide the callback data to each
direct receivers....
Tony
--
[ See http://www.gotw.ca/resources/clcm.htm
for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]