Salome HOME
FIx for issue #360 : make switching on/off checking of transactions in Session -...
[modules/shaper.git] / src / Config / Config_SelectionFilterMessage.h
index 92b1aa244b0bb03c42b1f3105e229d110c672264..fcc54a01097c07e692fc67071233fc5e3fb48466 100644 (file)
@@ -1,3 +1,5 @@
+// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
+
 /*
  * Config_SelectionFilterMessage.h
  *
 /// Event ID that Selection Filter is loaded (comes with Config_SelectionFilterMessage)
 static const char * EVENT_SELFILTER_LOADED = "SelectionFilterLoaded";
 
+/*!
+ * \class Config_SelectionFilterMessage
+ * \brief Transmits info about selection filters on "SelectionFilterLoaded" event
+ */
 class Config_SelectionFilterMessage : public Events_Message
 {
   std::string mySelectionFilterId;
   std::string myFeatureId;
   std::string myAttributeId;
+  std::list<std::string> myFilterParameters;
 
  public:
   CONFIG_EXPORT Config_SelectionFilterMessage(const Events_ID theId, const void* theParent = 0);
@@ -30,10 +37,12 @@ class Config_SelectionFilterMessage : public Events_Message
   CONFIG_EXPORT const std::string& selectionFilterId() const;
   CONFIG_EXPORT const std::string& featureId() const;
   CONFIG_EXPORT const std::string& attributeId() const;
+  CONFIG_EXPORT const std::list<std::string>& parameters() const;
 
   CONFIG_EXPORT void setSelectionFilterId(const std::string& theId);
   CONFIG_EXPORT void setFeatureId(const std::string& theId);
   CONFIG_EXPORT void setAttributeId(const std::string& theId);
+  CONFIG_EXPORT void setFilterParameters(const std::list<std::string>& parameters);
 };
 
 #endif /* CONFIG_SELECTIONFILTERMESSAGE_H_ */