Salome HOME
Commit of the current operation if the preselection is activated.
[modules/shaper.git] / src / Config / Config_SelectionFilterMessage.h
1 /*
2  * Config_SelectionFilterMessage.h
3  *
4  *  Created on: 08 Jul 2014
5  *      Author: sbh
6  */
7
8 #ifndef CONFIG_SELECTIONFILTERMESSAGE_H_
9 #define CONFIG_SELECTIONFILTERMESSAGE_H_
10
11 #include <Events_Message.h>
12 #include <Config_def.h>
13
14 #include <list>
15 #include <string>
16
17 /// Event ID that Selection Filter is loaded (comes with Config_SelectionFilterMessage)
18 static const char * EVENT_SELFILTER_LOADED = "SelectionFilterLoaded";
19
20 class Config_SelectionFilterMessage : public Events_Message
21 {
22   std::string mySelectionFilterId;
23   std::string myFeatureId;
24   std::string myAttributeId;
25
26  public:
27   CONFIG_EXPORT Config_SelectionFilterMessage(const Events_ID theId, const void* theParent = 0);
28   CONFIG_EXPORT virtual ~Config_SelectionFilterMessage();
29
30   CONFIG_EXPORT const std::string& selectionFilterId() const;
31   CONFIG_EXPORT const std::string& featureId() const;
32   CONFIG_EXPORT const std::string& attributeId() const;
33
34   CONFIG_EXPORT void setSelectionFilterId(const std::string& theId);
35   CONFIG_EXPORT void setFeatureId(const std::string& theId);
36   CONFIG_EXPORT void setAttributeId(const std::string& theId);
37 };
38
39 #endif /* CONFIG_SELECTIONFILTERMESSAGE_H_ */