VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
aggregateReleaseBombController.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 
24 {
25 public:
28  DtSimulationServices * simManager, DtComponentDescriptor* desc = NULL,
29  DtReaderWriterRegistry * parentRegistry = 0);
30 
33 
34 private:
37 
40 
41 public:
42  virtual const char* type() const;
43 
45  virtual bool init();
46 
49  virtual void preFirstTickInit();
50 
51  virtual void tick();
52 
55 
58  static DtReaderWriter* provideCanBeRadarJammed(void* ctrlr);
59 
61  static DtReaderWriter* provideJammingDefenseFactor(void* ctrlr);
62 
64  static DtReaderWriter* provideMaxRange(void* ctrlr);
65 
67  static DtReaderWriter* provideAvailablePostures(void* ctrlr);
68 
70  static DtReaderWriter* provideWeaponName(void* ctrlrl);
72 
74  static DtSimComponent* creator(const DtString & name, DtLocalObject* owner,
75  DtSimulationServices * simManager, DtComponentDescriptor* desc,
76  DtReaderWriterRegistry * parentRegistry);
77 
78 protected:
79  virtual const DtAggregateReleaseBombControllerDescriptor* getDescriptor();
80 
82 };
83 
#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
This controller supports the use of Indirect-Fire-Power state properties for a specific weapon by the...
Definition: aggregateReleaseBombController.h:23
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 ...
const DtAggregateReleaseBombControllerDescriptor * myReleaseBombDesc
Definition: aggregateReleaseBombController.h:81
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:89
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:70
DtAggregateReleaseBombControllerDescriptor is a DtComponentDescriptor that has additional information...
Definition: aggregateReleaseBombControllerDescriptor.h:23
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 Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)