VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
missileTargetControllerPSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
6 #pragma once
7 
10 #include <readerWriter/rwString.h>
11 #include <readerWriter/rwReal.h>
12 
13 #include <set>
14 
15 //RW type definition.
16 
18 {
19 public:
20  //Constructor
22  const DtString& rwName = DtString::nullString(),
23  DtReaderWriterRegistry* parentRegistry = 0);
24  //Copy constructor
26  const DtString& rwName = DtString::nullString(),
27  DtReaderWriterRegistry* parentRegistry = 0);
28  //Assignment Operator
30  //Destructor
31  virtual ~DtMissileTargetControllerPSR() override;
32 
33  //Returns complete copy of this class using the copy constructor.
35  const DtString& rwName = DtString::nullString(), DtReaderWriterRegistry* parentRegistry = 0) const override;
36  //Returns "MissileTarget-process-state-repository"
37  virtual DtString type() const override;
38 
39  //Static creator function for factory registration.
40  static DtVrfProcessStateRepository* creator(const DtString& rwName,
41  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry = 0);
42 
44  virtual void clearPhasesComplete();
45 
48  virtual void setScriptedMovementObject(const DtString&);
49  virtual const DtString& scriptedMovementObject() const;
50 
53  virtual void addPhasesComplete(const std::set<int>&);
54 
56  virtual std::set<int> phasesComplete() const;
57 
59  virtual void setInitialLaunchTime(double);
60  virtual void clearInitialLaunchTime();
61  virtual DtRwReal initialLaunchTime() const;
62 
64  virtual void getSelf(DtlObjPtr args, const DtReaderWriter::SearchPaths& searchPaths,
65  const DtVariableBindingsList& variableBindings) override;
66 
69  virtual void setOriginalLaunchTime(double);
70  virtual double originalLaunchTime() const;
71 
72 protected:
77 };
Description: DtNLengthIntegerVector is a named, readable/writable vector of integers of arbitrary len...
Definition: nLengthIntegerVector.h:28
virtual void getSelf(DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings) override
Top level to read itself from an input stream. searchPath is passed down to all DtReaderWriter member...
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
Definition: missileTargetControllerPSR.h:17
Definition: readerWriterRegistry.h:39
DtRwString myScriptedMovementObject
Definition: missileTargetControllerPSR.h:74
#define DT_DLL_vrfobjcore
This file is used to determine how to build.
Definition: vrfobjcoreDefines.h:24
std::list< const DtRwVariableBindings * > DtVariableBindingsList
Definition: readerWriterRegistry.h:29
virtual DtVrfProcessStateRepository * clone(const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const =0
std::vector< DtFilename > SearchPaths
Definition: readerWriter.h:92
DtNLengthIntegerVector myPhasesComplete
Definition: missileTargetControllerPSR.h:73
DtRwReal myInitialLaunchTime
Definition: missileTargetControllerPSR.h:75
DtRwReal myOriginalLaunchTime
Definition: missileTargetControllerPSR.h:76
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
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)