VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
launcherStowController.h
Go to the documentation of this file.
1 #pragma once
2 
4 #include <matrix/vlVector.h>
6 
10 
14 {
15 
16 public:
17 
21  DtLocalObject* owner,
22  DtSimulationServices* simManager,
23  DtComponentDescriptor* desc = nullptr,
24  DtReaderWriterRegistry* parentRegistry = nullptr);
25 
27  virtual ~DtLauncherStowController() override;
28 
31  virtual const char* type() const override;
32 
33  virtual void tick() override;
34 
35  virtual void findDesiredAzimuthAndElevation() override;
36 
40  static DtSimComponent * creator(const DtString& name,
41  DtLocalObject* owner,
42  DtSimulationServices* simManager,
43  DtComponentDescriptor* desc = nullptr,
44  DtReaderWriterRegistry* parentRegistry = nullptr);
45 
46 protected:
47  virtual bool createPorts() override;
48 
49 private:
52  DtLauncherStowController() = delete;
53 
56 
59  orig) = delete;
60 
61 protected:
67 
73 
75 };
76 
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtIntegerOutputPort * myStowStateOutputPort
Output Port Name: stowed-state Output Port Description: Stow state of the weapon. Output Port Range: ...
Definition: launcherStowController.h:66
Component descriptor for DtLauncherStowController Specifies the elevation and azimuth angle that the ...
Definition: launcherStowControllerDescriptor.h:12
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
Definition: readerWriterRegistry.h:39
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
virtual void tick() override
Calculate new control values.
const DtLauncherStowControllerDescriptor * myStowDescriptor
Definition: launcherStowController.h:74
Contains class declarations for DtBooleanInputPort, DtBooleanOutputPort, and DtBooleanPortData.
Definition: boolIOPort.h:25
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:96
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:89
virtual bool createPorts() override
Overridden to create mounting ports.
const DtBaseMountingController & operator=(const DtBaseMountingController &orig)
assignment operator; not implemented
DtBooleanInputPort * myStowCommandInputPort
Input Port Name: stow-command Input Port Description: Indicates if the controller should stow the wea...
Definition: launcherStowController.h:72
virtual void findDesiredAzimuthAndElevation()
Base fn (should be overridden): set desired az and el from parameter inputs.
Instances of DtIntegerOutputPort are output ports through which data producers can send integer value...
Definition: integerIOPort.h:45
virtual const char * type() const override
Returns a string identifies the class type of component. Type values are defined in compTypes...
DtBaseMountingController is a controller that generates the azimuth and elevation controls needed to ...
Definition: baseMountingController.h:36
DtLauncherStowController moves a weapon to the stow position when commanded to stow through a port...
Definition: launcherStowController.h:13
A locally simulated VRF object.
Definition: localObject.h:98

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)