VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
launchSmokePSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
9 #include <readerWriter/rwReal.h>
10 #include <readerWriter/rwBoolean.h>
11 
15 
18 {
19 public:
20 
22  DtLaunchSmokePSR(DtLocalObject* vrfObject,
23  const DtString& rwName = DtString::nullString(),
24  DtReaderWriterRegistry* parentRegistry = 0);
25 
28  const DtString& rwName = DtString::nullString(),
29  DtReaderWriterRegistry* parentRegistry = 0);
30 
32  virtual ~DtLaunchSmokePSR() override;
33 
36 
39  const DtString& rwName = DtString::nullString(), DtReaderWriterRegistry* parentRegistry = 0) const override;
40 
42  virtual DtString type() const override;
43 
46  virtual void setLaunchAtNearestThreat(bool enabled);
47  virtual bool launchAtNearestThreat() const;
48 
51  virtual void setHeading(const double heading);
52  virtual const double heading() const;
53 
56  virtual void setIsMagnetic(const bool isMagnetic);
57  virtual const bool isMagnetic() const;
58 
59 public:
61  static DtVrfProcessStateRepository* creator (const DtString& rwName,
62  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
63 
64 protected:
68 };
DtRwBoolean myLaunchAtNearestThreat
Definition: launchSmokePSR.h:66
Definition: readerWriterRegistry.h:39
This class stores the heading and launch at nearest target values from DtLaunchSmokeTask so they can ...
Definition: launchSmokePSR.h:17
DtRwBoolean myIsMagnetic
Definition: launchSmokePSR.h:67
DtRwReal myHeading
Definition: launchSmokePSR.h:65
#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
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.
const DtVrfProcessStateRepository & operator=(const DtVrfProcessStateRepository &orig)
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)