VR-Forces 4.1 Class Documentation
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 
18 #include <list>
19 
20 class QLabel;
28 
30 
32 {
33 public:
36  DtReaderWriterRegistry* const parentRegistry = NULL);
37 
40 
43 
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 
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);
91 
92 protected:
97 };
98 
99 #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)