VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
entityEditorImpl
uiAutoConnectionElement.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2007 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: uiAutoConnectionElement.h,v $ $Revision: 1.1 $ $State: Exp $
7
*******************************************************************************/
8
11
13
14
#ifndef uiAutoConnectionElement_h
15
#define uiAutoConnectionElement_h
16
17
#include "
entityEditorImpl/uiElement.h
"
18
#include "
vrfutil/rwString.h
"
19
#include <list>
20
21
class
QLabel
;
22
class
DtConnectionDescriptorList
;
23
class
DtVrfObjectParameters
;
24
class
DtComponentSystemDefinition
;
25
class
DtComponentSystemDescriptor
;
26
29
30
#include "
entityEditorImpl/entityEditorImplDefines.h
"
31
32
class
DT_DLL_entityeditorimpl
DtUiAutoConnectionElement
:
public
DtUiElement
33
{
34
public
:
36
DtUiAutoConnectionElement
(
const
DtString
& name,
37
DtReaderWriterRegistry
*
const
parentRegistry = NULL);
38
40
virtual
~
DtUiAutoConnectionElement
();
41
43
DtUiAutoConnectionElement
(
const
DtUiAutoConnectionElement
& orig);
44
46
DtUiAutoConnectionElement
&
operator=
(
const
DtUiAutoConnectionElement
& orig);
47
49
virtual
void
objectParametersModified
();
50
51
virtual
QWidget
*
createControls
(
QWidget
* parent);
52
53
protected
:
54
virtual
const
DtComponentSystemDefinition
* lookupSystemDefinition(
55
const
DtComponentSystemDescriptor
* descriptor)
const
;
56
57
virtual
QWidget
*
createDataEntryElement
(
QWidget
*);
58
61
virtual
bool
updateConnections();
62
66
virtual
std::list<DtSymbolString> sourceSystems()
const
;
67
71
virtual
std::list<DtSymbolString> destinationSystems()
const
;
72
75
virtual
bool
checkExistingConnection(
const
DtSymbolString
& sourceName,
76
const
DtSymbolString
& destinationName)
const
;
77
79
virtual
void
addConnection(
const
DtSymbolString
& sourceName,
80
const
DtSymbolString
& destinationName)
const
;
81
87
virtual
bool
removeDanglingConnections();
88
91
virtual
bool
systemOrComponentExists(
const
DtString
& name);
92
95
virtual
void
updateDisplayLabel();
96
97
protected
:
98
virtual
DtUiElement
*
clone
();
99
virtual
void
setFromParameters
(
DtReaderWriter
* parentRw);
100
virtual
DtReaderWriterRegistryData
*
value
(
DtReaderWriter
* parentRw);
101
102
protected
:
103
DtRwString
mySourceCategory
;
104
DtRwString
mySourcePortName
;
105
DtRwString
myDestinationCategory
;
106
DtRwString
myDestinationPortName
;
107
108
QLabel
*
myInfoLabel
;
109
DtConnectionDescriptorList
*
myConnectionList
;
110
DtVrfObjectParameters
*
myObjectParameters
;
111
};
112
113
#endif
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)