MAK Data Logger API Documentation for DIS
lgrGuiObjectManager.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 ******************************************************************************/
5 
8 
9 #ifndef lgrGuiObjectManager_H_
10 #define lgrGuiObjectManager_H_
11 
12 #include "lgrGui.h"
13 
14 
15 #include <Qt3Support/Q3Dict>
16 
17 namespace MAKLogger
18 {
19 
21  template <typename ObjectType>
23  {
24  public:
25 
27 
28  virtual ~DtLgrGuiObjectManager();
29 
34  virtual bool addObject(QString objectName,ObjectType*);
35  virtual bool removeObject(QString objectName);
36 
37  virtual ObjectType* findObject(QString objectName);
38  virtual ObjectType* releaseObject(QString objectName);
39 
41  virtual void clear();
42 
43  protected:
44  Q3Dict<ObjectType> myObjectMap;
45 
46  };
47 }
48 
49 #define lgrGuiObjectManager_INC
50 #include "lgrGuiObjectManager.inl"
51 #undef lgrGuiObjectManager_INC
52 
53 #endif
54 

Document ID: Generated on Thu Apr 10 18:53:01 EDT 2014 from SVN revision 138105
Copyright © 2005-2012 VT MÄK. All Rights Reserved (www.mak.com)