VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
parabolicTrajectoryActuator.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
13 #include <vlpi/disEnums.h>
15 
16 #include <matrix/vlVector.h>
17 
18 class DtString;
22 class DtSimMessage;
23 
31 {
32 
33 public:
34 
38  DtVrfObject* owner,
39  DtSimManager* simManager,
40  DtComponentDescriptor* desc = 0,
41  DtReaderWriterRegistry* parentRegistry = 0);
42 
45 
47  virtual void computeTrajectory(double& a_coefficient,
48  double& b_coefficient,
49  double& c_coefficient,
50  double& flight_time,
51  double& distance,
52  double& apogee,
53  DtVector& nedVector);
54 
59  virtual bool init();
60 
66  virtual void processWarheadInfoCallback(DtSimMessage* msg);
67 
69  virtual bool registerRadioMessageCallbacks();
70 
73  virtual const char* type() const;
74 
76  virtual void tick();
77 
81  static DtSimComponent * creator(const DtString& name,
82  DtVrfObject* owner,
83  DtSimManager* simManager,
84  DtComponentDescriptor* desc = 0,
85  DtReaderWriterRegistry* parentRegistry = 0);
86 
88  static void setWarheadInfoCallback(DtSimMessage* msg, void* usr);
89 
90 protected:
91 
97  virtual bool createPSR();
98 
99 protected:
100 
103 
106 
110 
111 
112 protected:
113 
115 
119 
122 
123 };
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
Description: This repository holds all information that is common to all the forms of all objects wit...
Definition: vrfMovingObjectStateRepository.h:26
const DtParabolicTrajectoryActuatorDescriptor * pMyParabolicTrajectoryActuatorDesc
Cast.
Definition: parabolicTrajectoryActuator.h:121
const DtActuatorComponent & operator=(const DtActuatorComponent &orig)
assignment operator
virtual bool init()
Overridden to cache a pointer to the entity&#39;s radio in this class.
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
Definition: readerWriterRegistry.h:39
End User Description: DtActuator is the base class for all actuator model components.
Definition: actuatorComponent.h:48
DtParabolicTrajectoryPSR * myProcessState
Container for state data associated with this component.
Definition: parabolicTrajectoryActuator.h:118
DT_DLL_VRVCORE double distance(const makVrv::DtCoordinateSystem &, const DtVector &from, const DtVector &to)
Returns the distance from the two points.
File: simMsg.h.
Definition: simMessage.h:35
virtual void tick()
This gives the thread of control to the component.
DtParabolicTrajectoryActuatorDescriptor; descriptor for the DtParabolicTrajectoryActuator component...
Definition: parabolicTrajectoryActuatorDescriptor.h:22
DtParabolicTrajectoryActuator is a kinematics-based model of a missile system that converts steering ...
Definition: parabolicTrajectoryActuator.h:30
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102
class DtParabolicTrajectoryPSR:
Definition: parabolicTrajectoryPSR.h:23
DtVrfMovingObjectStateRepository * myMovingObjectState
Definition: parabolicTrajectoryActuator.h:114
virtual const char * type() const =0
Returns a string identifies the class type of component.

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)