VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
nbcWeaponController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
12 #include "vlutil/vlString.h"
14 
16 
21 {
22 public:
24  DtNbcWeaponController(const DtString & name, DtVrfObject* owner,
25  DtSimManager * simManager, DtComponentDescriptor* desc = NULL,
26  DtReaderWriterRegistry * parentRegistry = 0);
27 
29  virtual ~DtNbcWeaponController();
30 
31 private:
34 
37 
38 public:
39  virtual const char* type() const;
40 
41  virtual void preFirstTickInit();
42 
45  virtual const DtNbcWeaponControllerDescriptor* getDescriptor() const;
46 
48  static DtSimComponent* creator(const DtString & name, DtVrfObject* owner,
49  DtSimManager * simManager, DtComponentDescriptor* desc,
50  DtReaderWriterRegistry * parentRegistry);
51 
55  static DtReaderWriter* provideWeaponRange(void* controller);
56  static DtReaderWriter* provideContaminationRadius(void* controller);
57  static DtReaderWriter* provideAmmunitionPerAttack(void* controller);
59 
60 protected:
62 
63 };
64 
#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
This controller enables tasks and set commands that allow an entity to create NBC contaminated areas...
Definition: nbcWeaponController.h:20
Definition: readerWriterRegistry.h:39
const DtNbcWeaponControllerDescriptor * myNbcWeaponDesc
Definition: nbcWeaponController.h:61
This controller enables specific lua scripts (by script ID) that would normally not be enabled for th...
Definition: scriptEnableController.h:21
*array controller(no time code)*/template< class Instance
//!//!//!//!//!//!//!//!//!//!//!//
The DtSimComponent class is the base class for the entire simulation model component hierarchy...
Definition: simComponent.h:67
The simulation engine is controlled by a single,top-level class called the Simulation Manager...
Definition: simManager.h:102
DtNbcWeaponControllerDescriptor is a DtComponentDescriptor that has additional information needed for...
Definition: nbcWeaponControllerDescriptor.h:19

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)