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 
12 
15 
28 {
29 public:
32  DtSimulationServices * simManager, DtComponentDescriptor* desc = NULL,
33  DtReaderWriterRegistry * parentRegistry = 0);
34 
36  virtual ~DtAggregateIndirectFireController() override;
37 
38 private:
41 
44 
45 public:
46  virtual const char* type() const override;
47 
49  virtual bool init() override;
50 
51  virtual void preFirstTickInit() 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 
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
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.
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
virtual bool init() override
Calls setRadio()
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 from ...
This controller enables specific lua scripts (by script ID) that would normally not be enabled for th...
Definition: scriptEnableController.h:23
This controller supports the use of Indirect-Fire-Power state properties for a specific weapon by the...
Definition: aggregateIndirectFireController.h:27
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:96
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 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 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)