VR-Forces 4.1 Class Documentation
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 
18 #include "vrfutil/rwString.h"
19 #include <list>
20 
21 class QLabel;
26 
29 
31 
33 {
34 public:
37  DtReaderWriterRegistry* const parentRegistry = NULL);
38 
40  virtual ~DtUiAutoConnectionElement();
41 
44 
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 
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:
107 
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)