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();
47 
49  const DtString& rwName = DtString::nullString(),
50  DtReaderWriterRegistry* parentRegistry = 0) const;
51 
53  virtual double maxSlewRate() const;
54 
56  virtual void setMaxSlewRate(double maxSlewRate);
57 
60  virtual DtArtPartType turretArtPart() const;
61  virtual void setTurretArtPart(DtArtPartType turretArtPart);
63 
65  virtual bool clockwise() const;
66  virtual void setClockwise(bool clockwise);
67 
69  virtual bool cannotAcquireTarget() const;
70  virtual void setCannotAcquireTarget(bool cannotAcquire);
71 
73  virtual DtString type() const;
74 
75  static DtVrfProcessStateRepository* creator (const DtString& name,
76  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
77 
78 protected:
79 
83  double myMaxSlewRate;
84 
89 
92 
94 
95 };
96 
97 #endif
98 
double myMaxSlewRate
Maximum rate at which this turret can slew.
Definition: vrfTurretedBalGunPSR.h:83
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
virtual DtVrfProcessStateRepository * clone(const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const
DtRwBoolean myCannotAcquireTarget
Definition: vrfTurretedBalGunPSR.h:93
#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:91
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
virtual DtString type() const
Returns the string type of the repository, as defined in procSRTypes.h.
int myTurretArtPart
The art part number for the turret we're associated with.
Definition: vrfTurretedBalGunPSR.h:88
Class DtVrfBalGunPSR: Used to hold checkpointable state for the processes associated with ballistic g...
Definition: vrfBalGunPSR.h:36
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)