VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
turretAimController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
14 
17 
18 class DtString;
20 class DtAnalogInputPort;
22 
23 
34 {
35 
36 public:
37 
40  DtTurretAimController(const DtString& name,
41  DtLocalObject* owner,
42  DtSimulationServices* simManager,
43  DtComponentDescriptor* desc = 0,
44  DtReaderWriterRegistry* parentRegistry = 0);
45 
47  virtual ~DtTurretAimController() override;
48 
51  virtual const char* type() const override;
52 
54  virtual void tick() override;
55 
59  static DtSimComponent * creator(const DtString& name,
60  DtLocalObject* owner,
61  DtSimulationServices* simManager,
62  DtComponentDescriptor* desc = 0,
63  DtReaderWriterRegistry* parentRegistry = 0);
64 
65 protected:
66 
68  virtual bool createPorts() override;
69 
70 protected:
71 
74 
77 
80  orig);
81 
82 protected:
83 
86 
92 
94 
97 };
98 
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
const DtTurretSlewController & operator=(const DtTurretSlewController &orig)
assignment operator; not implemented
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
DtPlatformLocalObjectFacade myPlatformLocalObjectFacade
Member to allow for access to platform specific data.
Definition: turretAimController.h:96
File: turBalGunPSR.h.
Definition: vrfTurretedBalGunPSR.h:26
virtual bool createPorts() override
Called by init to create the ports.
DtAnalogInputPort * myAimAzimuthInputPort
Input Port Name: aim-azimuth Input Port Description: Azimuth at which to aim, in radians. Input Port Range: -pi to pi Input Port Default Value: 0 .
Definition: turretAimController.h:91
virtual const char * type() const override=0
Returns a string identifies the class type of component. Type values are defined in compTypes...
DtTurretSlewController is a controller that has those capabilities common to all controllers that man...
Definition: turretSlewController.h:43
DtTurretAimController attempts to slew the turret to track a target point.
Definition: turretAimController.h:33
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
Contains class declarations for DtAnalogInputPort, DtAnalogOutputPort, and DtAnalogPortData.
Definition: analogIOPort.h:25
virtual void tick() override
Deriving controllers should call this FIRST in their tick to ensure that parameter values have been l...
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)