VR-Forces 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() override;
46 
49  virtual DtString type() const override;
50 
51  virtual DtComponentDescriptor * clone(DtReaderWriterRegistry* parentRegistry = 0) const override;
52 
53 
56  virtual DtReal maxSlewRate() const;
57  virtual void setMaxSlewRate(DtReal maxSlewRate);
58  virtual bool isMaxSlewRateSpecified() const;
60 
62  virtual bool hasFixedAzimuth() const;
63 
66  virtual DtReal rightSlewLimit() const;
67  virtual bool isRightSlewLimitSpecified() const;
68  virtual DtReal leftSlewLimit() const;
69  virtual bool isLeftSlewLimitSpecified() const;
71 
73  static DtComponentDescriptor * creator();
74 
75 protected:
78 
79 protected:
80 
86 
92 
99 
115 
125 
127 };
128 
129 #endif
130 
131 
132 
DtRwReal myRightSlewLimit
Parameter Name: right-slew-limit Parameter Description: The right limit, i.e. the max clockwise rotat...
Definition: turretComponentDescriptor.h:124
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:91
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 DtComponentDescriptor * clone(DtReaderWriterRegistry *parentRegistry=0) const override
virtual DtString type() const override
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:114
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:98

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)