VR-Forces 4.1.1 Class Documentation
drawerColl.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2001 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 /*********************************************************************
6 ** $RCSfile: drawerColl.h,v $ $Revision: 1.9 $ $State: Exp $
7 *********************************************************************/
8 
11 
12 #ifndef DtDrawerColl_H_
13 #define DtDrawerColl_H_
14 
16 
20 
21 #include <vlutil/vlConfig.h>
22 #include <map>
23 #include <string>
24 
26 
27 typedef std::map<std::string, DtSymbolDrawerCreatorFcn> DtDrawerMap;
28 
30 
43 
45 {
46 public:
48  DtDrawerColl();
49  DtDrawerColl( DtDrawerColl * nextComponent );
50  virtual ~DtDrawerColl();
51 
53  virtual DtSymbolDrawer * lookupDrawer( const DtDrawerKey & key ) = 0;
54 
55  virtual DtDrawerColl * component();
56 
58  virtual void setComponent(DtDrawerColl *c);
59 
62  virtual void addComponent(DtDrawerColl *c);
63  virtual bool init();
64  virtual void addDrawerCreator(const QString& str, DtSymbolDrawerCreatorFcn fcn);
65  virtual DtSymbolDrawer* createDrawer(const QString& str);
66 
67 protected:
68  //Protected so not used. Prefer class to be singleton.
69  DtDrawerColl(const DtDrawerColl& orig);
70  DtDrawerColl& operator=(const DtDrawerColl& orig);
71 
72 protected:
75 
78 };
79 
80 #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)