VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
setOrbit.h
Go to the documentation of this file.
1 
4 #pragma once
5 
6 
7 #include <vlutil/vlNetTypes.h>
8 
17 {
18 public:
19 
21  DtSetOrbit();
22 
25  DtSetOrbit(const DtString & writeName,
26  DtReaderWriterRegistry * parentRegistry = 0);
27 
29  DtSetOrbit(const DtString & writeName, const DtSetOrbit &
30  orig, DtReaderWriterRegistry * parentRegistry = 0);
31 
33  const DtSetOrbit & operator=(const DtSetOrbit & orig);
34 
35  virtual ~DtSetOrbit() override;
36 
38  virtual const DtSetMessageType& type() const override;
39 
41  virtual DtSetDataRequest * clone(const DtString& name, DtReaderWriterRegistry* parentRegistry = 0) const override;
42 
44  virtual DtString stringRep() const override;
45 
46  virtual DtOrbitMode orbitMode() const;
47  virtual void setOrbitMode(DtOrbitMode mode);
48 
49  virtual DtRwKeplerOrbitalElements& orbitalElements();
50  virtual const DtRwKeplerOrbitalElements& orbitalElements() const;
51 
52  virtual double geostationaryLongitude() const;
53  virtual void setGeostationaryLongitude(double longitude);
54 
57  virtual int netRepSize() const override;
58 
60  virtual bool setFromNet(const char* contentBuffer, unsigned contentSize) override;
61 
64  virtual bool setToNet() override;
65 
66  static DtSetDataRequest * creator();
67 
68 protected:
72 };
DtRwKeplerOrbitalElements myOrbitalElements
Definition: setOrbit.h:70
virtual bool setToNet()
Sets netRep buffer to the contents of this set request. Base class does nothing and returns true...
DtRwKeplerOrbitalElements is a set of Kepler Orbital Elements describing an earth orbit...
Definition: rwKeplerOrbitalElements.h:31
DtRwReal myGeostationaryLongitude
Definition: setOrbit.h:71
Description: Readable, Writable DtString Variable substitutions are done on this object when it is re...
Definition: rwString.h:20
Definition: readerWriterRegistry.h:39
virtual int netRepSize() const
DtSetDataRequest is an abstract base class from which real setDataRequests can derive. It manages the read/write capability; derived classes need only use and register read/writatble data types for derived information.
Definition: setDataRequest.h:41
DtSetOrbit is used to specify the orbit of an entity that is following a Kepler orbit in space...
Definition: setOrbit.h:16
virtual const DtSetMessageType & type() const =0
What kind of setDataRequest am I? (from radioMsgTypes.h). Returns a string representing the kind of d...
virtual DtSetDataRequest * clone(const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const =0
Make a copy of this request. Returns a pointer to a newly created copy of this data request...
const DtSetDataRequest & operator=(const DtSetDataRequest &orig)
assignment operator; same as copy costructor.
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Sets the contents of this set request based on the network buffer. Base class does nothing and return...
DtRwString myOrbitMode
Definition: setOrbit.h:69
#define DT_DLL_vrftasks
This file is used to determine how to build.
Definition: vrftasksDefines.h:26
Description: Readable, Writable DtReal (double)
Definition: rwReal.h:27
virtual DtString stringRep() const =0
Get a readable string representation of this setDataRequest. Returns a human readable string represen...
const char int mode
Definition: ioapi.h:38
DtOrbitMode
Definition: rwKeplerOrbitalElements.h:18

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)