VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
aggregateIndirectFireController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
13 
14 
17 
30 {
31 public:
34  DtSimulationServices * simManager, DtComponentDescriptor* desc = NULL,
35  DtReaderWriterRegistry * parentRegistry = 0);
36 
38  virtual ~DtAggregateIndirectFireController() override;
39 
40 private:
43 
46 
47 public:
48  virtual const char* type() const override;
49 
51  virtual bool init() override;
52 
53  virtual void tick() override;
54 
57 
59  static DtReaderWriter* provideAvailablePostures(void* ctrlr);
60 
62  static DtReaderWriter* provideRange(void* ctrlr);
64 
66  static DtSimComponent* creator(const DtString & name, DtLocalObject* owner,
67  DtSimulationServices * simManager, DtComponentDescriptor* desc,
68  DtReaderWriterRegistry * parentRegistry);
69 
70 protected:
71  virtual const DtAggregateIndirectFireControllerDescriptor* getDescriptor();
73 
74  virtual DtString weaponName() const override;
75  virtual void setIndirectPowerBindings(DtRwPropertiesStructure& power) override;
76 };
77 
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
DtAggregateWeaponPowerController & operator=(const DtAggregateWeaponPowerController &orig)
Not implemented.
Definition: readerWriter.h:85
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 class represents the data gathered by a sensor about a particular single sensor contact...
Definition: rwSensorContactInfo.h:68
This abstract controller supports the use of Indirect-Fire-Power state properties for a specific weap...
Definition: aggregateWeaponPowerController.h:20
virtual bool init() override
Calls setRadio()
A structure composed of distinct fields, each of which is itself a property. The DtRwPropertiesStruct...
Definition: rwPropertiesStructure.h:21
virtual void setIndirectPowerBindings(DtRwPropertiesStructure &power)=0
static DtSimComponent * creator(const DtString &name, DtLocalObject *owner, DtSimulationServices *simManager, DtComponentDescriptor *desc, DtReaderWriterRegistry *parentRegistry)
This is called by the factory.
virtual void tick()
This gives the thread of control to the component. The component is ticked once each simulation frame...
This controller supports the use of Indirect-Fire-Power state properties for a specific weapon by the...
Definition: aggregateIndirectFireController.h:29
const DtAggregateIndirectFireControllerDescriptor * myIndirectFireDesc
Definition: aggregateIndirectFireController.h:72
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
DtAggregateIndirectFireControllerDescriptor is a DtComponentDescriptor that has additional informatio...
Definition: aggregateIndirectFireControllerDescriptor.h:19
virtual DtString weaponName() const =0
virtual const char * type() const override
This returns a string from compTypes.h, and identifies the type of component.
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)