VR-Forces 4.1.1 Class Documentation
artPartManager.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2007 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: artPartManager.h,v $ $Revision: 1.2 $ $State: Exp $
7 *******************************************************************************/
8 
11 
13 
14 #ifndef artPartManager_h
15 #define artPartManager_h
16 
17 #include <list>
18 #include <vlutil/vlString.h>
19 #include <set>
20 #include <map>
21 
22 class DtUiArtPartElement;
23 
25 
27 {
28 public:
30  virtual ~DtArtPartManager();
31 
32 private:
34  DtArtPartManager& operator=(const DtArtPartManager& orig);
35 
36 public:
37  virtual void addArtPartElement(DtUiArtPartElement* element);
38  virtual void removeArtPartElement(DtUiArtPartElement* element);
39  virtual void setValidArtPartNumbers();
40 
41 protected:
42  virtual int nextAvailablePartNumber(const DtString& category,
43  const std::set<int>& usedPartNumbers) const;
44 
47  void setupArtPartMappings();
48  void addArtPartMapping(const DtString& category, int partNumber);
49 
50 protected:
51  typedef std::list<DtUiArtPartElement*> DtArtPartElementList;
53 
54  typedef std::multimap<DtString, int> DtArtPartCategoryMap;
57 };
58 
59 #endif

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)