VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
orbitActuator.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1999 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: myActuator.h,v $ $Revision: 190639 $ $State: Exp $
7 *******************************************************************************/
8 
9 #ifndef DtOrbitActuator_H_
10 #define DtOrbitActuator_H_
11 
14 #include "vrfutil/SGP4.h"
15 
16 class DtOrbitActuatorPSR;
17 
19 {
20 public:
21 
22  //constructor
23  DtOrbitActuator(const DtString& name, DtVrfObject* object,
24  DtSimManager* simManager, DtComponentDescriptor* compDescriptor,
25  DtReaderWriterRegistry* parentRegistry = 0);
26 
27  //destructor
28  virtual ~DtOrbitActuator();
29 
30  //Perform any initialization required by the actuator
31  virtual bool init();
32 
33  //Returns a string from compTypes.h, identifying the type of component
34  virtual const char* type() const;
35 
36  //Calculate new kinematic state, and copy it to state repository
37  virtual void tick();
38 
39 protected:
40  virtual bool createPSR();
41 
42  static void setOrbitCallback(DtSimMessage * msg, void * usr);
43  virtual void processSetOrbit(DtSimMessage* msg);
44 
45 public:
46 
47  //Creator function to be registered with the DtSimComponentFactory --
48  //see main.cxx
49  static DtSimComponent* creator(const DtString& name, DtVrfObject* object,
50  DtSimManager* simManager, DtComponentDescriptor* compDescriptor,
51  DtReaderWriterRegistry* parentRegistry);
52 
53 protected:
58 
62 };
63 
64 #endif
65 
66 

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)