![]() |
VR-Forces 5.0.1 Developer's Guide
|
DtVrfMainMenuAssembler used in DtVrfMainMenu register and unregister menus for menu bar. Menus must be registered before they are added to the menu configuration. Menus and items already registered to this specific menu do not need to be re-registered. The assembler also assumes ownership of the object once you pass it in. If you want to add this menu to the path in this menu group, you need to use the DtVrfMainMenuConfig class to do so.

Protected Member Functions | |
| virtual void | registerMenu (makVrv::DtMenuItem *) |
| virtual void | unregisterMenu (makVrv::DtMenuItem *, bool) |
Protected Member Functions inherited from makVrf::DtConfigurableMenuAssembler | |
| virtual bool | fixMenuPath (const makVrv::DtMenuPath &menuPath, DtSubMenuConfiguration &configuration, bool checkOnly=false) const |
Protected Member Functions inherited from makVrv::DtQtMenuAssembler | |
| DtQtMenuAssembler (DtDe &) | |
| virtual void | assembleMenuItem (const DtMenuPath &menuPath) |
| virtual void | sortConfiguration (const DtMenuConfiguration &configuration) |
Protected Member Functions inherited from makVrv::DtMenuAssembler | |
| DtMenuAssembler (DtDe &de) | |
| void | assembleMenuPath (const DtMenuPath &menuPath, const DtMenuConfiguration &configuration) |
Protected Attributes | |
| makVrv::DtDe & | myDe |
Protected Attributes inherited from makVrf::DtConfigurableMenuAssembler | |
| DtConfigurationMenuManager | myMenuManager |
| std::vector < makVrv::DtQtMenuAssembler * > | myMakeChangesTo |
| bool | myDeleteReferences |
| bool | myLocalOnly |
| bool | myCreateSubMenusForMissingMenus |
| bool | myLocalMenuManager |
Protected Attributes inherited from makVrv::DtQtMenuAssembler | |
| MenuBuilderMap | myMenuBuilders |
| MenuItemBuilderMap | myMenuItemBuilders |
Protected Attributes inherited from makVrv::DtMenuAssembler | |
| std::stack< DtMenuPath > | myMenuStack |
| DtDe & | myDe |
Additional Inherited Members | |
Public Types inherited from makVrv::DtQtMenuAssembler | |
| typedef boost::unordered_map < std::string, DtMenu * > | MenuBuilderMap |
| typedef boost::unordered_map < std::string, DtMenuItem * > | MenuItemBuilderMap |
Static Public Member Functions inherited from makVrv::DtQtMenuAssembler | |
| static DtQtMenuAssembler & | instance (DtDe &de) |
Static Public Member Functions inherited from makVrv::DtMenuAssembler | |
| static DtMenuAssembler & | instance (DtDe &) |
| makVrf::DtVrfMainMenuAssembler::DtVrfMainMenuAssembler | ( | 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.
|
virtual |
Register a new menu class for use in DtVrfMainMenu. You still need to add the menu's path by using the addMenuPath() function in the config class.
Reimplemented from makVrf::DtConfigurableMenuAssembler.
|
virtual |
Unregister an existing menu class in DtVrfMainMenu. You should remove the menu's path by using the removeMenuPath() function in the config class.
Reimplemented from makVrf::DtConfigurableMenuAssembler.
|
virtual |
Register a new menu item class for use in DtVrfMainMenu. You still need to add the menu item's path by using the addMenuPath() function in the config class.
|
virtual |
Unregister an existing menu class in DtVrfMainMenu. You should remove the menu's path by using the removeMenuPath() function in the config class.
|
protectedvirtual |
Call registerItem() instead.
Reimplemented from makVrf::DtConfigurableMenuAssembler.
|
protectedvirtual |
Call unregisterItem() instead.
Reimplemented from makVrf::DtConfigurableMenuAssembler.
|
protected |