-/***************************************************************
- * Name: GroupManager.h
- * Purpose: Defines the Group Manager
- * Author: Diego CACERES (diego.caceres[AT]creatis.insa-lyon.fr)
- * Created: 2011-05-09
- * Copyright: Diego CACERES (http://www.creatis.insa-lyon.fr/~caceres/)
- * License:
- **************************************************************/
+/*!
+ * @file groupManager.h
+ * @brief This contains the GroupManager class
+ * @author Diego CACERES (diego.caceres[AT]creatis.insa-lyon.fr)
+ * @date 2011-05-19
+ */
#ifndef GROUPMANAGER_H
#define GROUPMANAGER_H
#include <wx/sizer.h>
#include <wx/button.h>
#include <wx/stattext.h>
+#include <wx/event.h>
#include <list>
+#include <iostream>
#include "buttonManager.h"
#include "buttonGroup.h"
#include <wx/event.h>
+/*! @namespace <creaButtonContainer>
+ * @brief Contains the creaButtonContainer library included in creaMaracasVisu.
+ */
namespace creaButtonContainer
{
+ /*! @namespace <creaButtonContainer::view>
+ * @brief Contains the implementation of the view in creaButtonContainer library.
+ * @see <a href="http://en.wikipedia.org/wiki/Model-view-controller">MVC Software Architecture</a>
+ */
namespace view
{
- /**
- Class Description:
- **/
class GroupManager : public wxFlexGridSizer
{
public:
+ //typedef definition
+ /*! @typedef creaButtonContainer::model::TFunctor TFunctor;
+ * @brief Defines the TFunctor type.
+ */
typedef creaButtonContainer::view::ButtonGroup ButtonGroup;
+ /*! @typedef creaButtonContainer::model::TFunctor TFunctor;
+ * @brief Defines the TFunctor type.
+ */
typedef wxButton ExpansionButton;
+ //end of typedef definition.
public:
+ // ----------------------------------------------------------------------------------
+ /*! @fn GroupManager( wxWindow* parent, ButtonGroup* buttonGroup );
+ *
+ * @param parent
+ * @param buttonGroup
+ */
GroupManager( wxWindow* parent, ButtonGroup* buttonGroup );
+ // ----------------------------------------------------------------------------------
+ /*! @fn
+ * ~GroupManager( );
+ */
virtual
~GroupManager( );
//Getters and Setters
+ // ----------------------------------------------------------------------------------
+ /*! @fn
+ * @return
+ */
long
GetButtonID( );
+ // ----------------------------------------------------------------------------------
+ /*! @fn GetButton( );
+ *
+ * @return
+ */
ExpansionButton*
GetButton( );
+ // ----------------------------------------------------------------------------------
+ /*! @fn GetButtonManager( );
+ *
+ * @return
+ */
ButtonManager*
GetButtonManager( );
+ // ----------------------------------------------------------------------------------
+ /*! @fn SetButtonID( long id );
+ *
+ * @param id
+ */
void
SetButtonID( long id );
+ // ----------------------------------------------------------------------------------
+ /*! @fn SetButton( ExpansionButton* button );
+ *
+ * @param button
+ */
void
SetButton( ExpansionButton* button );
+ // ----------------------------------------------------------------------------------
+ /*! @fn SetButtonManager( ButtonManager* manager );
+ *
+ * @param manager
+ */
void
SetButtonManager( ButtonManager* manager );
+ // ----------------------------------------------------------------------------------
+ /*! @fn HideSubPanel( bool hide );
+ *
+ * @param hide
+ */
void
HideSubPanel( bool hide );