I want to have a number of similar children classes (singletons) derived from a base class (abstract preferably as the base doesn't need to be created). These children classes interact with one another and most importantly I want them to share a reference to a pool of particular data (not many).
It sounds like a common scenario, but I'm not sure what would be the best design? maybe my mind is a bit shot.
I don't believe its necessary to break the common/shared member out of the class structure, but I'm not sure how best to store/access it. I'd like to try to avoid passing it around, though functionally it may make sense.
Any suggestions would be appreciated.