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

The base class implementation of a Toolbar Assembler. More...

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

List of all members.

Public Member Functions

virtual ~DtToolbarAssembler ()
 DTOR.
virtual void assemble (const DtToolbarConfiguration &configuration)
 Assemble a configuration.
virtual void updateToolbars (const DtToolbarConfiguration &configuration)
 Updates the toolbar UI layout with the information passed in the configuration.

Static Public Member Functions

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

Protected Types

typedef std::multimap
< DtToolbarConfiguration::ToolbarLocation,
DtToolbarPath
LocationPathMap
typedef std::map< int,
DtToolbarPath
ToolbarPathsMap
typedef std::map< int,
ToolbarPathsMap
ToolbarPathsMapMap

Protected Member Functions

 DtToolbarAssembler (DtDe &de)
void assembleToolbarPath (const DtToolbarPath &toolbarPath, const DtToolbarConfiguration &configuration, DtToolbarConfiguration::ToolbarLocation location)
 Assemble a toolbar path.
virtual void assembleRow (const DtToolbarPath &toolbarPath, DtToolbarConfiguration::ToolbarLocation location)
 Assemble a row from the path.
virtual void addToolbarBreak (DtToolbarConfiguration::ToolbarLocation loc)
 Add a toolbar break at the specified location.
virtual void assembleToolbar (const DtToolbarPath &toolbarPath, const DtToolbarConfiguration &configuration)
 Assemble a toolbar from the path.
virtual void assembleToolbarItem (const DtToolbarPath &toolbarPath)
 Assemble a toolbar from the path.
virtual void assembleToolbarMenuItem (const DtToolbarPath &toolbarPath)
 Assemble a toolbar from the path.
virtual void assembleToolbarWidget (const DtToolbarPath &toolbarPath)
 Assemble a toolbar from the path.
virtual void assembleToolbarMenu (const DtToolbarPath &toolbarPath)
 Assemble a toolbar from the path.
virtual void assembleTopLeftToolbars (const LocationPathMap &locMap, DtToolbarConfiguration::ToolbarLocation loc, const DtToolbarConfiguration &configuration)
 Assemble toolbars located at the top or left areas of the UI.
virtual void assembleBottomRightToolbars (const LocationPathMap &, DtToolbarConfiguration::ToolbarLocation, const DtToolbarConfiguration &)
 Assemble toolbars located at the bottom or right areas of the UI.
virtual void populateToobarPathsMap (const LocationPathMap &locMap, DtToolbarConfiguration::ToolbarLocation loc, const DtToolbarConfiguration &configuration, ToolbarPathsMapMap &tpMap)
 Populates the tpMap map with the proper order in which toolbars need to be placed on the UI.
virtual void updateToolbarPath (const DtToolbarPath &toolbarPath, const DtToolbarConfiguration &configuration)
 Update the tool bar path with the state information contained inside the provided configuration.
virtual void updateToolbar (const DtToolbarPath &toolbarPath, const DtToolbarConfiguration &configuration)
 Update the tool bar with the state information contained inside the provided configuration.

Protected Attributes

std::stack< DtToolbarPathmyToolbarStack
DtDemyDe

Friends

class DtToolbarAssemblerCreator

Detailed Description

The base class implementation of a Toolbar Assembler.


Member Typedef Documentation

typedef std::map<int, DtToolbarPath> makVrv::DtToolbarAssembler::ToolbarPathsMap [protected]

Constructor & Destructor Documentation

DTOR.


Member Function Documentation

Get an instance of the assembler.

Reimplemented in makVrv::DtQtToolbarAssembler.

virtual void makVrv::DtToolbarAssembler::assemble ( const DtToolbarConfiguration configuration) [virtual]

Assemble a configuration.

Reimplemented in makVrv::DtQtToolbarAssembler.

virtual void makVrv::DtToolbarAssembler::updateToolbars ( const DtToolbarConfiguration configuration) [virtual]

Updates the toolbar UI layout with the information passed in the configuration.

void makVrv::DtToolbarAssembler::assembleToolbarPath ( const DtToolbarPath toolbarPath,
const DtToolbarConfiguration configuration,
DtToolbarConfiguration::ToolbarLocation  location 
) [protected]

Assemble a toolbar path.

virtual void makVrv::DtToolbarAssembler::assembleRow ( const DtToolbarPath toolbarPath,
DtToolbarConfiguration::ToolbarLocation  location 
) [protected, virtual]

Assemble a row from the path.

Reimplemented in makVrv::DtQtToolbarAssembler.

Add a toolbar break at the specified location.

Reimplemented in makVrv::DtQtToolbarAssembler.

virtual void makVrv::DtToolbarAssembler::assembleToolbar ( const DtToolbarPath toolbarPath,
const DtToolbarConfiguration configuration 
) [protected, virtual]

Assemble a toolbar from the path.

Reimplemented in makVrv::DtQtToolbarAssembler.

virtual void makVrv::DtToolbarAssembler::assembleToolbarItem ( const DtToolbarPath toolbarPath) [protected, virtual]

Assemble a toolbar from the path.

Reimplemented in makVrv::DtQtToolbarAssembler.

virtual void makVrv::DtToolbarAssembler::assembleToolbarMenuItem ( const DtToolbarPath toolbarPath) [protected, virtual]

Assemble a toolbar from the path.

Reimplemented in makVrv::DtQtToolbarAssembler.

virtual void makVrv::DtToolbarAssembler::assembleToolbarWidget ( const DtToolbarPath toolbarPath) [protected, virtual]

Assemble a toolbar from the path.

Reimplemented in makVrv::DtQtToolbarAssembler.

virtual void makVrv::DtToolbarAssembler::assembleToolbarMenu ( const DtToolbarPath toolbarPath) [protected, virtual]

Assemble a toolbar from the path.

Reimplemented in makVrv::DtQtToolbarAssembler.

virtual void makVrv::DtToolbarAssembler::assembleTopLeftToolbars ( const LocationPathMap locMap,
DtToolbarConfiguration::ToolbarLocation  loc,
const DtToolbarConfiguration configuration 
) [protected, virtual]

Assemble toolbars located at the top or left areas of the UI.

Assemble toolbars located at the bottom or right areas of the UI.

virtual void makVrv::DtToolbarAssembler::populateToobarPathsMap ( const LocationPathMap locMap,
DtToolbarConfiguration::ToolbarLocation  loc,
const DtToolbarConfiguration configuration,
ToolbarPathsMapMap tpMap 
) [protected, virtual]

Populates the tpMap map with the proper order in which toolbars need to be placed on the UI.

virtual void makVrv::DtToolbarAssembler::updateToolbarPath ( const DtToolbarPath toolbarPath,
const DtToolbarConfiguration configuration 
) [protected, virtual]

Update the tool bar path with the state information contained inside the provided configuration.

virtual void makVrv::DtToolbarAssembler::updateToolbar ( const DtToolbarPath toolbarPath,
const DtToolbarConfiguration configuration 
) [protected, virtual]

Update the tool bar with the state information contained inside the provided configuration.

The toolbarPath is expected to represent a toolbar, not a toolbar item.


Friends And Related Function Documentation

friend class DtToolbarAssemblerCreator [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)