VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
orbitActuatorPSR.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2016 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
14 #include <readerWriter/rwString.h>
15 
19 {
20 public:
23  const DtString& rwName = DtString::nullString(),
24  DtReaderWriterRegistry* parentRegistry = 0);
27  const DtString& rwName = DtString::nullString(),
28  DtReaderWriterRegistry* parentRegistry = 0);
31  const DtOrbitActuatorPSR& orig);
33  virtual ~DtOrbitActuatorPSR() override;
34 
37  const DtString& rwName = DtString::nullString(), DtReaderWriterRegistry* parentRegistry = 0) const override;
38 
40  virtual DtString type() const override;
41 
43  static DtVrfProcessStateRepository* creator(const DtString& rwName,
44  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry = 0);
45 
46  virtual DtOrbitMode orbitMode() const;
47  virtual void setOrbitMode(const DtOrbitMode value);
48 
49  virtual const DtRwKeplerOrbitalElements& keplerOrbitalElements() const;
50  virtual DtRwKeplerOrbitalElements& keplerOrbitalElements();
51  virtual bool keplerOrbitalElementsSpecified() const;
52  virtual void setKeperOrbitalElementsSpecified(bool v);
53 
54  virtual double geostationaryLongitude() const;
55  virtual void setGeostationaryLongitude(double value);
56  virtual bool geostationaryLongitudeSpecified() const;
57  virtual void setGeostationaryLongitudeSpecified(bool v);
58 
59 protected:
61 
62  virtual void prePutSelf() override;
63  virtual void postGetSelf() override;
65 
66 protected:
71 
74 };
virtual void prePutSelf()
Called before either version of put self (file or environment). Default is no-op. ...
DtRwKeplerOrbitalElements is a set of Kepler Orbital Elements describing an earth orbit...
Definition: rwKeplerOrbitalElements.h:31
virtual void postGetSelf()
Called after either version of getSelf (mtl or environment). Default is no-op.
DtOrbitMode myOrbitModeEnum
Cached enum to avoid needless string/enum conversions.
Definition: orbitActuatorPSR.h:73
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
Definition: readerWriterRegistry.h:39
#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
DtRwReal myGeostationaryLongitude
Definition: orbitActuatorPSR.h:70
DtRwString myOrbitMode
Either &quot;kepler&quot; or &quot;geostationary&quot;.
Definition: orbitActuatorPSR.h:68
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
DtOrbitActuatorPSR is a process state repository which holds state variables for the DtOrbitActuator ...
Definition: orbitActuatorPSR.h:18
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
DtRwKeplerOrbitalElements myKeplerOrbitalElements
Definition: orbitActuatorPSR.h:69
virtual DtString type() const =0
Returns the string type of the repository, as defined in psrTypes.h.
DtOrbitMode
Definition: rwKeplerOrbitalElements.h:18
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)