Hi,
I'm trying to create an array or <list> of different objects ( of different type).
All of the objects will have parent objects of a Manager type, but each one ( as a singleton) will be in the array/list.
It's for some networking code I'm building, where each incoming message over the network is "given" to a manager - and the panager then acts on it ( or drops it if irrelevant)... so:
For each manager in manager_list:
manager_object->run(message);
sort of thing.
Is this possible/how could I achieve it, or what would an alternate model be?
Thanks,
PC_Nerd