Suppose that I have two groups of data, group A is a list of signals, group B is a list of messages. One message in group B can use many signals in group A. And vice versa, one signal in A can be used by many messages in B. Is there any design pattern for this case?
In an example code, Ш see that each message object includes a vector of object "SignalInMessage", and each signal object includes a vector of object "MessageInSingal", and they use derived class Connection for connecting data?
Aucun commentaire:
Enregistrer un commentaire