3 * @brief This contains the ButtonGroup class.
4 * @author Diego CACERES (diego.caceres[AT]creatis.insa-lyon.fr)
14 #include <wx/stattext.h>
18 /*! @namespace <creaButtonContainer>
19 * @brief Contains the creaButtonContainer library included in creaMaracasVisu.
21 namespace creaButtonContainer
23 /*! @namespace <creaButtonContainer::view>
24 * @brief Contains the implementation of the view in creaButtonContainer library.
25 * @see <a href="http://en.wikipedia.org/wiki/Model-view-controller">MVC Software Architecture</a>
33 /*! @typedef creaButtonContainer::model::TFunctor TFunctor;
34 * @brief Defines the TFunctor type.
36 typedef creaButtonContainer::view::Button Button;
37 /*! @typedef creaButtonContainer::model::TFunctor TFunctor;
38 * @brief Defines the TFunctor type.
40 typedef std::map< long, Button* > ButtonContainer;
41 /*! @typedef creaButtonContainer::model::TFunctor TFunctor;
42 * @brief Defines the TFunctor type.
44 typedef std::list< long > IdButtonContainer;
46 // ----------------------------------------------------------------------------------
47 /*! @fn ButtonGroup( wxStaticText* groupName, ButtonContainer buttons );
52 ButtonGroup( wxStaticText* groupName, ButtonContainer buttons );
53 // ----------------------------------------------------------------------------------
54 /*! @fn ~ButtonGroup( );
59 // ----------------------------------------------------------------------------------
60 /*! @fn GetButton( long id );
67 // ----------------------------------------------------------------------------------
68 /*! @fn GetButtonContainer( );
73 GetButtonContainer( );
74 // ----------------------------------------------------------------------------------
75 /*! @fn GetButtonIdContainer( );
80 GetButtonIdContainer( );
81 // ----------------------------------------------------------------------------------
82 /*! @fn GetGroupName( );
88 // ----------------------------------------------------------------------------------
90 wxStaticText* m_GroupName;
91 ButtonContainer m_Buttons;
96 #endif // BUTTONGROUP_H