VR-Forces 4.6 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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 <
vrvDrawControl/vrvDrawControl.h
>
20
21
#include <
vrvDrawControl/DtDrawControlObject.h
>
22
#include <
vrvDrawControl/DtAttributeTemplateObject.h
>
23
24
namespace
vrvControlToolkit
25
{
26
28
typedef
std::list<DtAttributeTemplateObject*>
DtVdcAttributeTemplateList
;
29
32
typedef
std::map<DtString, DtAttributeTemplateObject*>
33
DtVdcAttributeTemplateMap
;
34
41
class
DT_DLL_VRVDRAWCONTROL
DtAttributeGroupTemplateObject
:
public
DtDrawControlObject
42
{
43
public
:
51
DtAttributeGroupTemplateObject
(DtExerciseConn* exConn,
unsigned
id
,
52
const
DtString
& name);
53
54
// \brief Virtual destructor
55
virtual
~
DtAttributeGroupTemplateObject
();
56
57
private
:
62
DtAttributeGroupTemplateObject
();
63
67
DtAttributeGroupTemplateObject
(
68
const
DtAttributeGroupTemplateObject
& orig);
69
73
DtAttributeGroupTemplateObject
& operator=(
74
const
DtAttributeGroupTemplateObject
& rhs);
75
76
public
:
82
virtual
const
DtString
& name()
const
;
83
95
virtual
DtAttributeTemplateObject
* createAttributeTemplate(
const
DtString
& name,
96
DtAttributeTemplateObject::DtVdcAttributeType
attType);
97
109
virtual
DtAttributeTemplateObject
* createAttributeTemplate(
const
DtString
& name,
110
double
minRange,
double
maxRange);
111
117
virtual
DtVdcAttributeTemplateList
& attributeTemplates();
118
125
virtual
DtAttributeTemplateObject
* attributeTemplate(
126
const
DtString
& name);
127
132
virtual
void
update();
133
134
protected
:
135
DtString
myName
;
136
DtVdcAttributeTemplateMap
myAttributeTemplateMap
;
137
DtVdcAttributeTemplateList
myAttributeTemplateList
;
138
};
139
}
Document ID: Generated on Thu Apr 12 03:15:37 EDT 2018 from SVN revision 187986
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)