VR-Forces 4.8 Class Documentation
 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 
16 
17 class DtString;
18 class DtSimManager;
19 class DtAnalogInputPort;
21 
22 
33 {
34 
35 public:
36 
39  DtTurretAimController(const DtString& name,
40  DtVrfObject* owner,
41  DtSimManager* simManager,
42  DtComponentDescriptor* desc = 0,
43  DtReaderWriterRegistry* parentRegistry = 0);
44 
46  virtual ~DtTurretAimController();
47 
50  virtual const char* type() const;
51 
53  virtual void tick();
54 
58  static DtSimComponent * creator(const DtString& name,
59  DtVrfObject* owner,
60  DtSimManager* simManager,
61  DtComponentDescriptor* desc = 0,
62  DtReaderWriterRegistry* parentRegistry = 0);
63 
64 protected:
65 
67  virtual bool createPorts();
68 
69 protected:
70 
73 
76 
79  orig);
80 
81 protected:
82 
85 
91 
93 };
94 
#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
const DtTurretSlewController & operator=(const DtTurretSlewController &orig)
assignment operator; not implemented
virtual bool createPorts()
Called by init to create the ports.
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
virtual const char * type() const =0
Returns a string identifies the class type of component.
File: turBalGunPSR.h.
Definition: vrfTurretedBalGunPSR.h:26
DtAnalogInputPort * myAimAzimuthInputPort
Input Port Name: aim-azimuth Input Port Description: Azimuth at which to aim, in radians.
Definition: turretAimController.h:90
virtual void tick()
Deriving controllers should call this FIRST in their tick to ensure that parameter values have been l...
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:32
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
Contains class declarations for DtAnalogInputPort, DtAnalogOutputPort, and DtAnalogPortData.
Definition: analogIOPort.h:25
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102

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)