VR-Forces 5.0.1 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();
36 
38  virtual const DtSetMessageType& type() const;
39 
41  virtual DtSetDataRequest * clone(const DtString & name,
42  DtReaderWriterRegistry * parentRegistry = 0) const;
43 
45  virtual DtString stringRep() const;
46 
47  virtual DtOrbitMode orbitMode() const;
48  virtual void setOrbitMode(DtOrbitMode mode);
49 
50  virtual DtRwKeplerOrbitalElements& orbitalElements();
51  virtual const DtRwKeplerOrbitalElements& orbitalElements() const;
52 
53  virtual double geostationaryLongitude() const;
54  virtual void setGeostationaryLongitude(double longitude);
55 
58  virtual int netRepSize() const;
59 
61  virtual bool setFromNet(const char* contentBuffer,
62  unsigned contentSize);
63 
66  virtual bool setToNet();
67 
68  static DtSetDataRequest * creator();
69 
70 protected:
74 };
DtRwKeplerOrbitalElements myOrbitalElements
Definition: setOrbit.h:72
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:73
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:71
#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 Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)