![]() |
VR-Forces 5.0.1 Developer's Guide
|
This class is a static singleton manager for getting page collection interfaces.

Public Types | |
| typedef boost::unordered_map < std::string, DtPageCollection * > | CollectionMap |
Public Member Functions | |
| virtual | ~DtPageCollectionManager () |
| DtPageCollection * | findPageCollection (const std::string &collectionClassName) const |
| DtPageCollection * | assemblePageCollection (const std::string &collectionClassName) const |
| const CollectionMap & | pageCollections () const |
| void | showCollection (const std::string &collectionClassName, const std::string &page=std::string()) |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| virtual | ~DtVirtualBaseClass () |
Static Public Member Functions | |
| static DtPageCollectionManager & | instance (DtDe &de) |
Protected Member Functions | |
| DtPageCollectionManager (DtDe &de) | |
| void | registerInstance (DtPageCollection *) |
| void | unregisterInstance (DtPageCollection *) |
Protected Attributes | |
| DtDe & | myDe |
| CollectionMap | myCollections |
Friends | |
| class | DtPageCollection |
| typedef boost::unordered_map<std::string,DtPageCollection*> makVrv::DtPageCollectionManager::CollectionMap |
|
virtual |
DTOR.
|
protected |
|
static |
Get access to the page collection instance for the DtDe.
| DtPageCollection* makVrv::DtPageCollectionManager::findPageCollection | ( | const std::string & | collectionClassName | ) | const |
Find an instance of the page collection.
| DtPageCollection* makVrv::DtPageCollectionManager::assemblePageCollection | ( | const std::string & | collectionClassName | ) | const |
Assemble a collection if it does not exist.
| const CollectionMap& makVrv::DtPageCollectionManager::pageCollections | ( | ) | const |
Get the map of all page collections.
| void makVrv::DtPageCollectionManager::showCollection | ( | const std::string & | collectionClassName, |
| const std::string & | page = std::string() |
||
| ) |
Show a collection. This is useful for displaying Dialog collections. Place the starting page as the second parameter, or, leave blank to default to page as defined in the collection.
|
protected |
Adds an instance of a DtPageCollection so it can be found by name.
| DtCorruptedState | if a page collection with the same name was already registered. |
|
protected |
Removes an instance of a DtPageCollection so it will not b be found by name.
|
friend |
Allow the page collection interface to register and unregister themselves.
|
protected |
|
protected |