VR-Forces 4.3 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vrvCore
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
>
17
#include <
vrvUtil/DtWindowConfiguration.h
>
18
#include <
vrvUtil/DtVirtualBaseClass.h
>
19
20
namespace
makVrv
21
{
22
class
DtWindow;
23
class
DtWindowCreator;
24
class
DtDe;
25
29
class
DT_DLL_VRVCORE
DtWindowFactory
:
public
DtVirtualBaseClass
30
{
31
32
typedef
DtWindow
* (*DtWindowCreatorFunction)(
DtDe
&,
DtWindowConfiguration
&);
33
34
public
:
35
38
static
DtWindowFactory
& instance(
DtDe
& de);
39
41
~
DtWindowFactory
();
42
44
DtWindow
* createWindow(
DtDe
& de,
DtWindowConfiguration
& wc);
45
47
void
setCreator(
int
index,
DtWindowCreator
* creator);
48
49
protected
:
50
52
DtWindowFactory
();
53
54
protected
:
55
56
typedef
std::map<int, DtWindowCreator*>
CreatorFunctionMap
;
57
CreatorFunctionMap
myCreatorFunctionMap
;
58
59
};
60
}
61
62
#endif
63
64
Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)