VR-Forces 5.0.3 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 
37 
38 private:
41 
44 
45 public:
46  virtual const char* type() const;
47 
49  virtual bool init();
50 
51  virtual void preFirstTickInit();
52 
53  virtual void tick();
54 
57 
59  static DtReaderWriter* provideAvailablePostures(void* ctrlr);
61 
63  static DtSimComponent* creator(const DtString & name, DtLocalObject* owner,
64  DtSimulationServices * simManager, DtComponentDescriptor* desc,
65  DtReaderWriterRegistry * parentRegistry);
66 
67 protected:
68  virtual const DtAggregateIndirectFireControllerDescriptor* getDescriptor();
70 };
71 
#define DT_DLL_vrfmodel
This file is used to determine how to build.
Definition: vrfmodelDefines.h:24
virtual const char * type() const
This returns a string from compTypes.h, and identifies the type of component.
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()
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:69
Central access point of all non-object-specific the services and managers that are available for use ...
Definition: simulationServices.h:90
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:70
DtAggregateIndirectFireControllerDescriptor is a DtComponentDescriptor that has additional informatio...
Definition: aggregateIndirectFireControllerDescriptor.h:19
A locally simulated VRF object. Holds all internal and external data for the object, and provides access to both the current frame and next frame state data for the object. All current frame data is read-only, and next-frame data can be written to. No thread safety guarantees are made on this object during the simulation frame and it should only be accessed by the thread that is simulating the object.
Definition: localObject.h:86

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)