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();
34 
37  const DtString& rwName = DtString::nullString(),
38  DtReaderWriterRegistry* parentRegistry = 0) const;
39 
41  virtual DtString type() const;
42 
44  static DtVrfProcessStateRepository* creator(const DtString& rwName,
45  DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry = 0);
46 
47  virtual DtOrbitMode orbitMode() const;
48  virtual void setOrbitMode(const DtOrbitMode value);
49 
50  virtual const DtRwKeplerOrbitalElements& keplerOrbitalElements() const;
51  virtual DtRwKeplerOrbitalElements& keplerOrbitalElements();
52  virtual bool keplerOrbitalElementsSpecified() const;
53  virtual void setKeperOrbitalElementsSpecified(bool v);
54 
55  virtual double geostationaryLongitude() const;
56  virtual void setGeostationaryLongitude(double value);
57  virtual bool geostationaryLongitudeSpecified() const;
58  virtual void setGeostationaryLongitudeSpecified(bool v);
59 
60 protected:
62 
63  virtual void prePutSelf();
64  virtual void postGetSelf();
66 
67 protected:
72 
75 };
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:74
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:71
DtRwString myOrbitMode
Either &quot;kepler&quot; or &quot;geostationary&quot;.
Definition: orbitActuatorPSR.h:69
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:70
virtual DtString type() const =0
Returns the string type of the repository, as defined in procSRTypes.h.
DtOrbitMode
Definition: rwKeplerOrbitalElements.h:18
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 Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)