Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prepare version 1.2.1: quick fix for iteration 2 release
[modules/shaper.git]
/
src
/
Model
/
Model_Events.h
diff --git
a/src/Model/Model_Events.h
b/src/Model/Model_Events.h
index 163c84581f7234059987c424dbb26be4968c0b7e..d52e7f8caea85a062109f2f4defdc5798b3e1d46 100644
(file)
--- a/
src/Model/Model_Events.h
+++ b/
src/Model/Model_Events.h
@@
-1,3
+1,5
@@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
// File: Model_Events.h
// Created: 10 Apr 2014
// Author: Mikhail PONIKAROV
// File: Model_Events.h
// Created: 10 Apr 2014
// Author: Mikhail PONIKAROV
@@
-8,6
+10,8
@@
#include <Model.h>
#include <ModelAPI_Events.h>
#include <Model.h>
#include <ModelAPI_Events.h>
+#include <memory>
+
/// Allovs to create ModelAPI messages
class Model_EventCreator : public ModelAPI_EventCreator
{
/// Allovs to create ModelAPI messages
class Model_EventCreator : public ModelAPI_EventCreator
{
@@
-69,10
+73,13
@@
class Model_ObjectDeletedMessage : public ModelAPI_ObjectDeletedMessage
return myGroups;
}
return myGroups;
}
+ /// Returns the new empty message of this type
virtual std::shared_ptr<Events_MessageGroup> newEmpty();
virtual std::shared_ptr<Events_MessageGroup> newEmpty();
+ /// Returns the identifier of this message
virtual const Events_ID messageId();
virtual const Events_ID messageId();
+ /// Appends to this message the given one
virtual void Join(const std::shared_ptr<Events_MessageGroup>& theJoined);
};
virtual void Join(const std::shared_ptr<Events_MessageGroup>& theJoined);
};