1 // File: Model_Events.cxx
2 // Created: 10 Apr 2014
3 // Author: Mikhail PONIKAROV
5 #include <Model_Events.h>
6 #include <Events_Loop.h>
8 ModelAPI_FeatureUpdatedMessage::ModelAPI_FeatureUpdatedMessage(
9 const boost::shared_ptr<ModelAPI_Document>& theDoc,
10 const boost::shared_ptr<ModelAPI_Feature>& theFeature, const Events_ID& theEvent)
11 : Events_Message(theEvent, 0), myFeature(theFeature), myDoc(theDoc)
14 ModelAPI_FeatureDeletedMessage::ModelAPI_FeatureDeletedMessage(
15 const boost::shared_ptr<ModelAPI_Document>& theDoc, const std::string& theGroup)
16 : Events_Message(messageId(), 0), myDoc(theDoc), myGroup(theGroup)
21 const Events_ID ModelAPI_FeatureDeletedMessage::messageId()
23 static Events_ID MY_ID = Events_Loop::eventByName(EVENT_FEATURE_DELETED);