VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Friends
makVrv::DtPageAssembler Class Reference

The base assembler is a singleton which assembles the pages defined in a Page Configuration. More...

Inheritance diagram for makVrv::DtPageAssembler:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~DtPageAssembler ()
 DTOR.
virtual void assemble (const DtPageConfiguration &configuration)
 Assemble a entire configuration.
virtual void assemble (const DtPagePath &pagePath, const DtPageConfiguration &configuration)
 Assemble a particular page path and all children located in a configuration.
virtual void placeCollectionPages (const DtPageConfiguration &configuration)
 Update a pages with the information contained in the page configuration.
virtual void assembleCollection (const DtPagePath &pagePath, const DtUnicode &pageTitle, const DtPageConfiguration::PageCollectionState &pageState)
 Assemble a page item from the path.

Static Public Member Functions

static DtPageAssemblerinstance (DtDe &)
 Get an instance of the assembler.

Protected Types

typedef std::multimap
< DtPageConfiguration::PageCollectionLocation,
DtPagePath
LocationPathMap
typedef std::map< int, DtPagePathPagePathsMap

Protected Member Functions

 DtPageAssembler (DtDe &de)
virtual void assemblePagePath (const DtPagePath &pagePath, const DtPageConfiguration &configuration)
 Assemble a page path.
virtual void assemblePage (const DtPagePath &pagePath)
 Assemble a page from the path.
virtual void updatePage (const DtPagePath &pagePath, const DtPageConfiguration &configuration)
 Update the page with the state information contained inside the provided configuration.
virtual void updatePage (const DtPagePath &pagePath, const DtPageConfiguration::PageCollectionState &state)
 Update the page with the state information provided by argument.
virtual void assembleAllPagesInLocation (const LocationPathMap &locMap, DtPageConfiguration::PageCollectionLocation loc, const DtPageConfiguration &configuration)
 Assembles all the pages in the specified location.
virtual void tabifyPagesInLocation (const LocationPathMap &locMap, DtPageConfiguration::PageCollectionLocation loc, const DtPageConfiguration &configuration)
 Tabifies all the pages whose configuration is set to be tabbed.
virtual void populatePagePathsMap (const LocationPathMap &locMap, DtPageConfiguration::PageCollectionLocation loc, const DtPageConfiguration &configuration, PagePathsMap &ppMap)
 Populates the ppMap map with the proper order in which pages need to be placed on the UI.
virtual void tabify (const DtPagePath &pagePath1, const DtPagePath &pagePath2)
 Tabifies the pages represented by the page paths provided in the arguments.
virtual void setSelectedPage (const DtPagePath &pPath)
 If the page is tabbed, sets it as the currently selected page.

Protected Attributes

DtDemyDe

Friends

class DtPageAssemblerCreator

Detailed Description

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.

Examples

Member Typedef Documentation

typedef std::map<int, DtPagePath> makVrv::DtPageAssembler::PagePathsMap [protected]

Constructor & Destructor Documentation

DTOR.


Member Function Documentation

Get an instance of the assembler.

Reimplemented in makVrv::DtQtPageAssembler.

virtual void makVrv::DtPageAssembler::assemble ( const DtPageConfiguration configuration) [virtual]

Assemble a entire configuration.

virtual void makVrv::DtPageAssembler::assemble ( const DtPagePath pagePath,
const DtPageConfiguration configuration 
) [virtual]

Assemble a particular page path and all children located in a configuration.

virtual void makVrv::DtPageAssembler::placeCollectionPages ( const DtPageConfiguration configuration) [virtual]

Update a pages with the information contained in the page configuration.

virtual void makVrv::DtPageAssembler::assembleCollection ( const DtPagePath pagePath,
const DtUnicode pageTitle,
const DtPageConfiguration::PageCollectionState pageState 
) [virtual]

Assemble a page item from the path.

Reimplemented in makVrv::DtQtPageAssembler, and makVrf::makVrfGuiObjectInformationQt::DtInformationPageAssembler.

virtual void makVrv::DtPageAssembler::assemblePagePath ( const DtPagePath pagePath,
const DtPageConfiguration configuration 
) [protected, virtual]
virtual void makVrv::DtPageAssembler::assemblePage ( const DtPagePath pagePath) [protected, virtual]
virtual void makVrv::DtPageAssembler::updatePage ( const DtPagePath pagePath,
const DtPageConfiguration configuration 
) [protected, virtual]

Update the page with the state information contained inside the provided configuration.

virtual void makVrv::DtPageAssembler::updatePage ( const DtPagePath pagePath,
const DtPageConfiguration::PageCollectionState state 
) [protected, virtual]

Update the page with the state information provided by argument.

Reimplemented in makVrv::DtQtPageAssembler.

virtual void makVrv::DtPageAssembler::assembleAllPagesInLocation ( const LocationPathMap locMap,
DtPageConfiguration::PageCollectionLocation  loc,
const DtPageConfiguration configuration 
) [protected, virtual]

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

virtual void makVrv::DtPageAssembler::tabifyPagesInLocation ( const LocationPathMap locMap,
DtPageConfiguration::PageCollectionLocation  loc,
const DtPageConfiguration configuration 
) [protected, virtual]

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.

virtual void makVrv::DtPageAssembler::populatePagePathsMap ( const LocationPathMap locMap,
DtPageConfiguration::PageCollectionLocation  loc,
const DtPageConfiguration configuration,
PagePathsMap ppMap 
) [protected, virtual]

Populates the ppMap map with the proper order in which pages need to be placed on the UI.

virtual void makVrv::DtPageAssembler::tabify ( const DtPagePath pagePath1,
const DtPagePath pagePath2 
) [protected, virtual]

Tabifies the pages represented by the page paths provided in the arguments.

Reimplemented in makVrv::DtQtPageAssembler.

virtual void makVrv::DtPageAssembler::setSelectedPage ( const DtPagePath pPath) [protected, virtual]

If the page is tabbed, sets it as the currently selected page.

Reimplemented in makVrv::DtQtPageAssembler.


Friends And Related Function Documentation

friend class DtPageAssemblerCreator [friend]

Member Data Documentation


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)