VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
searchLightControllerPSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2026 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 
10 #pragma once
11 
13 #include <vrfutil/rwColor.h>
14 
19 {
20 public:
23  const DtString& rwName = DtString::nullString(),
24  DtReaderWriterRegistry* parentRegistry = 0);
25 
28  const DtString& rwName = DtString::nullString(),
29  DtReaderWriterRegistry* parentRegistry = 0);
30 
33  const DtSearchLightControllerPSR& orig);
34 
36  virtual ~DtSearchLightControllerPSR() override;
37 
40  const DtString& rwName = DtString::nullString(), DtReaderWriterRegistry* parentRegistry = 0) const override;
41 
43  virtual DtString type() const override;
44 
46  static DtVrfProcessStateRepository* creator(
47  const DtString& rwName,
48  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry = 0);
49 
51 
52  virtual double range() const;
53  virtual void setRange(double val);
55 
58 
59  virtual double intensity() const;
60  virtual void setIntensity(double val);
62 
64 
65  virtual double coneAngle() const;
66  virtual void setConeAngle(double val);
68 
70 
71  virtual unsigned lightType() const;
72  virtual void setLightType(unsigned val);
74 
76 
77  virtual const DtRwColor& color() const;
78  virtual void setColor(const DtRwColor& color);
80 
83 
84  virtual bool lockedOnTarget() const;
85  virtual void setLockedOnTarget(bool val);
87 
88 protected:
89 
96 
97 };
98 
DtRwReal myRange
Definition: searchLightControllerPSR.h:90
Definition: readerWriterRegistry.h:39
Description: Readable, Writable unsigned int.
Definition: rwUnsigned.h:31
DtAimableSystemControllerPSR is a process state repository which holds state variables for the DtAima...
Definition: aimableSystemControllerPSR.h:23
DtAimableSystemControllerPSR & operator=(const DtAimableSystemControllerPSR &orig)
Assignment Operator.
DtRwReal myConeAngle
Definition: searchLightControllerPSR.h:92
Reader-Writer color specified by red, green, blue components.
Definition: rwColor.h:19
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
virtual DtVrfProcessStateRepository * clone(const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const =0
DtRwUnsigned myLightType
Definition: searchLightControllerPSR.h:93
DtSearchLightControllerPSR is a process state repository which holds state variables for the DtSearch...
Definition: searchLightControllerPSR.h:18
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
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 =0
Returns the string type of the repository, as defined in psrTypes.h.
DtRwBoolean myLockedOnTarget
Definition: searchLightControllerPSR.h:95
DtRwReal myIntensity
Definition: searchLightControllerPSR.h:91
DtRwColor myColor
Definition: searchLightControllerPSR.h:94
A locally simulated VRF object.
Definition: localObject.h:98

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)