VR-Forces 5.0.1 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();
33 
36 
39  const DtString& rwName = DtString::nullString(),
40  DtReaderWriterRegistry* parentRegistry = 0) const;
41 
43  virtual DtString type() const;
44 
47  virtual void setLaunchAtNearestThreat(bool enabled);
48  virtual bool launchAtNearestThreat() const;
49 
52  virtual void setHeading(const double heading);
53  virtual const double heading() const;
54 
57  virtual void setIsMagnetic(const bool isMagnetic);
58  virtual const bool isMagnetic() const;
59 
60 public:
62  static DtVrfProcessStateRepository* creator (const DtString& rwName,
63  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
64 
65 protected:
69 };
DtRwBoolean myLaunchAtNearestThreat
Definition: launchSmokePSR.h:67
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:68
DtRwReal myHeading
Definition: launchSmokePSR.h:66
#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 procSRTypes.h.
const DtVrfProcessStateRepository & operator=(const DtVrfProcessStateRepository &orig)
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 Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)