VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
integratedLaserGuidedLauncherController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
14 
18 
23 
30 {
31 private:
38 
39 public:
40 
44  DtSimulationServices* simManager, DtComponentDescriptor* compDesc = nullptr,
45  DtReaderWriterRegistry* parentRegistry = nullptr);
46 
49 
52  virtual const char* type() const override;
53 
55  //Initialize weapon component interface.
56  virtual bool init() override;
57 
61  static DtSimComponent * creator(const DtString& name,
62  DtLocalObject* owner,
63  DtSimulationServices* simManager,
64  DtComponentDescriptor* desc = nullptr,
65  DtReaderWriterRegistry* parentRegistry = nullptr);
66 
67 protected:
68 
69  virtual bool createPorts() override;
70  virtual DtWeaponInfoInterface::TargetApplicability targetApplicability(const DtEntityType& type);
71 
78  const DtRwLocationReference& targetLocation,
79  DtEntityType& munitionTypeOut,
81 
82 protected:
83 
85 
87 
89 
90 };
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtEntityListOutputPort * myTargetListOutputPort
Definition: integratedLaserGuidedLauncherController.h:86
DtTargetApplicability
Applicability tier of a weapon against a given target type.
Definition: targetApplicability.h:19
End User Description: This is a derived version of DtLaserGuidedLauncherController that can send targ...
Definition: integratedLaserGuidedLauncherController.h:29
DtEntityTargetInformation * myCurrentMissileTarget
Definition: integratedLaserGuidedLauncherController.h:88
virtual bool bestMunitionForTargetNoSideEffects(const DtRwLocationReference &targetLocation, DtEntityType &munitionTypeOut, DtGenericWeaponInfo::MunitionEvaluationReasons &reasonsOut) const
Side-effect-free query used by DtGenericWeaponInfo::bestMunitionForTarget() (and hence by the auto-se...
virtual bool createPorts() override
Called by init. Derived classes should override this method to create all their input/output ports an...
Holds a position of some form. May be an absolute position, or a reference to another object...
Definition: rwLocationReference.h:25
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:49
DtLaserGuidedLauncherController & operator=(const DtLaserGuidedLauncherController &orig)
Not implemented.
Definition: readerWriterRegistry.h:39
Definition: entityTargetInformation.h:28
Instances of DtEntityListOutputPort are output ports through which data producers can send a list of ...
Definition: entListIOPort.h:45
virtual bool init() override
Initialize the component. Calls createPSR() and registerRadioMessageCallbacks()
std::map< DtEntityType, DtString > MunitionEvaluationReasons
Maps each evaluated munition type to a human-readable reason string. Selected munition maps to &quot;selec...
Definition: genericWeaponInfo.h:35
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:97
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:89
virtual const char * type() const override
Returns a string identifies the class type of component. Type values are defined in compTypes...
End User Description: This is a missile launcher controller/actuator combination (does not need to be...
Definition: laserGuidedLauncherController.h:39
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc=nullptr, DtReaderWriterRegistry *parentRegistry=nullptr)
DtIntegratedLaserGuidedLauncherDescriptor, descriptor for the DtBallisticGunController component...
Definition: integratedLaserGuidedLauncherDescriptor.h:22
DtIntegratedLaserGuidedLauncherDescriptor * myDescriptor
Definition: integratedLaserGuidedLauncherController.h:84
Represents the interface between the DtTargetSelectionController and a weapon system.
Definition: weaponComponentInterface.h:20
A locally simulated VRF object.
Definition: localObject.h:98

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)