![]() |
VR-Forces Developer's Guide
|
DtVrfMainMenuConfig used in DtVrfMainMenu to add/remove menu paths from menu bar. the menu configuration is what determines where menu items go in all of the menus. Paths are specified to existing menu items that have already been registered to the menu assembler, which in this case is the DtVrfMainMenuAssembler class, but alternatively accessed through DtVrfMainMenu::registerMenu() (inherited from DtConfigurableMenu::registerMenu() ) and similar functions.

Protected Attributes | |
| makVrv::DtDe & | myDe |
| makVrv::DtVrvApplication * | myApp |
Protected Attributes inherited from makVrf::DtSubMenuConfiguration | |
| makVrv::DtDe * | myDe |
| std::vector < makVrv::DtMenuConfiguration * > | myMakeChangesTo |
| MenuPathSet | myPathsRemoved |
| std::map< std::string, bool > | myIsProtected |
Protected Attributes inherited from makVrv::DtMenuConfiguration | |
| MenuPathSet | myMenuPaths |
| MenuPathOrderMap | myMenuOrder |
| MenuPathSortFlagsMap | myMenuSortFlags |
| int | myCurrentWeight |
Protected Attributes inherited from makVrv::DtConfiguration | |
| std::string | myName |
| ParameterMap | myOptionalParameters |
| DtProxyWP | myAttachedInterface |
Additional Inherited Members | |
Public Types inherited from makVrv::DtMenuConfiguration | |
| enum | MenuSortFlags { NoSort = 0x00000000, SortAllAlphabetically = 0x00000001, SortWithinSubmenus = 0x00000002, SortBetweenSeparators = 0x00000004, SortBetweenSubMenus = 0x00000010 } |
| typedef std::list< DtMenuPath > | MenuPathList |
| typedef std::set< DtMenuPath > | MenuPathSet |
Public Types inherited from makVrv::DtConfiguration | |
| typedef std::map< std::string, std::string > | ParameterMap |
Protected Types inherited from makVrv::DtMenuConfiguration | |
| typedef std::map< DtMenuPath, OrderParameters > | MenuPathOrderMap |
| typedef std::map< DtMenuPath, MenuSortFlags > | MenuPathSortFlagsMap |
Protected Member Functions inherited from makVrf::DtSubMenuConfiguration | |
| bool | sortAbsolute (const makVrv::DtMenuPath &a, const makVrv::DtMenuPath &b) const |
Protected Member Functions inherited from makVrv::DtMenuConfiguration | |
| int | getNewWeight () |
| void | addMenuPath (const DtMenuPath &, int weight) |
| bool | sortAbsolute (const DtMenuPath &a, const DtMenuPath &b) const |
Protected Member Functions inherited from makVrv::DtConfiguration | |
| template<class Archive > | |
| void | _serialize (Archive &ar, const unsigned int version) |
| makVrf::DtVrfMainMenuConfiguration::DtVrfMainMenuConfiguration | ( | makVrv::DtDe & | de | ) |
Constructor for this class should not be used unless overriding class. Use the the DtVrfMainMenu class instead to access this object.
|
virtual |
Destructor for this class which also should not be directly accessed. Destroy the main DtVrfMainMenu instead to destroy this object.
|
overridevirtual |
Add a menu path to the menu bar. The weight argument determines how it will order the menu items in the menu or the order of the menus in a list of menus. This function assumes the menu/item at the end of the path is already registered to this class.
Reimplemented from makVrf::DtSubMenuConfiguration.
|
overridevirtual |
Remove a menu path from the menu bar. This function assumes the menu/item at the end of the path is already registered to this class.
Reimplemented from makVrf::DtSubMenuConfiguration.
|
overridevirtual |
Add a menu path to the menu bar after a specific item in the same menu path. This function assumes the menu/item at the end of the path is already registered to this class.
Reimplemented from makVrf::DtSubMenuConfiguration.
|
overridevirtual |
Add a menu path to the menu bar after a specific item in the same menu path. This function assumes the menu/item at the end of the path is already registered to this class.
Reimplemented from makVrf::DtSubMenuConfiguration.
|
protected |
|
protected |