VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
turretComponentDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2003 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: turCompDesc.h,v $ $Revision: 1.10 $ $State: Exp $
7 *******************************************************************************/
8 
11 
14 
15 #ifndef DtTurretComponentDescriptor_H_
16 #define DtTurretComponentDescriptor_H_
17 
18 
20 #include <readerWriter/rwReal.h>
21 #include <readerWriter/rwInt.h>
22 #include <vlpi/disEnums.h>
23 
25 
30 {
31 public:
33  DtTurretComponentDescriptor(const DtString& componentName,
34  DtReaderWriterRegistry * parentRegistry = 0);
35 
38  DtReaderWriterRegistry * parentRegistry = 0);
39 
43 
45  virtual ~DtTurretComponentDescriptor();
46 
49  virtual DtString type() const;
50 
51  virtual DtComponentDescriptor * clone(
52  DtReaderWriterRegistry * parentRegistry = 0) const;
53 
54 
57  virtual DtReal maxSlewRate() const;
58  virtual void setMaxSlewRate(DtReal maxSlewRate);
59  virtual bool isMaxSlewRateSpecified() const;
61 
63  virtual bool hasFixedAzimuth() const;
64 
67  virtual DtReal rightSlewLimit() const;
68  virtual bool isRightSlewLimitSpecified() const;
69  virtual DtReal leftSlewLimit() const;
70  virtual bool isLeftSlewLimitSpecified() const;
72 
74  static DtComponentDescriptor * creator();
75 
76 protected:
79 
80 protected:
81 
87 
93 
100 
116 
126 
128 };
129 
130 #endif
131 
132 
133 
virtual DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=0) const
DtRwReal myRightSlewLimit
Parameter Name: right-slew-limit Parameter Description: The right limit, i.e. the max clockwise rotat...
Definition: turretComponentDescriptor.h:125
DtActuatorComponentDescriptor & operator=(const DtActuatorComponentDescriptor &orig)
assignment
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
End User Description: DtActuatorComponentDescriptor contains parameters common to all actuator compon...
Definition: actuatorComponentDescriptor.h:47
DtRwReal myMaxSlewRate
Parameter Name: max-slew-rate Parameter Description: Maximum rate at which the turret can rotate...
Definition: turretComponentDescriptor.h:92
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
Definition: readerWriterRegistry.h:39
virtual DtString type() const
Returns the type of component this descriptor describes. Used to create the descriptor on read from a...
DtTurretComponentDescriptor is a DtComponentDescriptor that has additional parameter information for ...
Definition: turretComponentDescriptor.h:29
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
DtRwReal myLeftSlewLimit
Parameter Name: left-slew-limit Parameter Description: The left limit, i.e. max counter-clockwise rot...
Definition: turretComponentDescriptor.h:115
static DtComponentDescriptor * creator()
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
DtRwBoolean myHasFixedAzimuth
Parameter Name: fixed-az Parameter Description: Indicates whether the gun rotates (azimuth)...
Definition: turretComponentDescriptor.h:99

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)