VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfTurretedBalGunPSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2002 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: turBalGunPSR.h,v $ $Revision: 1.5 $ $State: Exp $
7 *******************************************************************************/
8 
11 
17 
18 #ifndef DtVrfTurretedBalGunPSR_H_
19 #define DtVrfTurretedBalGunPSR_H_
20 
22 
27 {
28 
29 protected:
30 
32 
33 public:
34 
36  const DtString& rwName = DtString::nullString(),
37  DtReaderWriterRegistry* parentRegistry = 0);
38 
40  const DtString& rwName = DtString::nullString(),
41  DtReaderWriterRegistry* parentRegistry = 0);
42 
44  const DtVrfTurretedBalGunPSR& orig);
45 
46  virtual ~DtVrfTurretedBalGunPSR() override;
47 
49  const DtString& rwName = DtString::nullString(), DtReaderWriterRegistry* parentRegistry = 0) const override;
50 
52  virtual double maxSlewRate() const;
53 
55  virtual void setMaxSlewRate(double maxSlewRate);
56 
59  virtual DtArtPartType turretArtPart() const;
60  virtual void setTurretArtPart(DtArtPartType turretArtPart);
62 
64  virtual bool clockwise() const;
65  virtual void setClockwise(bool clockwise);
66 
68  virtual bool cannotAcquireTarget() const;
69  virtual void setCannotAcquireTarget(bool cannotAcquire);
70 
72  virtual DtString type() const override;
73 
74  static DtVrfProcessStateRepository* creator (const DtString& name,
75  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
76 
77 protected:
78 
82  double myMaxSlewRate;
83 
88 
91 
93 
94 };
95 
96 #endif
97 
double myMaxSlewRate
Maximum rate at which this turret can slew.
Definition: vrfTurretedBalGunPSR.h:82
static DtVrfProcessStateRepository * creator(const DtString &name, DtLocalObject *vrfObject, DtReaderWriterRegistry *parentRegistry)
Definition: readerWriterRegistry.h:39
const DtVrfBalGunPSR & operator=(const DtVrfBalGunPSR &orig)
File: turBalGunPSR.h.
Definition: vrfTurretedBalGunPSR.h:26
DtRwBoolean myCannotAcquireTarget
Definition: vrfTurretedBalGunPSR.h:92
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
DtRwBoolean myClockwiseFlag
Are we currently scanning clockwise (or counterclockwise?)
Definition: vrfTurretedBalGunPSR.h:90
virtual DtVrfProcessStateRepository * clone(const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const override
Class DtVrfProcessStateRepository: Abstract base class for all process state repositories. Process state repositories represent (potentially) shared, savable information for one or more components functioning together to achieve some process or set of processes; such as aiming and firing a weapon; moving an object; or just waiting a specified amount of time.
Definition: vrfProcessStateRepository.h:45
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
int myTurretArtPart
The art part number for the turret we're associated with.
Definition: vrfTurretedBalGunPSR.h:87
Class DtVrfBalGunPSR: Used to hold checkpointable state for the processes associated with ballistic g...
Definition: vrfBalGunPSR.h:36
virtual DtString type() const override
Returns the string type of the repository, as defined in psrTypes.h.
A locally simulated VRF object.
Definition: localObject.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)