X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FConfig%2FConfig_SelectionFilterMessage.h;h=ed661b93c599173378c22601d7c67f9c1a125429;hb=e9f48e35e26dfce648e2f6ecbe1e43c51ba32a7e;hp=d43b41382d426986320e570d71b9024450429768;hpb=9ade3feafa3ee13af4f9eaf8ffa2b96f7973709b;p=modules%2Fshaper.git diff --git a/src/Config/Config_SelectionFilterMessage.h b/src/Config/Config_SelectionFilterMessage.h index d43b41382..ed661b93c 100644 --- a/src/Config/Config_SelectionFilterMessage.h +++ b/src/Config/Config_SelectionFilterMessage.h @@ -19,6 +19,11 @@ /// Event ID that Selection Filter is loaded (comes with Config_SelectionFilterMessage) static const char * EVENT_SELFILTER_LOADED = "SelectionFilterLoaded"; +/*! + * \class Config_SelectionFilterMessage + * \ingroup Config + * \brief Transmits info about selection filters on "SelectionFilterLoaded" event + */ class Config_SelectionFilterMessage : public Events_Message { std::string mySelectionFilterId; @@ -27,17 +32,30 @@ class Config_SelectionFilterMessage : public Events_Message std::list myFilterParameters; public: + /*! + * Constructor. + * \param theId - Events_ID of the message + * \param theParent - pointer to the sender + */ CONFIG_EXPORT Config_SelectionFilterMessage(const Events_ID theId, const void* theParent = 0); CONFIG_EXPORT virtual ~Config_SelectionFilterMessage(); + //! Get id of the filter CONFIG_EXPORT const std::string& selectionFilterId() const; + //! Get id of a feature to which the filter belongs to CONFIG_EXPORT const std::string& featureId() const; + //! Get id of an attribute to which the filter belongs to CONFIG_EXPORT const std::string& attributeId() const; + //! Get filter parameters CONFIG_EXPORT const std::list& parameters() const; + //! Set id of the filter CONFIG_EXPORT void setSelectionFilterId(const std::string& theId); + //! Set id of a feature to which the filter belongs to CONFIG_EXPORT void setFeatureId(const std::string& theId); + //! Set id of an attribute to which the filter belongs to CONFIG_EXPORT void setAttributeId(const std::string& theId); + //! Get filter parameters CONFIG_EXPORT void setFilterParameters(const std::list& parameters); };