}
}
-void Events_Loop::activateFlushes(const bool theActivate)
+void Events_Loop::eraseMessages(const Events_ID& theID)
{
+ std::map<char*, std::shared_ptr<Events_Message> >::iterator aMyGroup =
+ myGroups.find(theID.eventText());
+ if (aMyGroup != myGroups.end()) {
+ myGroups.erase(aMyGroup);
+ }
+}
+
+
+bool Events_Loop::activateFlushes(const bool theActivate)
+{
+ bool isActive = myFlushActive;
myFlushActive = theActivate;
+ return isActive;
}
void Events_Loop::clear(const Events_ID& theID)