VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
aggregateWeaponPowerController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2026 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
14 
21 {
22 public:
25  DtComponentDescriptor* desc = NULL, DtReaderWriterRegistry* parentRegistry = 0);
26 
28  virtual ~DtAggregateWeaponPowerController() override;
29 
30 private:
33 
36 
37 public:
38 
39  virtual void preFirstTickInit() override;
40  virtual bool postAddComponentsInit() override;
41 
42 
43 protected:
46  void updateIndirectFirePower(bool overwriteExistingValues);
47 
48  virtual DtString weaponName() const = 0;
49  virtual void setIndirectPowerBindings(DtRwPropertiesStructure& power) = 0;
50 };
51 
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
virtual bool postAddComponentsInit() override
Calls enableTaskTypes()
virtual void preFirstTickInit()
This function can be overridden to initialize a component before it is ticked for the first time...
DtScriptEnableController & operator=(const DtScriptEnableController &orig)
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
This abstract controller supports the use of Indirect-Fire-Power state properties for a specific weap...
Definition: aggregateWeaponPowerController.h:20
A structure composed of distinct fields, each of which is itself a property. The DtRwPropertiesStruct...
Definition: rwPropertiesStructure.h:21
Defines the DtRwPropertiesStructure class, a structure containing fields, which are themselves proper...
This controller enables specific lua scripts (by script ID) that would normally not be enabled for th...
Definition: scriptEnableController.h:23
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:97
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)