VR-Forces 4.8 Class Documentation
 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  DtSimManager * 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, DtVrfObject* owner,
64  DtSimManager * 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
DtVrfObject is used to represent any type of simulated object (entities, aggregate, control objects) in a VR-Forces application.
Definition: vrfObject.h:215
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.
static DtSimComponent * creator(const DtString &name, DtVrfObject *owner, DtSimManager *simManager, DtComponentDescriptor *desc, DtReaderWriterRegistry *parentRegistry)
This is called by the factory.
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:42
Definition: readerWriterRegistry.h:39
This class represents the data gathered by a sensor about a particular single sensor contact...
Definition: rwSensorContactInfo.h:67
virtual bool init()
Calls setRadio()
virtual void tick()
This gives the thread of control to the component.
This controller enables specific lua scripts (by script ID) that would normally not be enabled for th...
Definition: scriptEnableController.h:21
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
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
DtAggregateIndirectFireControllerDescriptor is a DtComponentDescriptor that has additional informatio...
Definition: aggregateIndirectFireControllerDescriptor.h:19
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)