VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtWindowFactory.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtWindowFactory.h,v $ $Revision: 1.23 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtWindowFactory_H_
14 #define DtWindowFactory_H_
15 
16 #include <vrvCore/vrvCore.h>
19 
20 namespace makVrv
21 {
22  class DtWindow;
23  class DtWindowCreator;
24  class DtDe;
25 
30  {
31 
32  typedef DtWindow* (*DtWindowCreatorFunction)(DtDe&, DtWindowConfiguration&);
33 
34  public:
35 
38  static DtWindowFactory& instance(DtDe& de);
39 
41  virtual ~DtWindowFactory();
42 
44  DtWindow* createWindow(DtDe& de,DtWindowConfiguration& wc);
45 
47  void setCreator(int index, DtWindowCreator* creator);
48 
49  protected:
50 
53 
54  protected:
55 
56  typedef std::map<int, DtWindowCreator*> CreatorFunctionMap;
58 
59  };
60 }
61 
62 #endif
63 
64 
Abstract Base class.
Definition: DtWindow.h:25
Virtual base class.
Definition: DtVirtualBaseClass.h:22
A creator class for DtWindow instances.
Definition: DtWindow.h:116
This owns a list of channel configurations.
Definition: DtWindowConfiguration.h:31
Contains makVrv::DtVirtualBaseClass class.
Component which makes windows.
Definition: DtWindowFactory.h:29
CreatorFunctionMap myCreatorFunctionMap
Definition: DtWindowFactory.h:57
#define DT_DLL_VRVCORE
Definition: vrvCore.h:20
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
Contains makVrv::DtViewConfiguration class.
std::map< int, DtWindowCreator * > CreatorFunctionMap
Definition: DtWindowFactory.h:56
Contains DLL export macros.

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)