1 // Copyright (C) 2014-20xx CEA/DEN, EDF R&D
4 * Config_SelectionFilterMessage.h
6 * Created on: 08 Jul 2014
10 #ifndef CONFIG_SELECTIONFILTERMESSAGE_H_
11 #define CONFIG_SELECTIONFILTERMESSAGE_H_
13 #include <Events_Message.h>
14 #include <Config_def.h>
19 /// Event ID that Selection Filter is loaded (comes with Config_SelectionFilterMessage)
20 static const char * EVENT_SELFILTER_LOADED = "SelectionFilterLoaded";
23 * \class Config_SelectionFilterMessage
24 * \brief Transmits info about selection filters on "SelectionFilterLoaded" event
26 class Config_SelectionFilterMessage : public Events_Message
28 std::string mySelectionFilterId;
29 std::string myFeatureId;
30 std::string myAttributeId;
31 std::list<std::string> myFilterParameters;
34 CONFIG_EXPORT Config_SelectionFilterMessage(const Events_ID theId, const void* theParent = 0);
35 CONFIG_EXPORT virtual ~Config_SelectionFilterMessage();
37 CONFIG_EXPORT const std::string& selectionFilterId() const;
38 CONFIG_EXPORT const std::string& featureId() const;
39 CONFIG_EXPORT const std::string& attributeId() const;
40 CONFIG_EXPORT const std::list<std::string>& parameters() const;
42 CONFIG_EXPORT void setSelectionFilterId(const std::string& theId);
43 CONFIG_EXPORT void setFeatureId(const std::string& theId);
44 CONFIG_EXPORT void setAttributeId(const std::string& theId);
45 CONFIG_EXPORT void setFilterParameters(const std::list<std::string>& parameters);
48 #endif /* CONFIG_SELECTIONFILTERMESSAGE_H_ */