2#include <State/Message.hpp>
4#include <Process/State/MessageNode.hpp>
10#include <score/model/Identifier.hpp>
12#include <score_plugin_scenario_export.h>
17enum class ProcessPosition
24SCORE_PLUGIN_SCENARIO_EXPORT
26SCORE_PLUGIN_SCENARIO_EXPORT
30void findAndReplaceAddresses(
35void updateTreeWithMessageList(
39void updateTreeWithRemovedProcess(
45SCORE_PLUGIN_SCENARIO_EXPORT
46void updateTreeWithRemovedUserMessage(
49void updateTreeWithRemovedNode(
59#include <Scenario/Document/State/ItemModel/MessageItemModel.hpp>
63inline void updateModelWithMessageList(MessageItemModel& model, State::MessageList lst)
65 model.beginResetModel();
66 updateTreeWithMessageList(model.rootNode(), std::move(lst));
67 model.endResetModel();
70inline void renameAddress(
74 model.beginResetModel();
75 renameAddress(model.rootNode(), oldAddr, newAddr);
76 model.endResetModel();
80inline void updateModelWithMessageList(
81 MessageItemModel& model, State::MessageList lst,
84 model.beginResetModel();
85 updateTreeWithMessageList(model.rootNode(), std::move(lst), proc, pos);
86 model.endResetModel();
89inline void updateModelWithRemovedProcess(
92 model.beginResetModel();
93 updateTreeWithRemovedProcess(model.rootNode(), proc, pos);
94 model.endResetModel();
97inline void updateModelWithRemovedInterval(MessageItemModel& model, ProcessPosition pos)
99 model.beginResetModel();
100 updateTreeWithRemovedInterval(model.rootNode(), pos);
101 model.endResetModel();
104inline void updateModelWithRemovedUserMessage(
107 model.beginResetModel();
108 updateTreeWithRemovedUserMessage(model.rootNode(), addr);
109 model.endResetModel();
115 model.beginResetModel();
116 updateTreeWithRemovedNode(model.rootNode(), addr);
117 model.endResetModel();
120inline void removeAllUserMessages(MessageItemModel& model)
122 model.beginResetModel();
123 removeAllUserMessages(model.rootNode());
124 model.endResetModel();
The id_base_t class.
Definition Identifier.hpp:59
Base classes and tools to implement processes and layers.
Definition JSONVisitor.hpp:1115
Main plug-in of score.
Definition score-plugin-dataflow/Dataflow/PortItem.hpp:13
Definition Address.hpp:136
The Address struct.
Definition Address.hpp:81