X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_Events.cpp;h=dbd088755502206ef3ce57e1cf4390110422115d;hb=4af82842098757e6e7f4f28e2eb744d184bb2b3e;hp=5127ad2b623fa1e9b044fdec42201226982f9a29;hpb=94303d51165398c71527f80bc3f8e17e75ee5523;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_Events.cpp b/src/ModelAPI/ModelAPI_Events.cpp index 5127ad2b6..dbd088755 100644 --- a/src/ModelAPI/ModelAPI_Events.cpp +++ b/src/ModelAPI/ModelAPI_Events.cpp @@ -85,7 +85,8 @@ std::list ModelAPI_FeatureStateMessage::features() const } -ModelAPI_DocumentCreatedMessage::ModelAPI_DocumentCreatedMessage(const Events_ID theID, const void* theSender) +ModelAPI_DocumentCreatedMessage::ModelAPI_DocumentCreatedMessage(const Events_ID theID, + const void* theSender) : Events_Message(theID, theSender) { @@ -105,3 +106,25 @@ void ModelAPI_DocumentCreatedMessage::setDocument(DocumentPtr theDocument) { myDocument = theDocument; } + +ModelAPI_AttributeEvalMessage::ModelAPI_AttributeEvalMessage(const Events_ID theID, + const void* theSender) +: Events_Message(theID, theSender) +{ + +} + +ModelAPI_AttributeEvalMessage::~ModelAPI_AttributeEvalMessage() +{ + +} + +AttributePtr ModelAPI_AttributeEvalMessage::attribute() const +{ + return myAttribute; +} + +void ModelAPI_AttributeEvalMessage::setAttribute(AttributePtr theDocument) +{ + myAttribute = theDocument; +}