VR-Forces 5.0.1 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();
48 
51  virtual const char* type() const;
52 
54  virtual void tick();
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();
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
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:49
Definition: readerWriterRegistry.h:39
virtual const char * type() const =0
Returns a string identifies the class type of component. Type values are defined in compTypes...
DtPlatformLocalObjectFacade myPlatformLocalObjectFacade
Member to allow for access to platform specific data.
Definition: turretAimController.h:96
File: turBalGunPSR.h.
Definition: vrfTurretedBalGunPSR.h:26
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 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:33
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:89
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:70
Contains class declarations for DtAnalogInputPort, DtAnalogOutputPort, and DtAnalogPortData.
Definition: analogIOPort.h:25
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)