![]() |
VR-Forces 5.0.1 Developer's Guide
|
The base assembler is a singleton which assembles the pages defined in a Page Configuration. A GUI specific subclass is written to actually create the pages in the GUI. Example: makVrv::DtQtPageAssembler.

Public Member Functions | |
| virtual | ~DtPageAssembler () |
| virtual void | assemble (const DtPageConfiguration &configuration) |
| virtual void | assemble (const DtPagePath &pagePath, const DtPageConfiguration &configuration) |
| virtual void | assemblePagePaths (DtPageConfiguration::PagePathList &children, const DtPageConfiguration &configuration) |
| virtual void | placeCollectionPages (const DtPageConfiguration &configuration) |
| virtual void | assembleCollection (const DtPagePath &pagePath, const DtUnicode &pageTitle, const DtPageConfiguration::PageCollectionState &pageState) |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| virtual | ~DtVirtualBaseClass () |
Static Public Member Functions | |
| static DtPageAssembler & | instance (DtDe &) |
Protected Types | |
| typedef std::vector< DtPagePath > | PagePathVector |
| typedef std::map < DtPageConfiguration::PageCollectionLocation, PagePathVector > | LocationToPathsMap |
| typedef std::map< int, DtPagePath > | PagePathsMap |
| typedef std::map< int, std::map< int, DtPagePath > > | SortedTabbedPages |
Protected Attributes | |
| DtDe & | myDe |
Friends | |
| class | DtPageAssemblerCreator |
|
protected |
Vector of page paths.
|
protected |
Map from page collection location to a vector of page paths at that location.
|
protected |
|
protected |
|
virtual |
DTOR.
|
protected |
|
static |
Get an instance of the assembler.
|
virtual |
Assemble a entire configuration.
|
virtual |
Assemble a particular page path and all children located in a configuration.
Reimplemented in makVrf::makVrfGuiObjectInformationQt::DtInformationPageAssembler.
|
virtual |
Assemble all listed page paths using the configuration.
|
virtual |
Update a pages with the information contained in the page configuration.
Reimplemented in makVrf::DtVrfPageAssembler.
|
virtual |
Assemble a page item from the path.
Reimplemented in makVrf::DtVrfPageAssembler, makVrf::makVrfGuiObjectInformationQt::DtInformationPageAssembler, and makVrv::DtQtPageAssembler.
|
protectedvirtual |
Build a map of page location to page paths at that location.
|
protectedvirtual |
Assemble a page path.
Reimplemented in makVrf::makVrfGuiObjectInformationQt::DtInformationPageAssembler.
|
protectedvirtual |
Assemble a page from the path.
Reimplemented in makVrf::makVrfGuiObjectInformationQt::DtInformationPageAssembler, and makVrv::DtQtPageAssembler.
|
protectedvirtual |
Update the page with the state information contained inside the provided configuration.
|
protectedvirtual |
Update the page with the state information provided by argument.
Reimplemented in makVrv::DtQtPageAssembler.
|
protectedvirtual |
Assembles all the pages in the specified location. locMap contains a map with all the location/page information and the configuration contains all the state information needed to assemble the pages.
|
protectedvirtual |
Tabifies all the pages whose configuration is set to be tabbed. locMap contains a mal with all the location/page information and the configuration contains all the state information needed to tabify the page.
|
protectedvirtual |
Find tabbed pages in the paths list and sort them by location first and tab index second.
|
protectedvirtual |
Get the left or topmost edge of a docked page, depending on whether it's docked horizontally or vertically.
|
protectedvirtual |
Populates the ppMap map with the proper order in which pages need to be placed on the UI.
|
protectedvirtual |
Tabifies the pages represented by the page paths provided in the arguments.
Reimplemented in makVrv::DtQtPageAssembler.
|
protectedvirtual |
If the page is tabbed, sets it as the currently selected page.
Reimplemented in makVrv::DtQtPageAssembler.
|
friend |
|
protected |