3 * @brief Contains a system typedefs used to reuse code.
4 * @author Diego CACERES (diego.caceres[AT]creatis.insa-lyon.fr)
16 /*! @namespace <creaButtonContainer>
17 * @brief Contains the creaButtonContainer library included in creaMaracasVisu.
19 namespace creaButtonContainer
21 /*! @typedef model::TFunctor* FunctionEventType;
22 * @brief Defines the FunctionEventType type.
24 typedef model::TFunctor* FunctionEventType;
25 // ----------------------------------------------------------------------------------
26 /*! @typedef creaButtonContainer::view::Button Button;
27 * @brief Defines the ActionButton type.
28 * First is the button description, Second FunctionEventType
30 typedef std::pair< std::string, FunctionEventType > ButtonAction;
31 // ----------------------------------------------------------------------------------
32 /*! @typedef std::pair< std::string, std::string > ButtonInfo;
33 * @brief Defines the ButtonInfo type.
34 * First is the ButtonName and Second is the IconPath
36 typedef std::pair< std::string, std::string > ButtonInfo;
37 // ----------------------------------------------------------------------------------
38 /*! @typedef std::pair< ButtonInfo*, ActionButton* > ButtonPair;
39 * @brief Defines the ButtonPair type.
41 typedef std::pair< ButtonInfo*, ButtonAction* > ButtonPair;
42 // ----------------------------------------------------------------------------------
43 /*! @typedef std::list< std::string > KeyMapList;
44 * @brief Defines the KeyMapList type.
46 typedef std::list< std::string > KeyMapList;
47 // ----------------------------------------------------------------------------------
48 /*! @typedef std::list< ButtonPair* > ButtonList;
49 * @brief Defines the ButtonList type.
51 typedef std::list< ButtonPair* > ButtonList;
52 // ----------------------------------------------------------------------------------
53 /*! @typedef std::map< std::string, ButtonList > ButtonGroupMap;
54 * @brief Defines the ButtonGroupMap type.
56 typedef std::map< std::string, ButtonList > ButtonGroupMap;
57 // ----------------------------------------------------------------------------------
60 #endif /* SYSTEM_H_ */