VR-Forces 4.6 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtPageCollectionManager.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: $ $Revision: $ $State: $
7 ******************************************************************************/
8 
12 
13 #pragma once
14 #include <vrvCore/vrvCore.h>
16 #include <boost/unordered_map.hpp>
17 #include <string>
18 
19 namespace makVrv
20 {
21  class DtPageCollection;
22 
27  {
28  public:
29  typedef boost::unordered_map<std::string,DtPageCollection*>
31 
33  static DtPageCollectionManager& instance(DtDe& de);
34 
36  virtual ~DtPageCollectionManager();
37 
39  DtPageCollection* findPageCollection(
40  const std::string& collectionClassName) const;
41 
43  DtPageCollection* assemblePageCollection(
44  const std::string& collectionClassName) const;
45 
47  const CollectionMap& pageCollections() const;
48 
52  void showCollection(const std::string& collectionClassName,
53  const std::string& page = std::string(""));
54 
55  protected:
56 
58 
61  friend class DtPageCollection;
62 
67  void registerInstance(DtPageCollection*);
68 
71  void unregisterInstance(DtPageCollection*);
72 
73  protected:
76  };
77 }
78 

Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)