VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
entityEditorImpl
uiAutoTargetSelectionElement.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2007 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: uiAutoTargetSelectionElement.h,v $ $Revision: 1.1 $ $State: Exp $
7
*******************************************************************************/
8
11
13
14
#ifndef uiAutoTargetSelectionElement_h
15
#define uiAutoTargetSelectionElement_h
16
17
#include "
entityEditorImpl/uiElement.h
"
18
#include <list>
19
20
class
QLabel
;
21
class
DtConnectionDescriptorList
;
22
class
DtVrfObjectParameters
;
23
class
DtComponentSystemDefinition
;
24
class
DtComponentSystemDescriptor
;
25
class
DtTargetSelectionMetaDataEntry
;
26
class
DtDetectObjectTypesMetaDataEntry
;
27
class
DtComponentDescriptor
;
28
29
#include "
entityEditorImpl/entityEditorImplDefines.h
"
30
31
class
DT_DLL_entityeditorimpl
DtUiAutoTargetSelectionElement
:
public
DtUiElement
32
{
33
public
:
35
DtUiAutoTargetSelectionElement
(
const
DtString
& name,
36
DtReaderWriterRegistry
*
const
parentRegistry = NULL);
37
39
virtual
~
DtUiAutoTargetSelectionElement
();
40
42
DtUiAutoTargetSelectionElement
(
const
DtUiAutoTargetSelectionElement
& orig);
43
45
DtUiAutoTargetSelectionElement
&
operator=
(
const
DtUiAutoTargetSelectionElement
& orig);
46
48
virtual
void
objectParametersModified
();
49
51
virtual
QWidget
*
createControls
(
QWidget
* parent);
52
53
protected
:
54
virtual
const
DtComponentSystemDefinition
* lookupSystemDefinition(
55
const
DtComponentSystemDescriptor
* descriptor);
56
57
virtual
QWidget
*
createDataEntryElement
(
QWidget
*);
58
61
virtual
bool
updateSensorConnections();
62
65
virtual
bool
checkExistingSensorConnection(
const
DtSymbolString
& weaponName,
66
const
DtDetectObjectTypesMetaDataEntry
* detectEntry)
const
;
67
70
virtual
void
addConnectionToSensor(
const
DtSymbolString
& weaponName,
71
const
DtDetectObjectTypesMetaDataEntry
* detectEntry);
72
76
virtual
bool
removeOldSensorConnections(
const
std::list<DtSymbolString>& currentSensors);
77
81
virtual
DtComponentDescriptor
* findOrCreateControllerDescriptor();
82
85
virtual
void
updateDisplayLabel();
86
87
protected
:
88
virtual
DtUiElement
*
clone
();
89
virtual
void
setFromParameters
(
DtReaderWriter
* parentRw);
90
virtual
DtReaderWriterRegistryData
*
value
(
DtReaderWriter
* parentRw);
91
92
protected
:
93
QLabel
*
myInfoLabel
;
94
DtConnectionDescriptorList
*
myConnectionList
;
95
DtVrfObjectParameters
*
myObjectParameters
;
96
DtComponentDescriptor
*
myControllerDesc
;
97
};
98
99
#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
)