VR-Forces 4.8 Class Documentation
 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 
16 
21 
27 {
28 private:
35 
36 public:
37 
41  DtSimManager* simManager, DtComponentDescriptor* compDesc = 0,
42  DtReaderWriterRegistry* parentRegistry = 0);
43 
46 
49  virtual const char* type() const;
50 
52  //Initialize weapon component interface.
53  virtual bool init();
54 
56  virtual void tick();
57 
59  virtual bool fireMunition(DtReflectedDesignator* target);
60 
64  static DtSimComponent * creator(const DtString& name,
65  DtVrfObject* owner,
66  DtSimManager* simManager,
67  DtComponentDescriptor* desc = 0,
68  DtReaderWriterRegistry* parentRegistry = 0);
69 
70 protected:
71 
72  virtual bool createPorts();
73 
74 protected:
75 
77 
79 
81 
83 
84 };
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtEntityListOutputPort * myTargetListOutputPort
Definition: integratedLaserGuidedLauncherController.h:80
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
End User Description: This is a derived version of DtLaserGuidedLauncherController that can send targ...
Definition: integratedLaserGuidedLauncherController.h:26
DtEntityTargetInformation * myCurrentMissileTarget
Definition: integratedLaserGuidedLauncherController.h:82
virtual void tick()
Tick Function.
A readable, writable type whose name is the name of a component and that has a list of component name...
Definition: componentDescriptor.h:42
DtLaserGuidedLauncherController & operator=(const DtLaserGuidedLauncherController &orig)
Not implemented.
Definition: readerWriterRegistry.h:39
Definition: entityTargetInformation.h:28
virtual bool createPorts()
Called by init.
virtual const char * type() const
Returns a string identifies the class type of component.
Instances of DtEntityListOutputPort are output ports through which data producers can send a list of ...
Definition: entListIOPort.h:43
virtual bool fireMunition(DtReflectedDesignator *target)
Does all actions for creating and firing the munition.
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
static DtSimComponent * creator(const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc=0, DtReaderWriterRegistry *parentRegistry=0)
DtWeaponComponentInterface * myWeaponComponentInterface
Definition: integratedLaserGuidedLauncherController.h:78
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102
End User Description: This is a missile launcher controller/actuator combination (does not need to be...
Definition: laserGuidedLauncherController.h:28
DtIntegratedLaserGuidedLauncherDescriptor, descriptor for the DtBallisticGunController component...
Definition: integratedLaserGuidedLauncherDescriptor.h:21
DtIntegratedLaserGuidedLauncherDescriptor * myDescriptor
Definition: integratedLaserGuidedLauncherController.h:76
Represents the interface between the DtTargetSelectionController and a weapon system.
Definition: weaponComponentInterface.h:21
virtual bool init()
Initialize the component.

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)