![]() |
VR-Forces 4.0.4 Class Documentation
|
DtVrfMainMenuAssembler used in DtVrfMainMenu register and unregister menus for menu bar. More...

Public Member Functions | |
| DtVrfMainMenuAssembler (makVrv::DtDe &de) | |
| Constructor for this class should not be used unless overriding class. | |
| virtual | ~DtVrfMainMenuAssembler () |
| Destructor for this class which also should not be directly accessed. | |
| virtual void | registerMenu (makVrv::DtMenu *menu) |
| Register a new menu class for use in DtVrfMainMenu. | |
| virtual void | unregisterMenu (makVrv::DtMenu *menu, bool deleteBuilder=true) |
| Unregister an existing menu class in DtVrfMainMenu. | |
| virtual void | registerItem (makVrv::DtMenuItem *item) |
| Register a new menu item class for use in DtVrfMainMenu. | |
| virtual void | unregisterItem (makVrv::DtMenuItem *item, bool deleteBuilder=true) |
| Unregister an existing menu class in DtVrfMainMenu. | |
Protected Member Functions | |
| virtual void | registerMenu (makVrv::DtMenuItem *) |
| Call registerItem() instead. | |
| virtual void | unregisterMenu (makVrv::DtMenuItem *, bool) |
| Call unregisterItem() instead. | |
Protected Attributes | |
| makVrv::DtDe & | myDe |
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.
Constructor for this class should not be used unless overriding class.
Use the the DtVrfMainMenu class instead to access this object
| virtual makVrf::DtVrfMainMenuAssembler::~DtVrfMainMenuAssembler | ( | ) | [virtual] |
Destructor for this class which also should not be directly accessed.
Destroy the main DtVrfMainMenu instead to destroy this object.
| virtual void makVrf::DtVrfMainMenuAssembler::registerMenu | ( | makVrv::DtMenu * | menu | ) | [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 void makVrf::DtVrfMainMenuAssembler::unregisterMenu | ( | makVrv::DtMenu * | menu, |
| bool | deleteBuilder = true |
||
| ) | [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 void makVrf::DtVrfMainMenuAssembler::registerItem | ( | makVrv::DtMenuItem * | item | ) | [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 void makVrf::DtVrfMainMenuAssembler::unregisterItem | ( | makVrv::DtMenuItem * | item, |
| bool | deleteBuilder = true |
||
| ) | [virtual] |
Unregister an existing menu class in DtVrfMainMenu.
You should remove the menu's path by using the removeMenuPath() function in the config class.
| virtual void makVrf::DtVrfMainMenuAssembler::registerMenu | ( | makVrv::DtMenuItem * | ) | [protected, virtual] |
Call registerItem() instead.
Reimplemented from makVrf::DtConfigurableMenuAssembler.
| virtual void makVrf::DtVrfMainMenuAssembler::unregisterMenu | ( | makVrv::DtMenuItem * | , |
| bool | |||
| ) | [protected, virtual] |
Call unregisterItem() instead.
Reimplemented from makVrf::DtConfigurableMenuAssembler.
makVrv::DtDe& makVrf::DtVrfMainMenuAssembler::myDe [protected] |
Reimplemented from makVrv::DtMenuAssembler.