-
-void Model_OrderUpdatedMessage::Join(const std::shared_ptr<Events_MessageGroup>& theJoined)
-{
- std::shared_ptr<Model_OrderUpdatedMessage> aJoined =
- std::dynamic_pointer_cast<Model_OrderUpdatedMessage>(theJoined);
- std::set<std::string>::iterator aGIter = aJoined->myGroups.begin();
- for (; aGIter != aJoined->myGroups.end(); aGIter++) {
- myGroups.insert(*aGIter);
- }
-}