virtual void sendUpdated(const ObjectPtr& theObject, const Events_ID& theEvent,
const bool isGroupped = true) const;
/// creates deleted message and sends to the loop
virtual void sendUpdated(const ObjectPtr& theObject, const Events_ID& theEvent,
const bool isGroupped = true) const;
/// creates deleted message and sends to the loop
const std::string& theGroup) const;
/// must be one per application, the constructor for internal usage only
const std::string& theGroup) const;
/// must be one per application, the constructor for internal usage only
virtual const std::set<ObjectPtr>& objects() const;
//! Creates a new empty group (to store it in the loop before flush)
virtual const std::set<ObjectPtr>& objects() const;
//! Creates a new empty group (to store it in the loop before flush)
};
/// Message that feature was deleted (used for Object Browser update)
class Model_ObjectDeletedMessage : public ModelAPI_ObjectDeletedMessage
{
};
/// Message that feature was deleted (used for Object Browser update)
class Model_ObjectDeletedMessage : public ModelAPI_ObjectDeletedMessage
{
std::set<std::string> myGroups; ///< group identifiers that contained the deleted feature
/// Use ModelAPI for creation of this event.
std::set<std::string> myGroups; ///< group identifiers that contained the deleted feature
/// Use ModelAPI for creation of this event.
const std::string& theGroup);
friend class Model_EventCreator;
public:
/// Returns the feature that has been updated
const std::string& theGroup);
friend class Model_EventCreator;
public:
/// Returns the feature that has been updated