VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvDrawControl
DtAttributeGroupTemplateObject.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2006 MaK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtAttributeGroupTemplateObject.h,v $ $Revision: 1.3 $ $State: Exp $
7
******************************************************************************/
8
#pragma once
9
15
16
#include <map>
17
#include <list>
18
19
#include <vlutil/vlString.h>
20
21
#include <
vrvDrawControl/vrvDrawControl.h
>
22
23
#include <
vrvDrawControl/DtDrawControlObject.h
>
24
#include <
vrvDrawControl/DtAttributeTemplateObject.h
>
25
26
namespace
vrvControlToolkit
27
{
28
30
typedef
std::list<DtAttributeTemplateObject*>
DtVdcAttributeTemplateList
;
31
34
typedef
std::map<DtString, DtAttributeTemplateObject*>
35
DtVdcAttributeTemplateMap
;
36
43
class
DT_DLL_VRVDRAWCONTROL
DtAttributeGroupTemplateObject
:
public
DtDrawControlObject
44
{
45
public
:
53
DtAttributeGroupTemplateObject
(DtExerciseConn* exConn,
unsigned
id
,
54
const
DtString
& name);
55
56
// \brief Virtual destructor
57
virtual
~
DtAttributeGroupTemplateObject
();
58
59
private
:
64
DtAttributeGroupTemplateObject
();
65
69
DtAttributeGroupTemplateObject
(
70
const
DtAttributeGroupTemplateObject
& orig);
71
75
DtAttributeGroupTemplateObject
& operator=(
76
const
DtAttributeGroupTemplateObject
& rhs);
77
78
public
:
84
virtual
const
DtString
& name()
const
;
85
97
virtual
DtAttributeTemplateObject
* createAttributeTemplate(
const
DtString
& name,
98
DtAttributeTemplateObject::DtVdcAttributeType
attType);
99
111
virtual
DtAttributeTemplateObject
* createAttributeTemplate(
const
DtString
& name,
112
double
minRange,
double
maxRange);
113
119
virtual
DtVdcAttributeTemplateList
& attributeTemplates();
120
127
virtual
DtAttributeTemplateObject
* attributeTemplate(
128
const
DtString
& name);
129
134
virtual
void
update();
135
136
protected
:
137
DtString
myName
;
138
DtVdcAttributeTemplateMap
myAttributeTemplateMap
;
139
DtVdcAttributeTemplateList
myAttributeTemplateList
;
140
};
141
}
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
)