Hello!

I work in a lemonade factory. We have data servers in our vats to tell us things like: pH level, sugar level, etc. Each vat has a separate data structure it passes to the data client GUI which I'm writing.

I have a bunch of pointers - one for each vat - to a lemonade template class, and I want to get them in an array or list somehow. The problem is that they are all different types.

Currently, they look like this:
Qt Code:
  1. LlcsLemonadeDataClient<YELLOW_LEM> *yellow_dc_p;
  2. LlcsLemonadeDataClient<PINK_LEM> *pink_dc_p;
  3. LlcsLemonadeDataClient<MELONADE> *melon_dc_p;
To copy to clipboard, switch view to plain text mode 

Is there any way I could do something like:
LlcsLemonadeDataClient <?> *lemonade_list[10];
?

My goal is to iterate through all the different lemonade data clients I have and set the pointers to NULL. And similar tasks. Currently I have to name every lemonade type in the factory and manually set the pointer to NULL:
Qt Code:
  1. yellow_dc_p = NULL;
  2. pink_dc_p = NULL;
  3. ...
To copy to clipboard, switch view to plain text mode 

Any ideas? Is there an STL or Qt container approach?