VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
symbolDrawerInterface
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
15
#include "
symbolDrawerInterface/symbolDrawerInterfaceDefines.h
"
16
18
#include "
symbolDrawerInterface/symbolDrawer.h
"
19
#include "
symbolDrawerInterface/nullDrawer.h
"
20
21
#include <vlutil/vlConfig.h>
22
#include <map>
23
#include <string>
24
25
class
DtDrawerKey
;
26
27
typedef
std::map<std::string, DtSymbolDrawerCreatorFcn>
DtDrawerMap
;
28
30
43
44
class
DT_DLL_symbolDrawerInterface
DtDrawerColl
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
:
73
DtDrawerColl
*
myComponent
;
74
DtNullDrawer
myNullDrawer
;
75
77
DtDrawerMap
myMap
;
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
)